diff options
author | Oleksandr Trotsenko <oleksandr.trotsenko@gmail.com> | 2018-10-27 22:59:13 -0500 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-11-03 09:22:38 +0100 |
commit | 2722b2b8ad6f9bde8816123da74e7ba66ba6628a (patch) | |
tree | 2bc9ad69d809d6eb973f2a50ad36a2ea4b51a230 /dev-python/parver | |
parent | sci-libs/Rtree: bump to 0.8.3_p20180802 (diff) | |
download | gentoo-2722b2b8ad6f9bde8816123da74e7ba66ba6628a.tar.gz gentoo-2722b2b8ad6f9bde8816123da74e7ba66ba6628a.tar.bz2 gentoo-2722b2b8ad6f9bde8816123da74e7ba66ba6628a.zip |
dev-python/parver: Introducing a new package
New package being introduced, dev-python/parver in the latest available version
of 0.1.1.
Closes: https://bugs.gentoo.org/669266
Signed-off-by: Oleksandr Trotsenko <oleksandr.trotsenko@gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
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/metadata.xml | 17 | ||||
-rw-r--r-- | dev-python/parver/parver-0.1.1.ebuild | 31 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/parver/Manifest b/dev-python/parver/Manifest new file mode 100644 index 000000000000..cc5934733980 --- /dev/null +++ b/dev-python/parver/Manifest @@ -0,0 +1 @@ +DIST parver-0.1.1.tar.gz 23398 BLAKE2B 2e15ac0c5739ac4d5360cd905d87d0ba1e3831fa975b42c73503f1fdc0952d4a73f36a9eb07cf95a12969637cbfaa902ed46c9a66a85110c17b8ff36c39c87f1 SHA512 d79a4981f3ad77180c5a9c5972410714a1be075308c933bde6af499c25aaa2f82034afb27c0b4c4d7ca269d645285a953a91ea6f945fcac663250ed06ae3accb diff --git a/dev-python/parver/metadata.xml b/dev-python/parver/metadata.xml new file mode 100644 index 000000000000..f3f1f87ebb33 --- /dev/null +++ b/dev-python/parver/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>oleksandr.trotsenko@gmail.com</email> + <name>Oleksandr Trotsenko</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="github">RazerM/parver</remote-id> + <doc>https://parver.readthedocs.io/en/latest/</doc> + <bugs-to>https://github.com/RazerM/parver/issues</bugs-to> + </upstream> +</pkgmetadata> diff --git a/dev-python/parver/parver-0.1.1.ebuild b/dev-python/parver/parver-0.1.1.ebuild new file mode 100644 index 000000000000..d243ed3c32fc --- /dev/null +++ b/dev-python/parver/parver-0.1.1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,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" +IUSE="test" + +DEPEND=" + dev-python/arpeggio[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/hypothesis[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pretend[${PYTHON_USEDEP}] + ) +" + +python_test() { + pytest -vv || die "Testing failed" +} |