summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r--dev-python/versioneer/Manifest1
-rw-r--r--dev-python/versioneer/versioneer-0.24.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest
index f3505aa4ac87..ee69893d8688 100644
--- a/dev-python/versioneer/Manifest
+++ b/dev-python/versioneer/Manifest
@@ -1,2 +1,3 @@
+DIST python-versioneer-0.24.gh.tar.gz 68202 BLAKE2B 9a946ca2d99c614635431bdac8b87ca7a0c9d60f7161e615f69aa664b0191e33e6c8823efa0f436f8f1897318698497b5fc7db6135beac37bfdfa78cc37d343e SHA512 e8b99ca83675744ef2b4e342621ccf276c5319d7fc603c02c983aff88b57fb62dba192aaf9c6b53af5e0771690d0592b86b8772fc1e628944fe3a9479018e2be
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.24.ebuild b/dev-python/versioneer/versioneer-0.24.ebuild
new file mode 100644
index 000000000000..aa1057a32c6d
--- /dev/null
+++ b/dev-python/versioneer/versioneer-0.24.ebuild
@@ -0,0 +1,45 @@
+# 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/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
+}