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-lzo/files/, dev-python/python-lzo/
Date: Wed, 05 Feb 2020 20:47:28
Message-Id: 1580935620.d4c86f3cbfbca1480046fc19bac0aba56975f276.mgorny@gentoo
1 commit: d4c86f3cbfbca1480046fc19bac0aba56975f276
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 5 20:22:50 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 5 20:47:00 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c86f3c
7
8 dev-python/python-lzo: Remove old (py2)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/python-lzo/Manifest | 2 --
13 dev-python/python-lzo/files/lzo2compat.patch | 13 ---------
14 dev-python/python-lzo/python-lzo-1.08-r1.ebuild | 28 -------------------
15 dev-python/python-lzo/python-lzo-1.11.ebuild | 34 -----------------------
16 dev-python/python-lzo/python-lzo-1.12.ebuild | 36 -------------------------
17 5 files changed, 113 deletions(-)
18
19 diff --git a/dev-python/python-lzo/Manifest b/dev-python/python-lzo/Manifest
20 index 221e08149a2..c07bc18d739 100644
21 --- a/dev-python/python-lzo/Manifest
22 +++ b/dev-python/python-lzo/Manifest
23 @@ -1,3 +1 @@
24 -DIST python-lzo-1.08.tar.gz 13046 BLAKE2B ce4e2d2b1497ed93cdc15d157228bd7b3b6395b19808ac9c91ebfc3da6506a0af4d4e770f6e13a23e6ffd6f38cb2fd6e91f949d44680a6ea236e4c3704fb43aa SHA512 94b33e3b0e62b9c8a97147507f4516706d25d62c63ea938f0748e520a3e27760f0e3be142cb3e68aea132ae06759c91b3a4dac8e5010cdfab633e6c8d5904d8c
25 -DIST python-lzo-1.11.tar.gz 13823 BLAKE2B 4be60c85aae64e8837f7f8ec332c16f8c86d2e8b2e965e783cb9b0c6c942aa13750dc194679b71a6a0d733bee66313b8ca376853cee7063a46567222f80daa7e SHA512 580c68d2a5fdc43f6cb904507795c25b686c42074f217d067f51b336afa75d3eea10fcb7925c84aea352ce4383c591ff70583bef6c2fbc74116487ae87e1f87f
26 DIST python-lzo-1.12.tar.gz 14042 BLAKE2B 7375e9b200a17cc1ad2c4dfdbe6491082af8d120b2b659b1e9bbff00eaae568e04dc12e5c13de3a028267a1e8e02bd1522a9335db73fa6a5a4ebc7ca4b341fff SHA512 811bdb282cfaf33427ad641d0342900c5af1f17b7033d76593288c3846b0feefe6ef93253152add97b2d6420f937de2745c8e7508dadf33e72b11545cac3be4d
27
28 diff --git a/dev-python/python-lzo/files/lzo2compat.patch b/dev-python/python-lzo/files/lzo2compat.patch
29 deleted file mode 100644
30 index 6ce728753df..00000000000
31 --- a/dev-python/python-lzo/files/lzo2compat.patch
32 +++ /dev/null
33 @@ -1,13 +0,0 @@
34 ---- setup.py
35 -+++ setup.py
36 -@@ -24,8 +24,8 @@
37 - include_dirs.append(os.path.join(CURL_DIR, "include"))
38 - extra_objects.append(os.path.join(CURL_DIR, "lzo.lib"))
39 - else:
40 -- libraries = ["lzo"]
41 -- ##include_dirs.append("/usr/local/include")
42 -+ libraries = ["lzo2"]
43 -+ include_dirs.append("/usr/include/lzo")
44 - ##library_dirs.append("/usr/local/lib")
45 - ##runtime_library_dirs.append("/usr/local/lib")
46 -
47
48 diff --git a/dev-python/python-lzo/python-lzo-1.08-r1.ebuild b/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
49 deleted file mode 100644
50 index 2c2c9210601..00000000000
51 --- a/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
52 +++ /dev/null
53 @@ -1,28 +0,0 @@
54 -# Copyright 1999-2017 Gentoo Foundation
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=5
58 -PYTHON_COMPAT=( python2_7 )
59 -
60 -inherit distutils-r1 eutils prefix
61 -
62 -DESCRIPTION="Python interface to lzo"
63 -HOMEPAGE="http://www.oberhumer.com/opensource/lzo/"
64 -SRC_URI="http://www.oberhumer.com/opensource/lzo/download/LZO-v1/${P}.tar.gz"
65 -
66 -LICENSE="GPL-2"
67 -SLOT="0"
68 -KEYWORDS="amd64 x86"
69 -IUSE=""
70 -
71 -DEPEND="dev-libs/lzo:2"
72 -RDEPEND="${DEPEND}"
73 -
74 -python_test() {
75 - "${PYTHON}" tests/test.py || die "tests failed"
76 -}
77 -
78 -src_prepare() {
79 - epatch "$(PREFIX_LINE_MATCH='/##/!' \
80 - prefixify_ro "${FILESDIR}"/lzo2compat.patch)"
81 -}
82
83 diff --git a/dev-python/python-lzo/python-lzo-1.11.ebuild b/dev-python/python-lzo/python-lzo-1.11.ebuild
84 deleted file mode 100644
85 index a335c433c10..00000000000
86 --- a/dev-python/python-lzo/python-lzo-1.11.ebuild
87 +++ /dev/null
88 @@ -1,34 +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=( python{2_7,3_6} )
95 -
96 -inherit distutils-r1 prefix
97 -
98 -DESCRIPTION="Python interface to lzo"
99 -HOMEPAGE="https://github.com/jd-boyd/python-lzo"
100 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
101 -
102 -LICENSE="GPL-2"
103 -SLOT="0"
104 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
105 -IUSE="test"
106 -RESTRICT="!test? ( test )"
107 -
108 -RDEPEND="dev-libs/lzo:2"
109 -DEPEND="${RDEPEND}
110 - dev-python/setuptools[${PYTHON_USEDEP}]
111 - test? ( dev-python/nose[${PYTHON_USEDEP}] )
112 -"
113 -
114 -src_prepare() {
115 - distutils-r1_src_prepare
116 - hprefixify setup.py
117 -}
118 -
119 -python_test() {
120 - distutils_install_for_testing
121 - PYTHONPATH="${TEST_DIR}"/lib nosetests -v || die "tests failed"
122 -}
123
124 diff --git a/dev-python/python-lzo/python-lzo-1.12.ebuild b/dev-python/python-lzo/python-lzo-1.12.ebuild
125 deleted file mode 100644
126 index de8b68f68bb..00000000000
127 --- a/dev-python/python-lzo/python-lzo-1.12.ebuild
128 +++ /dev/null
129 @@ -1,36 +0,0 @@
130 -# Copyright 1999-2020 Gentoo Authors
131 -# Distributed under the terms of the GNU General Public License v2
132 -
133 -EAPI=6
134 -
135 -PYTHON_COMPAT=( python{2_7,3_6} )
136 -
137 -inherit distutils-r1 prefix
138 -
139 -DESCRIPTION="Python interface to lzo"
140 -HOMEPAGE="https://github.com/jd-boyd/python-lzo"
141 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
142 -
143 -LICENSE="GPL-2"
144 -SLOT="0"
145 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
146 -IUSE="test"
147 -RESTRICT="!test? ( test )"
148 -
149 -RDEPEND="
150 - dev-libs/lzo:2"
151 -
152 -DEPEND="
153 - ${RDEPEND}
154 - dev-python/setuptools[${PYTHON_USEDEP}]
155 - test? ( dev-python/nose[${PYTHON_USEDEP}] )"
156 -
157 -src_prepare() {
158 - distutils-r1_src_prepare
159 - hprefixify setup.py
160 -}
161 -
162 -python_test() {
163 - distutils_install_for_testing
164 - PYTHONPATH="${TEST_DIR}"/lib nosetests -v || die "tests failed"
165 -}