commit: 144c0f86f97a29c711d30501ecbb7b052998398b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Jun 13 05:56:18 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Jun 13 07:18:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=144c0f86
dev-python/versioningit: Bump to 2.0.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/versioningit/Manifest | 1 + dev-python/versioningit/versioningit-2.0.0.ebuild | 46 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/versioningit/Manifest b/dev-python/versioningit/Manifest index 506a3db07dbc..7e7d6b307baf 100644 --- a/dev-python/versioningit/Manifest +++ b/dev-python/versioningit/Manifest @@ -1 +1,2 @@ DIST versioningit-1.1.1.tar.gz 678420 BLAKE2B 9829214f1f8bcea1733926667bac222c5cf34a03808f96b13389d78453da4613b4b6aeee79d0d756a70aae473496f44d4d191da65f50474d7c8222cae05153ea SHA512 4bcb4253198207d5dbb99358e823cd404f98fd9f265e0801c92a2f220241637cffa8bfc8184a1754b45353423e1bde1a5e5019876acce9536ad658289a638852 +DIST versioningit-2.0.0.tar.gz 735138 BLAKE2B 59247c0a2ec85f828b1b36c7f7ff6981fdd430b242c262f7325586e8ab35410083e0a795e72204c9ad9c0c50bb02c047f8baa01c556f74d69a8ddfc9e911474b SHA512 d700e25f3b58efd87943a950ede66ad8814e3aeea1927bb68b51312a636684b16695c44492f4357595305a5a85a3fc8c411d80a02e9b157162844d731dcab93f diff --git a/dev-python/versioningit/versioningit-2.0.0.ebuild b/dev-python/versioningit/versioningit-2.0.0.ebuild new file mode 100644 index 000000000000..392e4e954b30 --- /dev/null +++ b/dev-python/versioningit/versioningit-2.0.0.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..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 +}