diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-08-01 21:16:25 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-08-01 21:16:25 +0100 |
commit | c69eea8c84cee05e6ba332fd1f39cfb6554d5726 (patch) | |
tree | 86a17f65a677b3c475b682e087e779df29eb4b43 /dev-python/versioningit | |
parent | 9d396115d657f4e18ffa2c1d073980d8e3d6710f (diff) |
gentoo auto-resync : 01:08:2022 - 21:16:25
Diffstat (limited to 'dev-python/versioningit')
-rw-r--r-- | dev-python/versioningit/Manifest | 2 | ||||
-rw-r--r-- | dev-python/versioningit/versioningit-2.0.1.ebuild | 50 |
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index 0427be43f5dd..2c834cd3629f 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1,3 +1,5 @@ DIST versioningit-2.0.0.tar.gz 735138 BLAKE2B 59247c0a2ec85f828b1b36c7f7ff6981fdd430b242c262f7325586e8ab35410083e0a795e72204c9ad9c0c50bb02c047f8baa01c556f74d69a8ddfc9e911474b SHA512 d700e25f3b58efd87943a950ede66ad8814e3aeea1927bb68b51312a636684b16695c44492f4357595305a5a85a3fc8c411d80a02e9b157162844d731dcab93f +DIST versioningit-2.0.1.tar.gz 735415 BLAKE2B 92aefa4c565ba1e7e707e7ea53a139c64e645ca5e68c74f8ee516122996037061174f703b566458d947e131ed56cc0a9922ce23bf82680607591900a7cc88e36 SHA512 b6f8c578d36607731429e43a7bd349ac69e44943a7b9a79c9f70e1dd44201ee6af239a575ebb36a44e870ee2a121a91d1d63c8e63dadaac71139431ef2eb36e5 EBUILD versioningit-2.0.0.ebuild 860 BLAKE2B 5b99a6099f118843506107b7738b12588971c23e63a73f9394457b364bbd852cb9af74d69db6226d94ab219cde4549bba8a6e4887b5ff6df9956fbc01e7cd1cc SHA512 fa0ad9816f14251306d7564691737a54e1f29a59be9f420a307737092c774a53eb920d3f0c5380f8c5c6b7381b0fb276be0efecc81201af7fc90f49c08350ef9 +EBUILD versioningit-2.0.1.ebuild 910 BLAKE2B 073b33ec16912dc75b45c7fbcbff8971ba42d83cd1235befd334182c151326bfcd693c19543c26461d017608e20464ebd03781faaaf5cafdaae6def0051e674d SHA512 fcc181ca21711d217de49db2a6b53dd88c5b484c781875f51c987f6fc1205e4b353b0b70410032fba7b456adf5d53fcd46cbca030b8ba98d821ea13e82ea7eab MISC metadata.xml 400 BLAKE2B 96934adb9ade5b51537765da51d530a644f87328688415cfd5b239048adede18db1ec7cbb2a234cc2e28fea368aa9c815176bb22262c9053fdc2c85c6c6e3f56 SHA512 9070b850fff35058a11cc7504bbc5fbef17cc9154df5419a64bae10fd3cb160a043ffd0880fc3c5054bd1d2eb4891bcbf5764c56f2441ab79366336caf91e379 diff --git a/dev-python/versioningit/versioningit-2.0.1.ebuild b/dev-python/versioningit/versioningit-2.0.1.ebuild new file mode 100644 index 000000000000..7af2c2936c5d --- /dev/null +++ b/dev-python/versioningit/versioningit-2.0.1.ebuild @@ -0,0 +1,50 @@ +# 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..10} ) + +inherit distutils-r1 + +DESCRIPTION="A setuptools plugin for versioning based on git tags" +HOMEPAGE=" + https://github.com/jwodder/versioningit/ + https://pypi.org/project/versioningit/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/packaging-17.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pydantic[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +EPYTEST_IGNORE=( + # Tries to do wheel/pip installs + test/test_end2end.py +) + +distutils_enable_tests pytest + +python_prepare_all() { + sed -i \ + -e '/--cov/d' \ + -e '/-cov-/d' \ + tox.ini || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest -p no:pytest-describe +} |