From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03648138335 for ; Fri, 4 Oct 2019 11:14:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDA1BE0886; Fri, 4 Oct 2019 11:14:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93052E0886 for ; Fri, 4 Oct 2019 11:14:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7C7534B8F7 for ; Fri, 4 Oct 2019 11:14:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3173B7E7 for ; Fri, 4 Oct 2019 11:14:09 +0000 (UTC) From: "Alexey Shvetsov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexey Shvetsov" Message-ID: <1570187313.7240e9705ead2de7cfbb866378225910184ef7bf.alexxy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/semantic_version/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/semantic_version/Manifest dev-python/semantic_version/semantic_version-2.8.2.ebuild X-VCS-Directories: dev-python/semantic_version/ X-VCS-Committer: alexxy X-VCS-Committer-Name: Alexey Shvetsov X-VCS-Revision: 7240e9705ead2de7cfbb866378225910184ef7bf X-VCS-Branch: master Date: Fri, 4 Oct 2019 11:14:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 84da1a2a-814e-4938-af09-7aa4703f1bf8 X-Archives-Hash: d535daa7d7b4486183e83851543d416f commit: 7240e9705ead2de7cfbb866378225910184ef7bf Author: Alexey Shvetsov gentoo org> AuthorDate: Fri Oct 4 11:08:33 2019 +0000 Commit: Alexey Shvetsov gentoo org> CommitDate: Fri Oct 4 11:08:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7240e970 dev-python/semantic_version: version bump Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Alexey Shvetsov gentoo.org> dev-python/semantic_version/Manifest | 1 + .../semantic_version/semantic_version-2.8.2.ebuild | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/semantic_version/Manifest b/dev-python/semantic_version/Manifest index 1ab9250db4f..476e9e6d104 100644 --- a/dev-python/semantic_version/Manifest +++ b/dev-python/semantic_version/Manifest @@ -1,2 +1,3 @@ DIST semantic_version-2.6.0-1.tar.gz 31678 BLAKE2B 030189762a11559fee8527bf1735fbc596caa4e641b61fdce90e1c1cd6e7a3e957aad13dabb2d90ade2f91028c5a7f35c39c1a9d47afd76d3274c2b755f2b14a SHA512 18db9279c2728565b13362c54bedbf569f0878cbe6bb58e631d87ffe7cff7d9131a30a2592cbf511091c03e854851159bbb298fe7469f53e8a2d92cf26ab4d0b DIST semantic_version-2.6.0.tar.gz 13919 BLAKE2B 811b3bfdb8ffc4cf8358400da1f18d5d0851c2999ff7df73fc0380e508b4039ce760dcf9d438bbb5d112ff1754b1855b3e062652b28be7f607516d8d017b9830 SHA512 805449e7219aaa59d28cc267c27a6abab5cbbbfd52c72d66f24bcace39c9f864e4ed944a3dc614e14a700a5bc92272fa6420312f3169b01a4cfd9ddf3ffb42d6 +DIST semantic_version-2.8.2.tar.gz 49243 BLAKE2B 73c66696b2fd6e30dc74bba6f1d4d84d71bf470f8ecd2ab93b4225f573bb0575f797b573d8fa6605ff35636de713a8f69522a2719949cf0bfebd0791ab5bae99 SHA512 f54ad2bb2e8392e154718c3dff8e7a7fa7663d7df0ab4b196444e0ad22440fe9d9a3abe9043824c0e0121f9051121b8c9d67f76a615aa5348c321e217b3a5dcd diff --git a/dev-python/semantic_version/semantic_version-2.8.2.ebuild b/dev-python/semantic_version/semantic_version-2.8.2.ebuild new file mode 100644 index 00000000000..3a276518e2d --- /dev/null +++ b/dev-python/semantic_version/semantic_version-2.8.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="Python library providing a few tools handling SemVer in Python" +HOMEPAGE="https://pypi.org/project/semantic_version/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" +#SRC_URI="https://github.com/rbarrois/python-semanticversion/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" +RESTRICT="!test? ( test )" + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # The django test hangs + pytest -vv --ignore tests/test_django.py\ + || die "tests failed with ${EPYTHON}" +}