From 799073eb168d35819904276f6c912be4ac76166a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Aug 2022 20:03:41 +0100 Subject: gentoo auto-resync : 03:08:2022 - 20:03:40 --- .../setuptools-declarative-requirements/Manifest | 2 + ...etuptools-declarative-requirements-1.3.0.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild (limited to 'dev-python/setuptools-declarative-requirements') diff --git a/dev-python/setuptools-declarative-requirements/Manifest b/dev-python/setuptools-declarative-requirements/Manifest index a25e7bbc5624..cce44fc3844b 100644 --- a/dev-python/setuptools-declarative-requirements/Manifest +++ b/dev-python/setuptools-declarative-requirements/Manifest @@ -1,3 +1,5 @@ DIST setuptools-declarative-requirements-1.2.0.tar.gz 17936 BLAKE2B a5be2b64fc22d5a45136ec2b98c1d4cc6c20e17dc81070d12948b6f536a517ec8a660c105dfc13a4319d1de54409fb4f7a4c6bacaf1291afa13c7ecc27fd933f SHA512 ce0eeb8692ff2ea80db91cad981853da74c0ca80f58b698753de92f6df3ef5e1c158e314d0ac4d0b4fa99a2ad8ee2d7d80a9d1a13f334966c948dee1a0ae3d98 +DIST setuptools-declarative-requirements-1.3.0.gh.tar.gz 19692 BLAKE2B 5030cd7a0b651a11bec8ca9ca4db680c86634c3fe895a6a76544468c2f48aef43a15e30d0c7ba1eea1133dc5b47257a061f6700b8d1e1863d72430a0459ba9f5 SHA512 eb20016ab0b8029a38ff4632d19d63cd4b6396c9d101efce577ac862feb3fc485ac4a644035d3267cd05caf679f9b2259e1d1340f8cd902ea7c7451e099c71cc EBUILD setuptools-declarative-requirements-1.2.0-r2.ebuild 1138 BLAKE2B 926dce22a36f53b765295694c4ab89ca49491abb99c8d432229847d072679f5654e0f34c08608b25748439e9fa35ca677de7a9af51d1ca5cab8f28c94afb44d5 SHA512 4ab88af7c2fe995acf09196cb0f7779beb697fb0009bad8a52334035c5ae2533549492d39fdd6be9dce16346f43ed6791f42993d99e4256b50bea964e27e1c3a +EBUILD setuptools-declarative-requirements-1.3.0.ebuild 1197 BLAKE2B cd839166847dcab5dc7977e429e9aa98e3c25cba9b552eea07a0a68b15ea02b1388874949b37ec6de540a733612fe7f143245201377a0e66d16ccc907ed8eeb3 SHA512 ec746fbbd0a7bef48a96380c74465d9c208bace06cfa5a53fa36828a97943aa34d89317288152f4cf2c6d82de7ada92baf05ec5e69356ea1e501b2d9c6f269de MISC metadata.xml 449 BLAKE2B e7161aeed6be695483f0d1ecd12d5dc2095255959babe854ef5b965bad0c68bd3f879e60d729f080c8f10bcf71d3880203f1a1cfff91e2d5020a2e566ebc88d6 SHA512 f764de1ee5b2dc29c53157c7c6683673623a7f491bd50afebc980a88d6af898a0d23898f49941ba7f14bdd230b0745085f279a22bd4397c1cc911098abbd4d13 diff --git a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild new file mode 100644 index 000000000000..f7b059247728 --- /dev/null +++ b/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.3.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Requirements Support For Setuptools Declarative setup.cfg" +HOMEPAGE=" + https://pypi.org/project/setuptools-declarative-requirements/ + https://github.com/s0undt3ch/setuptools-declarative-requirements +" +SRC_URI=" + https://github.com/s0undt3ch/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pypiserver[${PYTHON_USEDEP}] + dev-python/pytest-shell-utilities[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_prepare_all() { + sed -e "/http/s/localhost/127.0.0.1/g" -i tests/conftest.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PIP_DEFAULT_TIMEOUT=3 + local -x PIP_INDEX_URL="http://127.0.0.1:8080" + epytest -k 'not sdist' +} -- cgit v1.2.3