summaryrefslogtreecommitdiff
path: root/dev-python/setuptools-declarative-requirements
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/setuptools-declarative-requirements
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/setuptools-declarative-requirements')
-rw-r--r--dev-python/setuptools-declarative-requirements/Manifest4
-rw-r--r--dev-python/setuptools-declarative-requirements/metadata.xml4
-rw-r--r--dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild (renamed from dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r1.ebuild)21
3 files changed, 18 insertions, 11 deletions
diff --git a/dev-python/setuptools-declarative-requirements/Manifest b/dev-python/setuptools-declarative-requirements/Manifest
index 0d44eff36eb8..a25e7bbc5624 100644
--- a/dev-python/setuptools-declarative-requirements/Manifest
+++ b/dev-python/setuptools-declarative-requirements/Manifest
@@ -1,3 +1,3 @@
DIST setuptools-declarative-requirements-1.2.0.tar.gz 17936 BLAKE2B a5be2b64fc22d5a45136ec2b98c1d4cc6c20e17dc81070d12948b6f536a517ec8a660c105dfc13a4319d1de54409fb4f7a4c6bacaf1291afa13c7ecc27fd933f SHA512 ce0eeb8692ff2ea80db91cad981853da74c0ca80f58b698753de92f6df3ef5e1c158e314d0ac4d0b4fa99a2ad8ee2d7d80a9d1a13f334966c948dee1a0ae3d98
-EBUILD setuptools-declarative-requirements-1.2.0-r1.ebuild 1263 BLAKE2B 645eb85f4c189bcb08eaf1f00c61f80d3fdc07078b1ea40df8b5fcc64df626746601d2d2f7f2ca0394a490a3f77f32e377f0a1f1dc4e3a96ecaa4773b40b0e68 SHA512 ee6fb04d41a723cf9cb77175ede98c422c83ea0449a4dcf9eae4f26afb5170c9595ef6027bf2744493874575fb94a4f85d021a529aaf97dd1f0bf61e633c3ecc
-MISC metadata.xml 348 BLAKE2B bb75dc7a62dfbe1f2128ad84e77dbff5498ba9eac61044d8914ec119b42e53c1119082bf66fa980f2b14df9ba8c48ac13fb0cdddeea60c9d6b9260dea90a8c4b SHA512 8df4f211960c247df43cccb8d2c31ad12f3699c8ef790de81602cde2fb62917c441ec2a85743b194ab716e1ecd4c64a378b3e7139bfc8d6547b768b2acbfd7c8
+EBUILD setuptools-declarative-requirements-1.2.0-r2.ebuild 1138 BLAKE2B 926dce22a36f53b765295694c4ab89ca49491abb99c8d432229847d072679f5654e0f34c08608b25748439e9fa35ca677de7a9af51d1ca5cab8f28c94afb44d5 SHA512 4ab88af7c2fe995acf09196cb0f7779beb697fb0009bad8a52334035c5ae2533549492d39fdd6be9dce16346f43ed6791f42993d99e4256b50bea964e27e1c3a
+MISC metadata.xml 449 BLAKE2B e7161aeed6be695483f0d1ecd12d5dc2095255959babe854ef5b965bad0c68bd3f879e60d729f080c8f10bcf71d3880203f1a1cfff91e2d5020a2e566ebc88d6 SHA512 f764de1ee5b2dc29c53157c7c6683673623a7f491bd50afebc980a88d6af898a0d23898f49941ba7f14bdd230b0745085f279a22bd4397c1cc911098abbd4d13
diff --git a/dev-python/setuptools-declarative-requirements/metadata.xml b/dev-python/setuptools-declarative-requirements/metadata.xml
index 5e3f363fee8e..27e94aca3590 100644
--- a/dev-python/setuptools-declarative-requirements/metadata.xml
+++ b/dev-python/setuptools-declarative-requirements/metadata.xml
@@ -5,6 +5,10 @@
<name>Patrick McLean</name>
<email>chutzpah@gentoo.org</email>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">setuptools-declarative-requirements</remote-id>
</upstream>
diff --git a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r1.ebuild b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild
index 9e7e724e53ef..9dd0c2513c1b 100644
--- a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r1.ebuild
+++ b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r2.ebuild
@@ -4,7 +4,8 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
inherit distutils-r1
DESCRIPTION="Requirements Support For Setuptools Declarative setup.cfg"
@@ -12,7 +13,10 @@ HOMEPAGE="
https://pypi.org/project/setuptools-declarative-requirements/
https://github.com/s0undt3ch/setuptools-declarative-requirements
"
-SRC_URI="https://github.com/s0undt3ch/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="
+ https://github.com/s0undt3ch/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz
+"
LICENSE="Apache-2.0"
SLOT="0"
@@ -22,6 +26,7 @@ RDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pypiserver[${PYTHON_USEDEP}]
@@ -31,18 +36,16 @@ BDEPEND="
distutils_enable_tests pytest
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
python_prepare_all() {
- sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
- sed -e "/setuptools_scm/ d" -i setup.cfg || die
- printf '__version__ = "${PV}"\n' > declarative_requirements/version.py || die
sed -e "s/localhost/127.0.0.1/g" -i tests/conftest.py || die
- rm pyproject.toml || die
distutils-r1_python_prepare_all
}
python_test() {
- PIP_DEFAULT_TIMEOUT=3 \
- PIP_INDEX_URL="http://127.0.0.1:8080" \
- epytest -k 'not sdist'
+ local -x PIP_DEFAULT_TIMEOUT=3
+ local -x PIP_INDEX_URL="http://127.0.0.1:8080"
+ epytest -k 'not sdist'
}