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_scm/
Date: Sun, 29 Mar 2020 08:20:29
Message-Id: 1585469953.fe449bde0e2e5edb1e0f5719b103102defad8b41.mgorny@gentoo
1 commit: fe449bde0e2e5edb1e0f5719b103102defad8b41
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 07:56:47 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 08:19:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe449bde
7
8 dev-python/setuptools_scm: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/setuptools_scm/Manifest | 3 --
13 .../setuptools_scm/setuptools_scm-1.15.6-r1.ebuild | 38 ------------------
14 .../setuptools_scm/setuptools_scm-3.2.0.ebuild | 46 ----------------------
15 .../setuptools_scm/setuptools_scm-3.4.3.ebuild | 40 -------------------
16 4 files changed, 127 deletions(-)
17
18 diff --git a/dev-python/setuptools_scm/Manifest b/dev-python/setuptools_scm/Manifest
19 index 23c4b581ea2..2b2e246f5e7 100644
20 --- a/dev-python/setuptools_scm/Manifest
21 +++ b/dev-python/setuptools_scm/Manifest
22 @@ -1,4 +1 @@
23 -DIST setuptools_scm-1.15.6.tar.gz 25779 BLAKE2B 01d6771c24015f072a46ff1429b964130f370f42a5cd3c634cc1bf9a506ca8547783087a0b9589ed4038168d034dddbe435540cd25a846536dc5a5c116f4168f SHA512 ae91ac28d396215be5418df3b36af726b6f2fb89707424383e920072fe8f9f75f613a99fe406cfbfffc61f9a857a3294259191694899351ef78aebba73d08816
24 -DIST setuptools_scm-3.2.0.tar.gz 39646 BLAKE2B 922e2e09a9826e8573900e8d279daf937289f91f8fead5230ea7082d85275d5d988d655854a36afd48d6b621eaa261ac9a0cd486acc115f0e389fb6828645e8b SHA512 1995754654f8bf509ec7f2186857ba0005dbaea0b1c734f521becb9d022c127e7b36f21da8defd5ec9883de5d0d4afe006f9d152c4cefe6beadf8b878e949eb2
25 -DIST setuptools_scm-3.4.3.tar.gz 45549 BLAKE2B 89d6438d8edc5efe2a2c435a85f0bf513fbd1af7fee6630ff8b2e542733d8af8f080ac746c949ee45cf97a46077150cdd842ea5252159aedb183f7f562922bb1 SHA512 455344ac7dda5c0ac79bdb26bef020cafc116fe59b979601351c78d26806e6e610774979f74762c113926e8b022e7b58513f25010ef7b92e5104fc1b2d552d4e
26 DIST setuptools_scm-3.5.0.tar.gz 46272 BLAKE2B 132711c8312dfbe48f9e2d3d7fcd0a86b057bbcf9a5f6b2e61afe018e116a4df96c3bf5cddf067bc92b96915f70182013749ce65b8fa5feb92ccef903859ee3f SHA512 f7e2cdae7a8a3d5ef3d12effcda5ce7f362c426e11aecaef69ef604bede9abbab2aa1eee6f5310cdd72a9bf11a927dbd1f42671e28bd467ad7b15f2dba5b81d9
27
28 diff --git a/dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild b/dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild
29 deleted file mode 100644
30 index 84907393f6c..00000000000
31 --- a/dev-python/setuptools_scm/setuptools_scm-1.15.6-r1.ebuild
32 +++ /dev/null
33 @@ -1,38 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=6
38 -
39 -PYTHON_COMPAT=( python2_7 python3_6 pypy3 )
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="package to manage versions by scm tags via setuptools"
44 -HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.org/project/setuptools_scm/"
45 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
50 -IUSE="git mercurial test"
51 -RESTRICT="!test? ( test )"
52 -
53 -DEPEND="
54 - dev-python/setuptools[${PYTHON_USEDEP}]
55 - git? ( dev-vcs/git )
56 - mercurial? ( dev-vcs/mercurial )
57 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
58 -
59 -python_test() {
60 - distutils_install_for_testing
61 - py.test -v -v -x -k testing/test_basic_api.py || die "tests failed under ${EPYTHON}"
62 - py.test -v -v -x -k testing/test_functions.py || die "tests failed under ${EPYTHON}"
63 - py.test -v -v -x -k testing/test_main.py || die "tests failed under ${EPYTHON}"
64 - py.test -v -v -x -k testing/test_regressions.py || die "tests failed under ${EPYTHON}"
65 - if use git; then
66 - py.test -v -v -x -k testing/test_git.py || die "tests failed under ${EPYTHON}"
67 - fi
68 - if use mercurial; then
69 - py.test -v -v -x -k testing/test_mercurial.py || die "tests failed under ${EPYTHON}"
70 - fi
71 -}
72
73 diff --git a/dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild b/dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild
74 deleted file mode 100644
75 index f5cf1c3d616..00000000000
76 --- a/dev-python/setuptools_scm/setuptools_scm-3.2.0.ebuild
77 +++ /dev/null
78 @@ -1,46 +0,0 @@
79 -# Copyright 1999-2020 Gentoo Authors
80 -# Distributed under the terms of the GNU General Public License v2
81 -
82 -EAPI=6
83 -
84 -PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
85 -
86 -inherit distutils-r1
87 -
88 -DESCRIPTION="package to manage versions by scm tags via setuptools"
89 -HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.org/project/setuptools_scm/"
90 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
91 -
92 -LICENSE="MIT"
93 -SLOT="0"
94 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
95 -IUSE="test"
96 -RESTRICT="!test? ( test )"
97 -
98 -DEPEND="
99 - dev-python/setuptools[${PYTHON_USEDEP}]
100 - test? (
101 - dev-python/pytest[${PYTHON_USEDEP}]
102 - dev-vcs/git
103 - dev-vcs/mercurial )"
104 -
105 -python_prepare_all() {
106 - # network access
107 - sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die
108 - # all fetch specific setuptools versions
109 - rm testing/test_setuptools_support.py || die
110 - # remove self-dependency
111 - sed -i -e "/arguments\.update/s@scm_config()@{'version': '${PV}'}@" \
112 - -e "/__main__/i del sys.path[0]" setup.py || die
113 -
114 - distutils-r1_python_prepare_all
115 -}
116 -
117 -python_test() {
118 - PYTHONPATH= distutils_install_for_testing
119 - py.test -v -v -x || die "Tests fail with ${EPYTHON}"
120 -}
121 -
122 -python_install() {
123 - PYTHONPATH= distutils-r1_python_install
124 -}
125
126 diff --git a/dev-python/setuptools_scm/setuptools_scm-3.4.3.ebuild b/dev-python/setuptools_scm/setuptools_scm-3.4.3.ebuild
127 deleted file mode 100644
128 index bbb1fc3532d..00000000000
129 --- a/dev-python/setuptools_scm/setuptools_scm-3.4.3.ebuild
130 +++ /dev/null
131 @@ -1,40 +0,0 @@
132 -# Copyright 1999-2020 Gentoo Authors
133 -# Distributed under the terms of the GNU General Public License v2
134 -
135 -EAPI=7
136 -
137 -DISTUTILS_USE_SETUPTOOLS=rdepend
138 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
139 -
140 -inherit distutils-r1
141 -
142 -DESCRIPTION="Manage versions by scm tags via setuptools"
143 -HOMEPAGE="https://github.com/pypa/setuptools_scm https://pypi.org/project/setuptools_scm/"
144 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
145 -
146 -LICENSE="MIT"
147 -SLOT="0"
148 -KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
149 -IUSE="test"
150 -RESTRICT="!test? ( test )"
151 -
152 -BDEPEND="
153 - test? (
154 - dev-python/pytest[${PYTHON_USEDEP}]
155 - dev-python/toml[${PYTHON_USEDEP}]
156 - dev-vcs/git
157 - dev-vcs/mercurial )"
158 -
159 -python_prepare_all() {
160 - # network access
161 - sed -i -e 's:test_pip_download:_&:' testing/test_regressions.py || die
162 - # all fetch specific setuptools versions
163 - rm testing/test_setuptools_support.py || die
164 -
165 - distutils-r1_python_prepare_all
166 -}
167 -
168 -python_test() {
169 - distutils_install_for_testing
170 - pytest -v -v -x || die "Tests fail with ${EPYTHON}"
171 -}