commit:     cea439f2cb317d62f11adfd924e9bf911d8f3ed7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 13:15:50 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 14 13:57:56 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea439f2

dev-python/versioningit: Bump to 3.0.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/versioningit/Manifest                  |  1 +
 dev-python/versioningit/versioningit-3.0.0.ebuild | 43 +++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest
index afe7064efe85..d59e0f63fde6 100644
--- a/dev-python/versioningit/Manifest
+++ b/dev-python/versioningit/Manifest
@@ -1 +1,2 @@
 DIST versioningit-2.3.0.tar.gz 209785 BLAKE2B 
392706b969a3a94be6dee2bbd8935cf97e3f0ab0b102c5ae1ef2d65b25d6e44faf9e50301639aca77c8d81e0265875c548a9d28d331cbc07aaae7ed589c6ab04
 SHA512 
2e91ab8bf7be333b4783e8e7ad6cf4897694a5d3e14f41cad0f3683291078fb88845d629ee1e41885408bf07d5ea6250588af6e6cf6d6596df1bae4bee5ddf0b
+DIST versioningit-3.0.0.tar.gz 203693 BLAKE2B 
8253e367eea67711f2381bf6484f18b26d356c48872cb2f3b135c42c08d0e03114bfea4d02eb50e404094167609b24bab37f1bb7cc73ba877777f524e564f5db
 SHA512 
162cbe50d22be03c20e5d6efad0672264544fa918d706cdf158b30befe429f8ba0621b664c91ccad2f13d24176f7a3a1a36a8dc2b7a0263c8585d06b4f98bc41

diff --git a/dev-python/versioningit/versioningit-3.0.0.ebuild 
b/dev-python/versioningit/versioningit-3.0.0.ebuild
new file mode 100644
index 000000000000..29865cde2779
--- /dev/null
+++ b/dev-python/versioningit/versioningit-3.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A setuptools plugin for versioning based on git tags"
+HOMEPAGE="
+       https://github.com/jwodder/versioningit/
+       https://pypi.org/project/versioningit/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+RDEPEND="
+       >=dev-python/packaging-17.1[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               <dev-python/tomli-3[${PYTHON_USEDEP}]
+       ' 3.10)
+"
+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_test() {
+       epytest -o addopts=
+}

Reply via email to