From 8eb973cc2247ee4fe34e4d907fdc6cf5b94709e3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 28 Oct 2022 09:59:10 +0100 Subject: gentoo auto-resync : 28:10:2022 - 09:59:10 --- dev-python/versioneer/Manifest | 2 ++ dev-python/versioneer/versioneer-0.28.ebuild | 51 ++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-python/versioneer/versioneer-0.28.ebuild (limited to 'dev-python/versioneer') diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index db1d27b46ac5..1292b0254d6e 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1,3 +1,5 @@ DIST python-versioneer-0.26.gh.tar.gz 75408 BLAKE2B 492538de63d0394f622e5d344955024559b66dea71909cabb366aa7df5cf8b43d3599af6693df3d8cb98c96df314f6cafa12bd237dc6f44be42370fe9cf0224f SHA512 7729cb94d30d3a666ac7e24f9c98880e801d54f986f9bd442695bc71e01ffc06ac53c952e67ab9a5db5d1cefe2a2dc37cd34e84cd5810e7873ae96a7afb65ad0 +DIST python-versioneer-0.28.gh.tar.gz 77503 BLAKE2B a4d75ce8a7db057421e36fd75bfa9ec83a41191b999c2a81b3879290424005b521f7b6046debb847bf78eae459ef7247d903f971d2a0c4fce116ec0cd1f34833 SHA512 ef27f4588f1c76eb5da1e108f2eee635707b2427cd79a71880f8df217317329e5fb81b30b1e741f2439550dc73f9a816ebdf47af475862344d67ed2189f92a1e EBUILD versioneer-0.26.ebuild 1323 BLAKE2B 56d7c0fa860937155c3b8f9ce3188645362a3b198d23c591801e79ad66871864823b1ff093f45be4f3ecb8fc0838cff8cb9a6e8f7d045159d696ee442a6b46f6 SHA512 4e48e00e9696dc2a3e556bd7c5813a80a5cd26bb96603d080eab0db735f96da7b71d81037287cc4a0a2acf79ce5e40e6a367dc323118c6c21f2b4366d12828ad +EBUILD versioneer-0.28.ebuild 1232 BLAKE2B befa98c801afeca85f162478065cbdf99154a54935755455147a479efcb67b0735261d0deee1f491b800c2cc2b641c3546019f8dcad4329b66724e1c91e14097 SHA512 0a859964c6121e274336cd1bc912fa281aba489d49f6fd609694096fa6ba673facce1e1014b7b4a02e295e0b80f80554f9c286393dfe9a9528f7e981f03e67c4 MISC metadata.xml 426 BLAKE2B 050a6c51f12ce466d0149041e103227c176f792326f859474c996a38f510544f09a594b6a70036b3cdad78013ff9982316c671e77be6ed2e7f0fa643bf89d320 SHA512 da99aef0b58491715dca230579ecba68bfe357909dd8bd122e790d7f0300e0b1d11cf224ea3a3c76763d593f45013cca6cfe27cc774c6eb90dd6da562a061c38 diff --git a/dev-python/versioneer/versioneer-0.28.ebuild b/dev-python/versioneer/versioneer-0.28.ebuild new file mode 100644 index 000000000000..f26ee12e3cc0 --- /dev/null +++ b/dev-python/versioneer/versioneer-0.28.ebuild @@ -0,0 +1,51 @@ +# 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 + +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 ~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.8 3.9 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 +} -- cgit v1.2.3