From ac5cefec54f950dbc0fc2321db5f10ed68f518a3 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 4 Sep 2020 07:34:09 +0200 Subject: [PATCH] dev-python/vcver: New package Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Alarig Le Lay + + + + b@edevau.net + Andreas Billmeier + + + vcver + + yusuke@tsutsumi.io + Yusuke Tsutsumi + + + diff --git a/dev-python/vcver/vcver-0.2.11.ebuild b/dev-python/vcver/vcver-0.2.11.ebuild new file mode 100644 index 0000000..5a1cdfe --- /dev/null +++ b/dev-python/vcver/vcver-0.2.11.ebuild @@ -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 +}