diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2023-07-10 16:00:52 -0700 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2023-07-10 16:00:52 -0700 |
commit | 09fa1a0c4553b5853773dfc8ebb660b681d9fb70 (patch) | |
tree | 2f0e614029ba03255bdc5febe051c5e1b0184a49 /dev-python/versioneer | |
parent | dev-util/gitlab-cli: add 1.31.0 (diff) | |
download | gentoo-09fa1a0c4553b5853773dfc8ebb660b681d9fb70.tar.gz gentoo-09fa1a0c4553b5853773dfc8ebb660b681d9fb70.tar.bz2 gentoo-09fa1a0c4553b5853773dfc8ebb660b681d9fb70.zip |
dev-python/versioneer: add 0.29
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r-- | dev-python/versioneer/Manifest | 1 | ||||
-rw-r--r-- | dev-python/versioneer/versioneer-0.29.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index 6c9faf98bda6..09e0e3feaa6e 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1 +1,2 @@ DIST python-versioneer-0.28.gh.tar.gz 77503 BLAKE2B a4d75ce8a7db057421e36fd75bfa9ec83a41191b999c2a81b3879290424005b521f7b6046debb847bf78eae459ef7247d903f971d2a0c4fce116ec0cd1f34833 SHA512 ef27f4588f1c76eb5da1e108f2eee635707b2427cd79a71880f8df217317329e5fb81b30b1e741f2439550dc73f9a816ebdf47af475862344d67ed2189f92a1e +DIST python-versioneer-0.29.gh.tar.gz 78801 BLAKE2B e0af2887a8aaf5d4aee14d8370fa47d4ad9f0a5d385382de5b14f34fb1d6388daacaeab48677523b157ef685c8ad6e18b89bc8546ad8c991cde06e5c78da701c SHA512 10dce0923e2a48036117b64c8b746bb57db4b33f9f752ba950bf877319184451928d1eb37693ffb1a4f95afd774a4883cf265b8a82f35bd77b26c0967caa9ad6 diff --git a/dev-python/versioneer/versioneer-0.29.ebuild b/dev-python/versioneer/versioneer-0.29.ebuild new file mode 100644 index 000000000000..ed03e7b79ef0 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.29.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +MY_P=python-versioneer-${PV} +DESCRIPTION="Easy VCS-based management of project version strings" +HOMEPAGE=" + https://pypi.org/project/versioneer/ + https://github.com/python-versioneer/python-versioneer/ +" +SRC_URI=" + https://github.com/python-versioneer/python-versioneer/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +SLOT="0" +LICENSE="Unlicense" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + test? ( + dev-python/build[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-vcs/git + !!dev-python/nose[${PYTHON_USEDEP}] + ) +" + +python_test() { + esetup.py make_versioneer + + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + git config --global init.defaultBranch whatever || die + + "${EPYTHON}" test/git/test_git.py -v || die +} |