diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-10-14 08:08:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-10-14 09:51:01 +0200 |
commit | 4b6b179a28081e542f3cd85cf5e97e769b143aa8 (patch) | |
tree | d29236f79d2300a3183995eb053ccb39ab645f9e /dev-python | |
parent | dev-python/cffi: Bump to 1.15.0 (diff) | |
download | gentoo-4b6b179a28081e542f3cd85cf5e97e769b143aa8.tar.gz gentoo-4b6b179a28081e542f3cd85cf5e97e769b143aa8.tar.bz2 gentoo-4b6b179a28081e542f3cd85cf5e97e769b143aa8.zip |
dev-python/versioneer: Bump to 0.21
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/versioneer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/versioneer/versioneer-0.21.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index 712a420648fc..441beb03df77 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1 +1,2 @@ DIST versioneer-0.20.tar.gz 50634 BLAKE2B 4a64f311b5b7028f15a20c8111f462399bf49340b6ac42272af20427fe5ce722c9d589c04dcb66fe66782ad3ce3491f5fd4807ca06b3caa2342fe3750bedc1be SHA512 7751af838639f06f1f87224b3f87e5d466cf11f32e4da35646a1ea84ba8d21901d47137fab6bde2632f5aaecc2f90f9bbf5968d3fcd3b074e5145762bdde1ae7 +DIST versioneer-0.21.tar.gz 50072 BLAKE2B 83b56dc61b7ba6dd1fb274f08b08e501ab0e209d915785c3a62d733524270a8bd1f60fb09dd3d97c2030fa4e8e154e8351de51beb17774189ae68c12fca1e12a SHA512 a75e68cf1d11ddca220e8e617cd4c2e17b20d8d683c9e6ab94e8470695eee8fa00f7b5a9cb5cfeabd984446dffab70cb7acc749296c235a6a6f1c815f1729583 diff --git a/dev-python/versioneer/versioneer-0.21.ebuild b/dev-python/versioneer/versioneer-0.21.ebuild new file mode 100644 index 000000000000..299d280fc6b3 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.21.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 +} |