Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/
Date: Fri, 20 Oct 2017 22:40:23
Message-Id: 1508539191.50877c698ea87d0719894992b212930e20d3a478.asturm@gentoo
1 commit: 50877c698ea87d0719894992b212930e20d3a478
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 20 22:31:24 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 20 22:39:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50877c69
7
8 net-libs/libtorrent-rasterbar: Drop old
9
10 Package-Manager: Portage-2.3.12, Repoman-2.3.3
11
12 net-libs/libtorrent-rasterbar/Manifest | 1 -
13 .../libtorrent-rasterbar-1.1.4.ebuild | 102 ---------------------
14 .../libtorrent-rasterbar-1.1.5.ebuild | 102 ---------------------
15 3 files changed, 205 deletions(-)
16
17 diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest
18 index 1756004f70a..adec638e701 100644
19 --- a/net-libs/libtorrent-rasterbar/Manifest
20 +++ b/net-libs/libtorrent-rasterbar/Manifest
21 @@ -1,4 +1,3 @@
22 DIST libtorrent-rasterbar-1.0.10.tar.gz 3324494 SHA256 a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e SHA512 08976239ec12e2d67a974dadf3f16330f48e4b6de314f9d97c5fbbdbc696b76b6b1f8e20ceab6830d46d17b1bfd7e2fe4048fb1a5a97ece12c242c0cd0f7ded2 WHIRLPOOL 1e4ef2fb41eef0b825bd7c8c665638e3f689c3cefca3caa18a01c328caad9d31cd417fb49d25a7d55da6457a89e35a891427d70fb4f4d070c74be2e2e0347a60
23 DIST libtorrent-rasterbar-1.0.11.tar.gz 3325786 SHA256 828d686770346f6da2c143c5a2844c5f5e407eb4a37982e90022763508abd62f SHA512 770d16b241174ae4b121af9b2ac7bcde8b14c6ed99352b827b760a3cbdc2c0ebd0d505319762897720c5f72acdff506ee9948ac1140e6d4591805eca5439b184 WHIRLPOOL e56bfe0830cfc7776436552171b14b08913d99a2c726c9eefa828027caaa96d9c3d97e6442a3b53f315eaa3e7e0f68175d813dbab1d6de1da5937054fc6cac9c
24 -DIST libtorrent-rasterbar-1.1.4.tar.gz 3917557 SHA256 ccf42367803a6df7edcf4756d1f7d0a9ce6158ec33b851b3b58fd470ac4eeba6 SHA512 50f5dfffbd9e6ba21dbe328be17962f29088a326c2c2bf177e1137ed2900323b9a5bae75ee63635404928452f206c72dd4f9100438a6b802bd36b11430e51bc3 WHIRLPOOL f1231e97cdaf820910dafbaf83f9edadf3b70a8fadc71b370e9813d9b9893e6ee893fccfc71a20438ca0b138ac9035c220b656843e7af2755451bf6587f07fc5
25 DIST libtorrent-rasterbar-1.1.5.tar.gz 3942894 SHA256 103134068389155a0f2bccaca72a57765460eb8188495089dcad280dcf426930 SHA512 d0e7fe944c8a396aaf79ce80c7513be07a855bc8a9eee3bca46ed83d5e190aaa5ea4dc9a8a7208e27e18ae8f15733e6e34eabd375f0bde43d4dc4607840782e7 WHIRLPOOL 1f78afceb67a69418d2afac915616812fe3a223c548ba2baf7e643fc5e63c79bd87998473ac4b6cab6ac0093d7f43ac91bcfba41c9d6ce0fc1ac46914fce74d2
26
27 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.4.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.4.ebuild
28 deleted file mode 100644
29 index 86fa8d7e920..00000000000
30 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.4.ebuild
31 +++ /dev/null
32 @@ -1,102 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
39 -PYTHON_REQ_USE="threads"
40 -DISTUTILS_OPTIONAL=true
41 -DISTUTILS_IN_SOURCE_BUILD=true
42 -
43 -inherit distutils-r1 eutils versionator
44 -
45 -MY_PV=$(replace_all_version_separators _)
46 -
47 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
48 -HOMEPAGE="http://libtorrent.org"
49 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz"
50 -
51 -LICENSE="BSD"
52 -SLOT="0/9"
53 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
54 -IUSE="debug +dht doc examples libressl python +ssl static-libs test"
55 -
56 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
57 -
58 -RDEPEND="
59 - dev-libs/boost:=[threads]
60 - virtual/libiconv
61 - examples? ( !net-p2p/mldonkey )
62 - python? (
63 - ${PYTHON_DEPS}
64 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
65 - )
66 - ssl? (
67 - !libressl? ( dev-libs/openssl:0= )
68 - libressl? ( dev-libs/libressl:= )
69 - )
70 -"
71 -DEPEND="${RDEPEND}
72 - sys-devel/libtool
73 -"
74 -
75 -src_prepare() {
76 - default
77 -
78 - # bug 578026
79 - # prepend -L${S}/... to ensure bindings link against the lib we just built
80 - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die
81 -
82 - # prepend -I${S}/... to ensure bindings use the right headers
83 - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die
84 -
85 - use python && distutils-r1_src_prepare
86 -}
87 -
88 -src_configure() {
89 - local myeconfargs=(
90 - $(use_enable debug)
91 - $(use_enable debug logging)
92 - $(use_enable debug disk-stats)
93 - $(use_enable dht dht $(usex debug logging yes))
94 - $(use_enable examples)
95 - $(use_enable ssl encryption)
96 - $(use_enable static-libs static)
97 - $(use_enable test tests)
98 - --with-libiconv
99 - )
100 - econf "${myeconfargs[@]}"
101 -
102 - if use python; then
103 - python_configure() {
104 - econf "${myeconfargs[@]}" \
105 - --enable-python-binding \
106 - --with-boost-python="${EPYTHON#python}"
107 - }
108 - distutils-r1_src_configure
109 - fi
110 -}
111 -
112 -src_compile() {
113 - default
114 -
115 - python_compile() {
116 - cd "${BUILD_DIR}/../bindings/python" || die
117 - distutils-r1_python_compile
118 - }
119 - use python && distutils-r1_src_compile
120 -}
121 -
122 -src_install() {
123 - use doc && HTML_DOCS+=( "${S}"/docs )
124 -
125 - default
126 -
127 - python_install() {
128 - cd "${BUILD_DIR}/../bindings/python" || die
129 - distutils-r1_python_install
130 - }
131 - use python && distutils-r1_src_install
132 -
133 - prune_libtool_files
134 -}
135
136 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.5.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.5.ebuild
137 deleted file mode 100644
138 index 86fa8d7e920..00000000000
139 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.5.ebuild
140 +++ /dev/null
141 @@ -1,102 +0,0 @@
142 -# Copyright 1999-2017 Gentoo Foundation
143 -# Distributed under the terms of the GNU General Public License v2
144 -
145 -EAPI=6
146 -
147 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
148 -PYTHON_REQ_USE="threads"
149 -DISTUTILS_OPTIONAL=true
150 -DISTUTILS_IN_SOURCE_BUILD=true
151 -
152 -inherit distutils-r1 eutils versionator
153 -
154 -MY_PV=$(replace_all_version_separators _)
155 -
156 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
157 -HOMEPAGE="http://libtorrent.org"
158 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz"
159 -
160 -LICENSE="BSD"
161 -SLOT="0/9"
162 -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
163 -IUSE="debug +dht doc examples libressl python +ssl static-libs test"
164 -
165 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
166 -
167 -RDEPEND="
168 - dev-libs/boost:=[threads]
169 - virtual/libiconv
170 - examples? ( !net-p2p/mldonkey )
171 - python? (
172 - ${PYTHON_DEPS}
173 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
174 - )
175 - ssl? (
176 - !libressl? ( dev-libs/openssl:0= )
177 - libressl? ( dev-libs/libressl:= )
178 - )
179 -"
180 -DEPEND="${RDEPEND}
181 - sys-devel/libtool
182 -"
183 -
184 -src_prepare() {
185 - default
186 -
187 - # bug 578026
188 - # prepend -L${S}/... to ensure bindings link against the lib we just built
189 - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die
190 -
191 - # prepend -I${S}/... to ensure bindings use the right headers
192 - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die
193 -
194 - use python && distutils-r1_src_prepare
195 -}
196 -
197 -src_configure() {
198 - local myeconfargs=(
199 - $(use_enable debug)
200 - $(use_enable debug logging)
201 - $(use_enable debug disk-stats)
202 - $(use_enable dht dht $(usex debug logging yes))
203 - $(use_enable examples)
204 - $(use_enable ssl encryption)
205 - $(use_enable static-libs static)
206 - $(use_enable test tests)
207 - --with-libiconv
208 - )
209 - econf "${myeconfargs[@]}"
210 -
211 - if use python; then
212 - python_configure() {
213 - econf "${myeconfargs[@]}" \
214 - --enable-python-binding \
215 - --with-boost-python="${EPYTHON#python}"
216 - }
217 - distutils-r1_src_configure
218 - fi
219 -}
220 -
221 -src_compile() {
222 - default
223 -
224 - python_compile() {
225 - cd "${BUILD_DIR}/../bindings/python" || die
226 - distutils-r1_python_compile
227 - }
228 - use python && distutils-r1_src_compile
229 -}
230 -
231 -src_install() {
232 - use doc && HTML_DOCS+=( "${S}"/docs )
233 -
234 - default
235 -
236 - python_install() {
237 - cd "${BUILD_DIR}/../bindings/python" || die
238 - distutils-r1_python_install
239 - }
240 - use python && distutils-r1_src_install
241 -
242 - prune_libtool_files
243 -}