Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setuptools-declarative-requirements/
Date: Sat, 25 Jun 2022 11:18:58
Message-Id: 1656155919.bd34c80a66ca2a31528de90b11e9e929ea1fcbfd.mgorny@gentoo
1 commit: bd34c80a66ca2a31528de90b11e9e929ea1fcbfd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 25 09:40:16 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 25 11:18:39 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd34c80a
7
8 dev-python/setuptools-declarative-requirements: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 ...ptools-declarative-requirements-1.2.0-r1.ebuild | 48 ----------------------
13 1 file changed, 48 deletions(-)
14
15 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-r1.ebuild
16 deleted file mode 100644
17 index 9e7e724e53ef..000000000000
18 --- a/dev-python/setuptools-declarative-requirements/setuptools-declarative-requirements-1.2.0-r1.ebuild
19 +++ /dev/null
20 @@ -1,48 +0,0 @@
21 -# Copyright 2022 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -DISTUTILS_USE_PEP517=setuptools
27 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
28 -inherit distutils-r1
29 -
30 -DESCRIPTION="Requirements Support For Setuptools Declarative setup.cfg"
31 -HOMEPAGE="
32 - https://pypi.org/project/setuptools-declarative-requirements/
33 - https://github.com/s0undt3ch/setuptools-declarative-requirements
34 -"
35 -SRC_URI="https://github.com/s0undt3ch/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
36 -
37 -LICENSE="Apache-2.0"
38 -SLOT="0"
39 -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
40 -
41 -RDEPEND="
42 - dev-python/setuptools[${PYTHON_USEDEP}]
43 -"
44 -BDEPEND="
45 - dev-python/wheel[${PYTHON_USEDEP}]
46 - test? (
47 - dev-python/pypiserver[${PYTHON_USEDEP}]
48 - dev-python/virtualenv[${PYTHON_USEDEP}]
49 - )
50 -"
51 -
52 -distutils_enable_tests pytest
53 -
54 -python_prepare_all() {
55 - sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
56 - sed -e "/setuptools_scm/ d" -i setup.cfg || die
57 - printf '__version__ = "${PV}"\n' > declarative_requirements/version.py || die
58 - sed -e "s/localhost/127.0.0.1/g" -i tests/conftest.py || die
59 - rm pyproject.toml || die
60 -
61 - distutils-r1_python_prepare_all
62 -}
63 -
64 -python_test() {
65 - PIP_DEFAULT_TIMEOUT=3 \
66 - PIP_INDEX_URL="http://127.0.0.1:8080" \
67 - epytest -k 'not sdist'
68 -}