diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-08-13 08:39:20 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-08-13 10:05:21 +0200 |
commit | 86902b17423f1ce9e63178e4acaef249295edab5 (patch) | |
tree | d2740b4088f0e616045f2959185110e961ae162f /dev-python/versioneer | |
parent | dev-python/freezegun: Bump to 1.2.2 (diff) | |
download | gentoo-86902b17423f1ce9e63178e4acaef249295edab5.tar.gz gentoo-86902b17423f1ce9e63178e4acaef249295edab5.tar.bz2 gentoo-86902b17423f1ce9e63178e4acaef249295edab5.zip |
dev-python/versioneer: Bump to 0.23
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r-- | dev-python/versioneer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/versioneer/versioneer-0.23.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index 60fa4208476b..f3505aa4ac87 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1 +1,2 @@ DIST versioneer-0.22.tar.gz 50847 BLAKE2B 3508ac89e65df7a936168fefc1a557191d9362ba69fc9b79eea495cb340c9e314ba5fbac28041bc502aee3adff555e56b43e4ff7fb0d682e96fc3e2ad6bddbad SHA512 f02d50a47c1990275ebf9e720bdb7f13e5fbfc344b361197ecb7602e5ff02e438e43983b4e1cbfde5aa6fa4328a1ffdac60009d6925cf027e484b0ce12587484 +DIST versioneer-0.23.tar.gz 52097 BLAKE2B 05762e7033e023760c118f060ad869a64e6d2b052e0a3150661364802ecad161169bd756a80284b506bb05ffa64019a6ecd56c215ae2cd1a18648e900f806d18 SHA512 c01f1eb1fca1c4ff55169742fd016796556b2178c21eb9d89b9fd83faf90c0bd3bfb0fe178c6078a776a7d2ccd61443d1c645d5f371b062fe06df970f1d3b323 diff --git a/dev-python/versioneer/versioneer-0.23.ebuild b/dev-python/versioneer/versioneer-0.23.ebuild new file mode 100644 index 000000000000..bda1bd0987a8 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.23.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +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="CC0-1.0" +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 +} |