Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-functools/
Date: Tue, 31 Dec 2019 15:18:40
Message-Id: 1577805504.0b6407c836e79db760bd66a82f4773c9ff840f86.sbraz@gentoo
1 commit: 0b6407c836e79db760bd66a82f4773c9ff840f86
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 14:59:57 2019 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 31 15:18:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b6407c8
7
8 dev-python/jaraco-functools: remove old
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
12
13 dev-python/jaraco-functools/Manifest | 1 -
14 .../jaraco-functools-1.20-r1.ebuild | 61 --------------------
15 .../jaraco-functools/jaraco-functools-2.0.ebuild | 65 ----------------------
16 3 files changed, 127 deletions(-)
17
18 diff --git a/dev-python/jaraco-functools/Manifest b/dev-python/jaraco-functools/Manifest
19 index 597fadef0c2..21e02291b87 100644
20 --- a/dev-python/jaraco-functools/Manifest
21 +++ b/dev-python/jaraco-functools/Manifest
22 @@ -1,4 +1,3 @@
23 DIST jaraco.functools-1.19.tar.gz 10588 BLAKE2B c71eb4e0c611f6a0bd82e04cacb7933961ba5e50091439c274bd8ceeda68b69789423994fe43f44af6cdd643b7a04418bc32ce2f937d118520298a019c5c6638 SHA512 7fbf1956ff8a132021e1f7fae5e98f40199a5d0e705b08b44ad5b2588fdd7d1088db9d7457b985c1852b50285a8f03cc9795fff0c4f53f9155f7c8ec371ff307
24 -DIST jaraco.functools-1.20.tar.gz 11063 BLAKE2B c202c3cda86c0f32fb3299a083ebb8d584eec444d9d8f0eff536f5e663634dab03c5831aef18d683dddde7eafff311b66a724d9004ad46f5ef92e90df16a9c7d SHA512 ba17b567dfcadb0d8ff1cc7a6ed07f2a23abfd42e73f3d815a6fa19d9be97d6af0c90bff7fb5e7ef67012ea5d931e9babc963da8a7105ba6a92d5c43c7126e04
25 DIST jaraco.functools-2.0.tar.gz 14340 BLAKE2B 560490b1150c2385f9c4d468fe7ab4fa84475ad43e1ebed784343a71742976ed0c18df3f6240b1d5b69106a6835c0248838331a654f9d3fdc863622c3dda33be SHA512 dce30c08f0e9f3c7b682c78fc3a46a26d9972706f4c8449a12ba11aa5ed130c6d9ca405213fd93b6b4110ef9cea549e5fa925c96bfaf18681cd6957d8ba0889f
26 DIST jaraco.functools-3.0.0.tar.gz 15618 BLAKE2B dbf542148d18069e7e78c718f3f6b62c7a07c674c96d54dfb3c1cebded13f6e24ca579844453352d001d312e718acf58d311c198076e85217362ee1a1446dc23 SHA512 f1ec725e132477f7361f7d0a77f72b69603499c24df25c9e8e0cc9a6d34a4bd4bb10fde60dc324b8176c46035e2babde04de90fcb0aa82273bc2f8559b8b31f5
27
28 diff --git a/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild b/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild
29 deleted file mode 100644
30 index fba36e00fdd..00000000000
31 --- a/dev-python/jaraco-functools/jaraco-functools-1.20-r1.ebuild
32 +++ /dev/null
33 @@ -1,61 +0,0 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( pypy3 python{2_7,3_{5,6,7}} )
40 -
41 -inherit distutils-r1
42 -
43 -MY_PN="${PN/-/.}"
44 -DESCRIPTION="Additional functions used by other projects by developer jaraco"
45 -HOMEPAGE="https://github.com/jaraco/jaraco.functools"
46 -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~arm64 ~x86"
51 -IUSE="doc test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND="
55 - <dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
56 - dev-python/more-itertools[${PYTHON_USEDEP}]
57 - $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7)
58 -"
59 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
60 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
61 - doc? (
62 - >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
63 - >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
64 - dev-python/sphinx[${PYTHON_USEDEP}]
65 - )
66 - test? (
67 - ${RDEPEND}
68 - >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
69 - dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
70 - dev-python/jaraco-classes[${PYTHON_USEDEP}]
71 - dev-python/six[${PYTHON_USEDEP}]
72 - )
73 -"
74 -
75 -S="${WORKDIR}/${MY_PN}-${PV}"
76 -
77 -python_compile_all() {
78 - if use doc; then
79 - cd docs || die
80 - sphinx-build . _build/html || die
81 - HTML_DOCS=( docs/_build/html/. )
82 - fi
83 -}
84 -
85 -python_test() {
86 - # Override pytest options to skip flake8
87 - PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \
88 - || die "tests failed with ${EPYTHON}"
89 - }
90 -
91 -python_install_all() {
92 - distutils-r1_python_install_all
93 - find "${ED}" -name '*.pth' -delete || die
94 -}
95
96 diff --git a/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild b/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild
97 deleted file mode 100644
98 index 5811de735c6..00000000000
99 --- a/dev-python/jaraco-functools/jaraco-functools-2.0.ebuild
100 +++ /dev/null
101 @@ -1,65 +0,0 @@
102 -# Copyright 1999-2019 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=7
106 -
107 -PYTHON_COMPAT=( pypy3 python{2_7,3_{5,6,7}} )
108 -
109 -inherit distutils-r1
110 -
111 -MY_PN="${PN/-/.}"
112 -DESCRIPTION="Additional functions used by other projects by developer jaraco"
113 -HOMEPAGE="https://github.com/jaraco/jaraco.functools"
114 -SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
115 -
116 -LICENSE="MIT"
117 -SLOT="0"
118 -KEYWORDS="~amd64 ~arm64 ~x86"
119 -IUSE="doc test"
120 -RESTRICT="!test? ( test )"
121 -
122 -RDEPEND="
123 - >=dev-python/namespace-jaraco-2[${PYTHON_USEDEP}]
124 - dev-python/more-itertools[${PYTHON_USEDEP}]
125 - $(python_gen_cond_dep 'dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]' python2_7)
126 -"
127 -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
128 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
129 - doc? (
130 - >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
131 - >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
132 - dev-python/sphinx[${PYTHON_USEDEP}]
133 - )
134 - test? (
135 - ${RDEPEND}
136 - >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
137 - dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
138 - dev-python/jaraco-classes[${PYTHON_USEDEP}]
139 - dev-python/six[${PYTHON_USEDEP}]
140 - )
141 -"
142 -
143 -S="${WORKDIR}/${MY_PN}-${PV}"
144 -
145 -PATCHES=( "${FILESDIR}/${P}-fix-py37-tests.patch" )
146 -
147 -python_compile_all() {
148 - if use doc; then
149 - cd docs || die
150 - sphinx-build . _build/html || die
151 - HTML_DOCS=( docs/_build/html/. )
152 - fi
153 -}
154 -
155 -python_test() {
156 - # Override pytest options to skip flake8
157 - PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \
158 - || die "tests failed with ${EPYTHON}"
159 -}
160 -
161 -# https://wiki.gentoo.org/wiki/Project:Python/Namespace_packages#File_collisions_between_pkgutil-style_packages
162 -python_install() {
163 - rm "${BUILD_DIR}"/lib/jaraco/__init__.py || die
164 - # note: eclass may default to --skip-build in the future
165 - distutils-r1_python_install --skip-build
166 -}