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 BC759138353 for ; Wed, 5 Feb 2020 21:28:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0566AE088D; Wed, 5 Feb 2020 21:28:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 CCA36E088D for ; Wed, 5 Feb 2020 21:28:25 +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 1BA6334E7C5 for ; Wed, 5 Feb 2020 21:28:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02AF011D for ; Wed, 5 Feb 2020 21:28:21 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1580938054.5317fc865771edba8533c72494dfa2f6f3cd1a37.asturm@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.4.ebuild X-VCS-Directories: dev-python/semantic_version/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 5317fc865771edba8533c72494dfa2f6f3cd1a37 X-VCS-Branch: master Date: Wed, 5 Feb 2020 21:28:21 +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: be7b401e-293b-4ba3-9f75-c243e82805c6 X-Archives-Hash: aafc07119f1f0405a9f068bfb9fa67d9 commit: 5317fc865771edba8533c72494dfa2f6f3cd1a37 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Feb 4 20:58:33 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Feb 5 21:27:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5317fc86 dev-python/semantic_version: 2.8.4 version bump, python3_8 Tests passed. Package-Manager: Portage-2.3.87, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/semantic_version/Manifest | 1 + .../semantic_version/semantic_version-2.8.4.ebuild | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/semantic_version/Manifest b/dev-python/semantic_version/Manifest index 073d02691b2..610a9ed5b05 100644 --- a/dev-python/semantic_version/Manifest +++ b/dev-python/semantic_version/Manifest @@ -1 +1,2 @@ DIST semantic_version-2.8.2.tar.gz 49243 BLAKE2B 73c66696b2fd6e30dc74bba6f1d4d84d71bf470f8ecd2ab93b4225f573bb0575f797b573d8fa6605ff35636de713a8f69522a2719949cf0bfebd0791ab5bae99 SHA512 f54ad2bb2e8392e154718c3dff8e7a7fa7663d7df0ab4b196444e0ad22440fe9d9a3abe9043824c0e0121f9051121b8c9d67f76a615aa5348c321e217b3a5dcd +DIST semantic_version-2.8.4.tar.gz 49774 BLAKE2B 30dc1bbca9e24db993e2c9eae2ba05e7a102ba8baae10bc49640d74a3fe9ff943b7606b7c7cbad3d7b25d65a10df7ab587179b5a9bfe73822eb62b945074db23 SHA512 2ed9a8ae03384731865c0b160a9bc92f9c877b610a4ecf15c30969886f15e7cdf77cf384997f96126a8a77534e032c70f587c835fe288fe4ab3e9e2061cb6f47 diff --git a/dev-python/semantic_version/semantic_version-2.8.4.ebuild b/dev-python/semantic_version/semantic_version-2.8.4.ebuild new file mode 100644 index 00000000000..a390c08f655 --- /dev/null +++ b/dev-python/semantic_version/semantic_version-2.8.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) +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=" + 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}" +}