summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-12 07:04:55 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-12 08:33:06 +0100
commit884b70d8b80d2a4253ad82ada63e2c944533165e (patch)
treec9875b356d432f2da05088606529a8ea3b5781dd /dev-python/parver
parentdev-python/pikepdf: Bump to 6.2.3 (diff)
downloadgentoo-884b70d8b80d2a4253ad82ada63e2c944533165e.tar.gz
gentoo-884b70d8b80d2a4253ad82ada63e2c944533165e.tar.bz2
gentoo-884b70d8b80d2a4253ad82ada63e2c944533165e.zip
dev-python/parver: Bump to 0.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/parver')
-rw-r--r--dev-python/parver/Manifest1
-rw-r--r--dev-python/parver/parver-0.4.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/parver/Manifest b/dev-python/parver/Manifest
index 82ca9b54dc57..044557156721 100644
--- a/dev-python/parver/Manifest
+++ b/dev-python/parver/Manifest
@@ -1 +1,2 @@
DIST parver-0.3.1.tar.gz 29110 BLAKE2B da444a77907beac0bebd2dba812c8843052e27de1b8b802b5bdd37feb4ffe1cfdcabb84a91b6e6fe21275bce22e3b43736617df756570c6438af7ffd81a1ba87 SHA512 2ea7eb7be0c58657f5261d7b4729da6caaf2fac67db3fc3f36d29627bdbeba45f6ecb0e4bb251575b621908eb1ff5fa5ede5fc2ef0e041156dcc00548fd34360
+DIST parver-0.4.gh.tar.gz 26130 BLAKE2B b2835271434f92e054dea72af716082f6eaf0d9486ed39319815341d3ab256484b0aaa34725f000289efdb75e238fcec4701c50248a1c2f7bf94774c17be3c40 SHA512 3ff9532904712726588b493e6300e8422edf5231774fa01308533e184e66c0e73037aff40be66417de2ad066ac8332a4c62ffabd0bc89cecb29d45ce7b3f2013
diff --git a/dev-python/parver/parver-0.4.ebuild b/dev-python/parver/parver-0.4.ebuild
new file mode 100644
index 000000000000..c231cf5617c3
--- /dev/null
+++ b/dev-python/parver/parver-0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019-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="Parse and manipulate version numbers"
+HOMEPAGE="
+ https://github.com/RazerM/parver/
+ https://pypi.org/project/parver/
+"
+SRC_URI="
+ https://github.com/RazerM/parver/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-python/Arpeggio-1.7[${PYTHON_USEDEP}]
+ >=dev-python/attrs-19.2[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+ ' 3.8 3.9)
+"
+
+BDEPEND="
+ test? (
+ dev-python/hypothesis[${PYTHON_USEDEP}]
+ dev-python/pretend[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest