diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-04-27 08:01:57 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-04-27 09:18:22 +0200 |
commit | f79eaa12504a7d69dbb6c608f8c52b5b9bb5b3b1 (patch) | |
tree | 24875f8ce268e665c8752ce8727d57a3b4955ebb /dev-python/parver | |
parent | dev-python/PyGithub: Bump to 1.50 (diff) | |
download | gentoo-f79eaa12504a7d69dbb6c608f8c52b5b9bb5b3b1.tar.gz gentoo-f79eaa12504a7d69dbb6c608f8c52b5b9bb5b3b1.tar.bz2 gentoo-f79eaa12504a7d69dbb6c608f8c52b5b9bb5b3b1.zip |
dev-python/parver: Bump to 0.3
Closes: https://bugs.gentoo.org/719446
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.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/parver/Manifest b/dev-python/parver/Manifest index 40f1fcaaf6cd..fa349a9db616 100644 --- a/dev-python/parver/Manifest +++ b/dev-python/parver/Manifest @@ -1 +1,2 @@ DIST parver-0.2.1.tar.gz 25717 BLAKE2B dd55f44b8bb43ca948fa459537385066b811fca4ff68426365b840d704c30c4a258632f1d2ac2a3967acafcbde44151f1d394ffd96a18d03c6a004ce6b29f1b1 SHA512 674e97d5bef6bb02a659ecf5e1a78fa5d597436b656d0251db20fe330a151ae8de52a3f3f0d3732ccb624ad9093116c07837ba0cbe4ae7ae664b4d47ec3333c3 +DIST parver-0.3.tar.gz 28324 BLAKE2B b7ffed6f6e03d9409ba512fb43336fa81ce4152fa066703c1de122f709410c946a1ce6fcedf8ddbdb0c9af66d8651c597f2abf3867115d89280381c6fb1f24e8 SHA512 0b31ee3c3fc24b056a97ccb9df10dec69ca66f4690b7f01ae84fbe583b77cf713b98d207eaf7a34c2192eecdf4077121154fe9b59aa83fe4836080cae729a90d diff --git a/dev-python/parver/parver-0.3.ebuild b/dev-python/parver/parver-0.3.ebuild new file mode 100644 index 000000000000..0b21ac219bb8 --- /dev/null +++ b/dev-python/parver/parver-0.3.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,7} ) +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[${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 +} |