diff options
Diffstat (limited to 'dev-python/parver')
-rw-r--r-- | dev-python/parver/Manifest | 2 | ||||
-rw-r--r-- | dev-python/parver/parver-0.3.1.ebuild | 37 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/parver/Manifest b/dev-python/parver/Manifest index 5b9a76edbe2c..d66323cce5c1 100644 --- a/dev-python/parver/Manifest +++ b/dev-python/parver/Manifest @@ -1,4 +1,6 @@ AUX parver-0.3-test.patch 1078 BLAKE2B d81c48c59ec2f744c70c8dfea7ff6133c652105e933f2de77e6c50c097da5038f3d753e809d2237cb840fe927986ce1cbfd2620c629346ed8f232d7d1770ebe6 SHA512 2d4a8eec787eee57be68d57f6b041e4ae4fb437767b02568b3aa258c8853461922dd7a963fde0be134dd8cbcd4578cf93ad8eba37ec55b26733cc3671984de69 +DIST parver-0.3.1.tar.gz 29110 BLAKE2B da444a77907beac0bebd2dba812c8843052e27de1b8b802b5bdd37feb4ffe1cfdcabb84a91b6e6fe21275bce22e3b43736617df756570c6438af7ffd81a1ba87 SHA512 2ea7eb7be0c58657f5261d7b4729da6caaf2fac67db3fc3f36d29627bdbeba45f6ecb0e4bb251575b621908eb1ff5fa5ede5fc2ef0e041156dcc00548fd34360 DIST parver-0.3.tar.gz 28324 BLAKE2B b7ffed6f6e03d9409ba512fb43336fa81ce4152fa066703c1de122f709410c946a1ce6fcedf8ddbdb0c9af66d8651c597f2abf3867115d89280381c6fb1f24e8 SHA512 0b31ee3c3fc24b056a97ccb9df10dec69ca66f4690b7f01ae84fbe583b77cf713b98d207eaf7a34c2192eecdf4077121154fe9b59aa83fe4836080cae729a90d +EBUILD parver-0.3.1.ebuild 813 BLAKE2B 720422f4cf91f64622db19f5e87a5d1d1edad857738e3a5b3eb7e57e7562fbc7ee2c988cb752f10466a9c516b406a2d59137982457c309117615a0f8237594ec SHA512 691f586330a9c0a193bc652190c74d4d4364a38c20218b54021acaddd93db3207cff4165f32e94317b8b24db9f662967d6521476a27be58fcec714b6622c5461 EBUILD parver-0.3.ebuild 894 BLAKE2B c9e4a89ae9badb85b3ae97db8f92a2e71208b11b56bcdc67f733d4d8dcb7afd0eb31021e4c455b0ccb676020fc40bb01ce6f79c21b2cbdcb6e3584c42ef9aca4 SHA512 5447934cc17277e5354b3fa8b491d852163f72050b0d2a97abcc53c69ea4ddaf5360cd59bc16f0a59777d56bffa5828f77392471c6b88bea450e1366d7481952 MISC metadata.xml 433 BLAKE2B 816ccc76bf4592a65bb9577c64a81ad4dd6643b8db012506a931ed8420d68d18426085f9c6f13f3bf82679ecdeda9967f612571d54c6c09c0ad795246e41cb04 SHA512 9f271e8d1fdeee78d5a3c8fefbd1f9e1dfb999fcead3ae86453f63d4d9d44d36951fd7342e1512483eabea11515c729beea1041c28cac6b7255ad33522bbe569 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 +} |