diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-09-29 03:39:33 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-09-29 04:14:45 +0200 |
commit | 693e704418dbeacc141681b46a535aafb8d9e995 (patch) | |
tree | 37a75a9787453512a4c61a7c2244436c94a94670 /dev-python/parver | |
parent | eclass/cargo.eclass: move cargo_gen_config definition to the top (diff) | |
download | gentoo-693e704418dbeacc141681b46a535aafb8d9e995.tar.gz gentoo-693e704418dbeacc141681b46a535aafb8d9e995.tar.bz2 gentoo-693e704418dbeacc141681b46a535aafb8d9e995.zip |
dev-python/parver: Bump to 0.3.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/parver')
-rw-r--r-- | dev-python/parver/Manifest | 1 | ||||
-rw-r--r-- | dev-python/parver/parver-0.3.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/parver/Manifest b/dev-python/parver/Manifest index dd46c71f64d0..e9b98ed6498f 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.3.tar.gz 28324 BLAKE2B b7ffed6f6e03d9409ba512fb43336fa81ce4152fa066703c1de122f709410c946a1ce6fcedf8ddbdb0c9af66d8651c597f2abf3867115d89280381c6fb1f24e8 SHA512 0b31ee3c3fc24b056a97ccb9df10dec69ca66f4690b7f01ae84fbe583b77cf713b98d207eaf7a34c2192eecdf4077121154fe9b59aa83fe4836080cae729a90d diff --git a/dev-python/parver/parver-0.3.1.ebuild b/dev-python/parver/parver-0.3.1.ebuild new file mode 100644 index 000000000000..3cf5e0976c79 --- /dev/null +++ b/dev-python/parver/parver-0.3.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +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/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/arpeggio-1.7[${PYTHON_USEDEP}] + >=dev-python/attrs-19.2[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + " + +DEPEND=" + test? ( + ${RDEPEND} + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_prepare() { + # unlock dependencies + sed -i -e 's:~=:>=:g' setup.py || die + + distutils-r1_src_prepare +} |