dev-python/vcver: New package

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2020-09-04 07:34:09 +02:00
parent 7a6d0aeb20
commit ac5cefec54
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST vcver-0.2.11.tar.gz 13311 BLAKE2B 14c3ecc10cb9bbe08924762b080abb6bc498a8ffeaf383c12858c2f20dcbfcf356ad54e91917b3c1f38b205e3640c132b5a4f07e65e8622b1590abab98508bc1 SHA512 aca598b8410217eb7e53079d143f88cb5b6b59bd90c8697cb36a7b3ef2ea93597a880f9b0134999c47267e49d15b8edcc832513ea3a1adf156b2828fa29997a7

View file

@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">vcver</remote-id>
<maintainer status="unknown">
<email>yusuke@tsutsumi.io</email>
<name>Yusuke Tsutsumi</name>
</maintainer>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="provide package versions with version control data."
HOMEPAGE="https://github.com/toumorokoshi/vcver-python https://pypi.org/project/vcver/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
BDEPEND="dev-python/packaging[${PYTHON_USEDEP}]"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}