summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-09-03 11:53:18 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-09-03 12:12:43 +0300
commitb0e260fb817ab054a2763910be0fccb2b68c224d (patch)
tree12c7a01e3941f71c068ccd5da4f1deb69feddeb8 /dev-python/versioneer
parentdev-python/swagger-spec-validator: add 2.7.6 (diff)
downloadgentoo-b0e260fb817ab054a2763910be0fccb2b68c224d.tar.gz
gentoo-b0e260fb817ab054a2763910be0fccb2b68c224d.tar.bz2
gentoo-b0e260fb817ab054a2763910be0fccb2b68c224d.zip
dev-python/versioneer: add 0.25
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r--dev-python/versioneer/Manifest1
-rw-r--r--dev-python/versioneer/versioneer-0.25.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest
index ee69893d8688..ada4c1a011b3 100644
--- a/dev-python/versioneer/Manifest
+++ b/dev-python/versioneer/Manifest
@@ -1,3 +1,4 @@
DIST python-versioneer-0.24.gh.tar.gz 68202 BLAKE2B 9a946ca2d99c614635431bdac8b87ca7a0c9d60f7161e615f69aa664b0191e33e6c8823efa0f436f8f1897318698497b5fc7db6135beac37bfdfa78cc37d343e SHA512 e8b99ca83675744ef2b4e342621ccf276c5319d7fc603c02c983aff88b57fb62dba192aaf9c6b53af5e0771690d0592b86b8772fc1e628944fe3a9479018e2be
+DIST python-versioneer-0.25.gh.tar.gz 74923 BLAKE2B 8f8ce626bab5a475c2fc16a703e7e145005424e76f60adae044bf2bb59554ef74805cca12882db7e7f51830bc09b3add66f932cad6861b05f0fc78a27f94318d SHA512 0ee0ce63862507fbaa31cc2581333030d61d179248de2957ac73df712ba1d2c9e3cad203f83450f0c5520070c0bfc78c3f40c657f0c4a9106591a8217c6ea795
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.25.ebuild b/dev-python/versioneer/versioneer-0.25.ebuild
new file mode 100644
index 000000000000..7cbfa9f48b41
--- /dev/null
+++ b/dev-python/versioneer/versioneer-0.25.ebuild
@@ -0,0 +1,46 @@
+# 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 )"
+
+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
+}