diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-11 04:28:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-11 04:28:45 +0100 |
commit | 7e110ec617b903791c3d309845e11a8b27f441cc (patch) | |
tree | d9e8b4826e21ef9fa1fc2255d459f563d5581283 /dev-python/versioneer | |
parent | f2a91413828611d85d0496e98e1656e9b0e4528b (diff) |
gentoo auto-resync : 11:07:2023 - 04:28:45
Diffstat (limited to 'dev-python/versioneer')
-rw-r--r-- | dev-python/versioneer/Manifest | 2 | ||||
-rw-r--r-- | dev-python/versioneer/versioneer-0.29.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/versioneer/Manifest b/dev-python/versioneer/Manifest index a7ee185cabad..03be4c879ad2 100644 --- a/dev-python/versioneer/Manifest +++ b/dev-python/versioneer/Manifest @@ -1,3 +1,5 @@ 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 EBUILD versioneer-0.28.ebuild 1238 BLAKE2B 52cca5e3c4526009a54b04a4c8e04aa38379b1d3c04336ee6b404a8ced3cbabfa2134341c60887e2959ac55ae1498bdc4b124e49298b5c56e595dbbccace1aaa SHA512 40432ad507eda946ea131a4eb8f9d7fdba5be10f485dd10aafbc5fbef73f762fd00804ebd310c4bc2d47fd92cc6138eda1db6d124e2c689cc980e5a0d8314c34 +EBUILD versioneer-0.29.ebuild 1238 BLAKE2B 1ff3aab1bd2b71f4b800b19c3135fe9b58c4dc01f42cd0eac159f6263615c454f9b194420fbe4e913ac3fc1c8445369d01874e5215f48e0bb42579cc8f49c62d SHA512 f8f62ec1fb932fe691bf10720c5980f538ae972d80674375293a27522ee5e399a5e172b0b6ff6b9f0e4a9b47ce05079bceb241479193b7babceecf8ae8fbd225 MISC metadata.xml 426 BLAKE2B 050a6c51f12ce466d0149041e103227c176f792326f859474c996a38f510544f09a594b6a70036b3cdad78013ff9982316c671e77be6ed2e7f0fa643bf89d320 SHA512 da99aef0b58491715dca230579ecba68bfe357909dd8bd122e790d7f0300e0b1d11cf224ea3a3c76763d593f45013cca6cfe27cc774c6eb90dd6da562a061c38 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 +} |