diff options
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r-- | dev-python/versioneer/Manifest | 2 | ||||
-rw-r--r-- | dev-python/versioneer/versioneer-0.20.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index 53837ca26474..e2b7c6a72263 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1,3 +1,5 @@ DIST versioneer-0.19.tar.gz 47005 BLAKE2B cd4ce82bdb17cd10b628cf6013d1be171cc21115d9a065b845227fd6e5d1e988f8ab6fb001e2eeb6c1bfeda8a4afc8420937b0ec7437554d87e207713ccef381 SHA512 919c2e52e32b2fa1661ab2e10e3a698eb3f7c5102e66175d465d1a29237b86efa1520435ca581e321802cffeaa0ccd21fb66ba66946d72a05d13743c87a3e333 +DIST versioneer-0.20.tar.gz 50634 BLAKE2B 4a64f311b5b7028f15a20c8111f462399bf49340b6ac42272af20427fe5ce722c9d589c04dcb66fe66782ad3ce3491f5fd4807ca06b3caa2342fe3750bedc1be SHA512 7751af838639f06f1f87224b3f87e5d466cf11f32e4da35646a1ea84ba8d21901d47137fab6bde2632f5aaecc2f90f9bbf5968d3fcd3b074e5145762bdde1ae7 EBUILD versioneer-0.19.ebuild 867 BLAKE2B 604a83efa3527d3b3981f247401d775d6f48bc2d2a79963429b7df09db63546446abe5f8fb20a5cb934eceb5a12708a5bc3bf8965f891c80725f4f5a56b5d28b SHA512 47556240dff382f65a669d74f8bb12299821c9510db2273bf3bbb8b2b93957a2e6d6698be2a0d6cb33ee1ad0da66edf6a9b1af42c8400df5323d21084daf2dfe +EBUILD versioneer-0.20.ebuild 870 BLAKE2B bcc4a2cbf24a280f0f6b67fb33b972efddf75eeb21a6eb08a921c3c33aa0a93e04242fc3c8967f15649c82f14ff8a347c3a11b87fdc865479de4b4133da2e3c2 SHA512 9a9c17d977aa87fa43b467f5f28d546bd1011d1f7fa17c6e7f13c9ad7eb961cfacb9a96b36f35acc9b41a732b3eaae435accbb09b463fe0c8b733b1bfdab3f5b MISC metadata.xml 425 BLAKE2B 70d2a29bcd352f61add9b6ec9f302712d3f14556c3827c55273b4b2525c7f1b36c4ae2b2e4056aff955e864128d9e106b1c0a0424129818082047af19d8bb03d SHA512 4e2f07cd10a1dceebd43c8bdfda3c546a924b5283bd31417cecfe5b5af6b5868915f9e3343694a503c51bbe71fc9644c39f9335471b0ec98fcf780caa20f49c3 diff --git a/dev-python/versioneer/versioneer-0.20.ebuild b/dev-python/versioneer/versioneer-0.20.ebuild new file mode 100644 index 000000000000..299d280fc6b3 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.20.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Easy VCS-based management of project version strings" +HOMEPAGE=" + https://pypi.org/project/versioneer/ + https://github.com/python-versioneer/python-versioneer/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +SLOT="0" +LICENSE="public-domain" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/packaging[${PYTHON_USEDEP}] + dev-vcs/git + ) +" + +python_test() { + esetup.py make_versioneer + + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + + "${EPYTHON}" test/git/test_git.py -v || die +} |