Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/
Date: Sun, 30 Aug 2020 12:04:22
Message-Id: 1598789055.f724e4c7792e71caa97952619fe6c811adfdd24f.zlogene@gentoo
1 commit: f724e4c7792e71caa97952619fe6c811adfdd24f
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 11:51:01 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 12:04:15 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f724e4c7
7
8 net-libs/libtorrent-rasterbar: Dro old
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-libs/libtorrent-rasterbar/Manifest | 2 -
14 .../libtorrent-rasterbar-1.2.7.ebuild | 110 --------------------
15 .../libtorrent-rasterbar-1.2.8.ebuild | 111 ---------------------
16 3 files changed, 223 deletions(-)
17
18 diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest
19 index 3ca7975df12..943bbb279ef 100644
20 --- a/net-libs/libtorrent-rasterbar/Manifest
21 +++ b/net-libs/libtorrent-rasterbar/Manifest
22 @@ -1,5 +1,3 @@
23 -DIST libtorrent-1.2.8.tar.gz 3583174 BLAKE2B ead7e28f7c29422526f8eab5611d98ba9a6d3827edf45c3819951a7ffb6f360debb818083bf0fa46e573005c3b9df3d3b4b3515c0498515449708b166e181705 SHA512 2a36412fb399f066de9768f4afd87ddbfc10fcd2a0b3a8be0a43bec6914497e71d9d4ffe4ff8ccc5544a048f799ccba6ce086ab6199f4dee66d1341f02d73f9a
24 DIST libtorrent-1.2.9.tar.gz 3584800 BLAKE2B 5160056e227a54992ca4e490ffe0088d080aa9bade7a76f55eac26a644bab720c39a70b90d94f465ec711893249a084d9f77fa496be770585094b9b3ea4a1cdd SHA512 c547d96470f6a89f22adc0f5579ffb98b877a46f0a163698c49f1de57f23af60a7b0d3c1ca482e3ed8d3e35124d14a1d16a53e455f4d69f347fcb33c6ded75a8
25 DIST libtorrent-rasterbar-1.1.14.tar.gz 4040571 BLAKE2B 38ea1a71e46bf18c9beeb869280e4949b199ab58c32f41e63f1c15c7c32db0d256b741ea707350e9e153695b9cc28e0a95385944bf76dbd5eb2055e66bb0f919 SHA512 b640ada016f8e68a3fb0e033dd33ab79b345b0f691aa722c4256b8cd8524c6e55067ccd1f11584984bbb82c0f64151f0b5223bd2b8431b899ffca46d2d31fff5
26 DIST libtorrent-rasterbar-1.2.6.tar.gz 3611015 BLAKE2B 39323c223927272a4eb9bb93ad70acd62165b9b3eb3f4f45cb76f99a23b1e131b526c8d8370fbd7cc30c7e776a5f9b7990c989ceaa3566272adc25df639fc5ba SHA512 9f03e28449b08e18a98a1f1bf0571f470c56fabd2becde5bde56ad566611c8519b0b387939f285a552d1f0382446633b67d00b6b5ff7083e4d1420a3ce9232fc
27 -DIST libtorrent-rasterbar-1.2.7.tar.gz 4105179 BLAKE2B 126bb0b287c0573f755e918b3cf32a0a98c14b3b41f676d7842ea58deecc141b046b4bc18579cb9c20b324fb1361794ee6afedeff64d0b76f1bb6a95b82e10f7 SHA512 60dfb31b1300b3aa2219227b3a263ba73aedb54a90aa940c117027651779cb972d6e1badf9519f6ad7947233b54df608b829bab34493ceda9e4cb8913041a752
28
29 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.7.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.7.ebuild
30 deleted file mode 100644
31 index d2ce70951e8..00000000000
32 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.7.ebuild
33 +++ /dev/null
34 @@ -1,110 +0,0 @@
35 -# Copyright 1999-2020 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=7
39 -
40 -PYTHON_COMPAT=( python3_{7,8} )
41 -PYTHON_REQ_USE="threads(+)"
42 -DISTUTILS_OPTIONAL=true
43 -DISTUTILS_IN_SOURCE_BUILD=true
44 -
45 -inherit autotools distutils-r1
46 -
47 -MY_PV=$(ver_rs 1-2 '_')
48 -
49 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
50 -HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
51 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent_${MY_PV}/${P}.tar.gz"
52 -
53 -LICENSE="BSD"
54 -SLOT="0/10"
55 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
56 -IUSE="debug +dht doc examples libressl python +ssl static-libs test"
57 -
58 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
59 -
60 -RESTRICT="!test? ( test )"
61 -
62 -RDEPEND="
63 - dev-libs/boost:=[threads]
64 - virtual/libiconv
65 - examples? ( !net-p2p/mldonkey )
66 - python? (
67 - ${PYTHON_DEPS}
68 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
69 - )
70 - ssl? (
71 - !libressl? ( dev-libs/openssl:0= )
72 - libressl? ( dev-libs/libressl:= )
73 - )
74 -"
75 -DEPEND="${RDEPEND}
76 - sys-devel/libtool
77 -"
78 -
79 -src_prepare() {
80 - touch "${S}"/build-aux/config.rpath || die
81 - eautoreconf
82 -
83 - default
84 -
85 - # bug 578026
86 - # prepend -L${S}/... to ensure bindings link against the lib we just built
87 - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die
88 -
89 - # prepend -I${S}/... to ensure bindings use the right headers
90 - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die
91 -
92 - use python && distutils-r1_src_prepare
93 -}
94 -
95 -src_configure() {
96 -
97 - local myeconfargs=(
98 - $(use_enable debug)
99 - $(use_enable debug export-all)
100 - $(use_enable debug logging)
101 - $(use_enable dht)
102 - $(use_enable examples)
103 - $(use_enable ssl encryption)
104 - $(use_enable static-libs static)
105 - $(use_enable test tests)
106 - --with-boost
107 - --with-libiconv
108 - --enable-logging
109 - )
110 - econf "${myeconfargs[@]}"
111 -
112 - if use python; then
113 - python_configure() {
114 - econf "${myeconfargs[@]}" \
115 - --enable-python-binding \
116 - --with-boost-python="boost_${EPYTHON/./}"
117 - }
118 - distutils-r1_src_configure
119 - fi
120 -}
121 -
122 -src_compile() {
123 - default
124 -
125 - python_compile() {
126 - cd "${BUILD_DIR}/../bindings/python" || die
127 - distutils-r1_python_compile
128 - }
129 - use python && distutils-r1_src_compile
130 -}
131 -
132 -src_install() {
133 - use doc && HTML_DOCS+=( "${S}"/docs )
134 -
135 - default
136 -
137 - python_install() {
138 - cd "${BUILD_DIR}/../bindings/python" || die
139 - distutils-r1_python_install
140 - }
141 - use python && distutils-r1_src_install
142 -
143 - find "${D}" -name '*.la' -delete || die
144 -}
145
146 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.8.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.8.ebuild
147 deleted file mode 100644
148 index ec2c3393a34..00000000000
149 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.8.ebuild
150 +++ /dev/null
151 @@ -1,111 +0,0 @@
152 -# Copyright 1999-2020 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=7
156 -
157 -PYTHON_COMPAT=( python3_{7,8} )
158 -PYTHON_REQ_USE="threads(+)"
159 -DISTUTILS_OPTIONAL=true
160 -DISTUTILS_IN_SOURCE_BUILD=true
161 -
162 -inherit autotools distutils-r1
163 -
164 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
165 -HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
166 -SRC_URI="https://github.com/arvidn/libtorrent/archive/libtorrent-${PV}.tar.gz"
167 -
168 -LICENSE="BSD"
169 -SLOT="0/10"
170 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
171 -IUSE="debug +dht doc examples libressl python +ssl static-libs test"
172 -
173 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
174 -
175 -RESTRICT="!test? ( test )"
176 -
177 -S="${WORKDIR}/libtorrent-libtorrent-${PV}"
178 -
179 -RDEPEND="
180 - dev-libs/boost:=[threads]
181 - virtual/libiconv
182 - examples? ( !net-p2p/mldonkey )
183 - python? (
184 - ${PYTHON_DEPS}
185 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
186 - )
187 - ssl? (
188 - !libressl? ( dev-libs/openssl:0= )
189 - libressl? ( dev-libs/libressl:= )
190 - )
191 -"
192 -DEPEND="${RDEPEND}
193 - sys-devel/libtool
194 -"
195 -
196 -src_prepare() {
197 - mkdir -p "${S}"/build-aux || die
198 - touch "${S}"/build-aux/config.rpath || die
199 - eautoreconf
200 -
201 - default
202 -
203 - # bug 578026
204 - # prepend -L${S}/... to ensure bindings link against the lib we just built
205 - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die
206 -
207 - # prepend -I${S}/... to ensure bindings use the right headers
208 - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die
209 -
210 - use python && distutils-r1_src_prepare
211 -}
212 -
213 -src_configure() {
214 -
215 - local myeconfargs=(
216 - $(use_enable debug)
217 - $(use_enable debug export-all)
218 - $(use_enable debug logging)
219 - $(use_enable dht)
220 - $(use_enable examples)
221 - $(use_enable ssl encryption)
222 - $(use_enable static-libs static)
223 - $(use_enable test tests)
224 - --with-boost
225 - --with-libiconv
226 - --enable-logging
227 - )
228 - econf "${myeconfargs[@]}"
229 -
230 - if use python; then
231 - python_configure() {
232 - econf "${myeconfargs[@]}" \
233 - --enable-python-binding \
234 - --with-boost-python="boost_${EPYTHON/./}"
235 - }
236 - distutils-r1_src_configure
237 - fi
238 -}
239 -
240 -src_compile() {
241 - default
242 -
243 - python_compile() {
244 - cd "${BUILD_DIR}/../bindings/python" || die
245 - distutils-r1_python_compile
246 - }
247 - use python && distutils-r1_src_compile
248 -}
249 -
250 -src_install() {
251 - use doc && HTML_DOCS+=( "${S}"/docs )
252 -
253 - default
254 -
255 - python_install() {
256 - cd "${BUILD_DIR}/../bindings/python" || die
257 - distutils-r1_python_install
258 - }
259 - use python && distutils-r1_src_install
260 -
261 - find "${D}" -name '*.la' -delete || die
262 -}