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/python-xlib/
Date: Sat, 28 Mar 2020 21:11:55
Message-Id: 1585429882.68ac15fa1b968bb0bc48324db45012583385d9cb.mgorny@gentoo
1 commit: 68ac15fa1b968bb0bc48324db45012583385d9cb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 21:04:54 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 21:11:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ac15fa
7
8 dev-python/python-xlib: Remove redundant versions
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-xlib/Manifest | 2 -
13 .../python-xlib/python-xlib-0.15_rc1-r2.ebuild | 48 --------------------
14 dev-python/python-xlib/python-xlib-0.19.ebuild | 51 ----------------------
15 dev-python/python-xlib/python-xlib-0.23.ebuild | 41 -----------------
16 4 files changed, 142 deletions(-)
17
18 diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest
19 index efa7e2cfa34..9b2113fd735 100644
20 --- a/dev-python/python-xlib/Manifest
21 +++ b/dev-python/python-xlib/Manifest
22 @@ -1,4 +1,2 @@
23 -DIST python-xlib-0.15rc1.tar.gz 188750 BLAKE2B e35a1904975a6f5bbeb5ab5215f8ffaf87052b51a649c1c25455ef8039d5643e51195a801024b3717df930c486a126f0a055822b15b2f01d207b6a17fe01d5ba SHA512 e27f56e0d76fac534e6754b1e64316636b49859eb6c9ceef5952c8b42cf53bc798a705fa54c283c896324d9a23778beec583cb62984a6a43b024643a70f3fe3a
24 -DIST python-xlib-0.19.tar.bz2 188359 BLAKE2B ce7555b05ea84c5b74dcaa8457bfd1d8cd73d2c74e5a5a08e984fbe56ddb1036c26ecf669c67434eac31f7ff4aab723c5fe5672114cfa83f4693eb72835558b6 SHA512 070807eed50ce9a17926c36686dac5c143deff0b687a2967afade1a2f776d42ffbea0bbfad3a7480118ba7b1cf5ac0bb64978fdd3ca125c1df651af456dba5be
25 DIST python-xlib-0.23.tar.bz2 172744 BLAKE2B 81ded38baaa93da53ffede91f8b0579328e3cdae35b8a3436b8e0651d54c03f4972f3af621e3e17023fa50e57ce90d62cda7b59e459e0d883c8264a513c7d09a SHA512 5e97000e59459cc0e8f21f9c9ee525a064b316e1cbd6d1a5bdaed9edb178ffd124216c27b4a9f365471416e2548b4f7947bf1ebc9f75fe0c2266f37e7134a6c1
26 DIST python-xlib-0.26.tar.bz2 207058 BLAKE2B ff9562ca55233bb9ec6fbff19e1e7f4dcd39aa0f497c1aeccc21d50ccdecf8bddb7a6d556679fa133cb1721c7d1ebd41081325739d0f505571928ac74749bc42 SHA512 1f012861e657094323126f6065da4ff743728253625929676fc39ed8d2673e38b9f39f4be8ed2350c6d41a25a184a68489866c9a5edf07c87d62382651e6f884
27
28 diff --git a/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild b/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild
29 deleted file mode 100644
30 index 3c77f997b4a..00000000000
31 --- a/dev-python/python-xlib/python-xlib-0.15_rc1-r2.ebuild
32 +++ /dev/null
33 @@ -1,48 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=5
38 -
39 -PYTHON_COMPAT=( python2_7 )
40 -
41 -inherit distutils-r1
42 -
43 -MY_P="${P/_/}"
44 -S="${WORKDIR}/${MY_P}"
45 -
46 -DESCRIPTION="A fully functional X client library for Python, written in Python"
47 -HOMEPAGE="http://python-xlib.sourceforge.net/"
48 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
53 -IUSE="doc"
54 -
55 -python_prepare_all() {
56 - sed -e 's:make:$(MAKE):g' -i doc/Makefile || die
57 - cp -r "${FILESDIR}"/defs doc/src/ || die
58 -
59 - distutils-r1_python_prepare_all
60 -}
61 -
62 -python_compile_all() {
63 - if use doc; then
64 - cd doc || die
65 - VARTEXFONTS="${T}"/fonts emake html
66 - fi
67 -}
68 -
69 -python_test() {
70 - cd test || die
71 -
72 - local t
73 - for t in *.py; do
74 - "${PYTHON}" "${t}" || die
75 - done
76 -}
77 -
78 -python_install_all() {
79 - use doc && local HTML_DOCS=( doc/html/. )
80 - distutils-r1_python_install_all
81 -}
82
83 diff --git a/dev-python/python-xlib/python-xlib-0.19.ebuild b/dev-python/python-xlib/python-xlib-0.19.ebuild
84 deleted file mode 100644
85 index 463754e7962..00000000000
86 --- a/dev-python/python-xlib/python-xlib-0.19.ebuild
87 +++ /dev/null
88 @@ -1,51 +0,0 @@
89 -# Copyright 1999-2020 Gentoo Authors
90 -# Distributed under the terms of the GNU General Public License v2
91 -
92 -EAPI=6
93 -
94 -PYTHON_COMPAT=( python2_7 python3_6 )
95 -
96 -inherit distutils-r1
97 -
98 -DESCRIPTION="A fully functional X client library for Python, written in Python"
99 -HOMEPAGE="https://github.com/python-xlib/python-xlib"
100 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2"
101 -
102 -LICENSE="LGPL-2+"
103 -SLOT="0"
104 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
105 -IUSE="doc"
106 -
107 -RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
108 -DEPEND="${RDEPEND}
109 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
110 -
111 -# DISTUTILS_IN_SOURCE_BUILD=1
112 -
113 -python_prepare_all() {
114 - sed -e 's:make:$(MAKE):g' -i doc/Makefile || die
115 - cp -r "${FILESDIR}"/defs doc/src/ || die
116 -
117 - distutils-r1_python_prepare_all
118 -}
119 -
120 -python_compile_all() {
121 - if use doc; then
122 - cd doc || die
123 - VARTEXFONTS="${T}"/fonts emake html
124 - fi
125 -}
126 -
127 -python_test() {
128 - cd test || die
129 -
130 - local t
131 - for t in *.py; do
132 - "${EPYTHON}" "${t}" || die
133 - done
134 -}
135 -
136 -python_install_all() {
137 - use doc && local HTML_DOCS=( doc/html/. )
138 - distutils-r1_python_install_all
139 -}
140
141 diff --git a/dev-python/python-xlib/python-xlib-0.23.ebuild b/dev-python/python-xlib/python-xlib-0.23.ebuild
142 deleted file mode 100644
143 index 873077481d5..00000000000
144 --- a/dev-python/python-xlib/python-xlib-0.23.ebuild
145 +++ /dev/null
146 @@ -1,41 +0,0 @@
147 -# Copyright 1999-2020 Gentoo Authors
148 -# Distributed under the terms of the GNU General Public License v2
149 -
150 -EAPI=6
151 -
152 -PYTHON_COMPAT=( python2_7 python3_6 )
153 -
154 -inherit distutils-r1 virtualx
155 -
156 -DESCRIPTION="A fully functional X client library for Python, written in Python"
157 -HOMEPAGE="https://github.com/python-xlib/python-xlib"
158 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2"
159 -
160 -LICENSE="LGPL-2+"
161 -SLOT="0"
162 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
163 -IUSE="doc"
164 -
165 -RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
166 -DEPEND="${RDEPEND}
167 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
168 - doc? ( sys-apps/texinfo )"
169 -
170 -# DISTUTILS_IN_SOURCE_BUILD=1
171 -
172 -python_compile_all() {
173 - use doc && emake -C doc/info
174 -}
175 -
176 -src_test() {
177 - virtx distutils-r1_src_test
178 -}
179 -
180 -python_test() {
181 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
182 -}
183 -
184 -python_install_all() {
185 - use doc && doinfo doc/info/*.info
186 - distutils-r1_python_install_all
187 -}