summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-13 07:56:18 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-13 09:18:43 +0200
commit144c0f86f97a29c711d30501ecbb7b052998398b (patch)
tree1f15c7cbc81ff8cc6e401c1538538e79c140118f /dev-python/versioningit
parentdev-python/hypothesis: Bump to 6.47.2 (diff)
downloadgentoo-144c0f86f97a29c711d30501ecbb7b052998398b.tar.gz
gentoo-144c0f86f97a29c711d30501ecbb7b052998398b.tar.bz2
gentoo-144c0f86f97a29c711d30501ecbb7b052998398b.zip
dev-python/versioningit: Bump to 2.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/versioningit')
-rw-r--r--dev-python/versioningit/Manifest1
-rw-r--r--dev-python/versioningit/versioningit-2.0.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest
index 506a3db07dbc..7e7d6b307baf 100644
--- a/dev-python/versioningit/Manifest
+++ b/dev-python/versioningit/Manifest
@@ -1 +1,2 @@
DIST versioningit-1.1.1.tar.gz 678420 BLAKE2B 9829214f1f8bcea1733926667bac222c5cf34a03808f96b13389d78453da4613b4b6aeee79d0d756a70aae473496f44d4d191da65f50474d7c8222cae05153ea SHA512 4bcb4253198207d5dbb99358e823cd404f98fd9f265e0801c92a2f220241637cffa8bfc8184a1754b45353423e1bde1a5e5019876acce9536ad658289a638852
+DIST versioningit-2.0.0.tar.gz 735138 BLAKE2B 59247c0a2ec85f828b1b36c7f7ff6981fdd430b242c262f7325586e8ab35410083e0a795e72204c9ad9c0c50bb02c047f8baa01c556f74d69a8ddfc9e911474b SHA512 d700e25f3b58efd87943a950ede66ad8814e3aeea1927bb68b51312a636684b16695c44492f4357595305a5a85a3fc8c411d80a02e9b157162844d731dcab93f
diff --git a/dev-python/versioningit/versioningit-2.0.0.ebuild b/dev-python/versioningit/versioningit-2.0.0.ebuild
new file mode 100644
index 000000000000..392e4e954b30
--- /dev/null
+++ b/dev-python/versioningit/versioningit-2.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A setuptools plugin for versioning based on git tags"
+HOMEPAGE="
+ https://github.com/jwodder/versioningit/
+ https://pypi.org/project/versioningit/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/packaging-17.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_IGNORE=(
+ # Tries to do wheel/pip installs
+ test/test_end2end.py
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ sed -i \
+ -e '/--cov/d' \
+ -e '/-cov-/d' \
+ tox.ini || die
+
+ distutils-r1_python_prepare_all
+}