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: Thu, 29 Nov 2018 18:36:09
Message-Id: 1543516556.1b7df8e49161d585c6bc90dbe7daf9f42126d918.zlogene@gentoo
1 commit: 1b7df8e49161d585c6bc90dbe7daf9f42126d918
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 29 18:35:40 2018 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 29 18:35:56 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7df8e4
7
8 net-libs/libtorrent-rasterbar: Drop old
9
10 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 net-libs/libtorrent-rasterbar/Manifest | 1 -
14 .../libtorrent-rasterbar-1.1.9.ebuild | 104 ---------------------
15 2 files changed, 105 deletions(-)
16
17 diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest
18 index 40153ffeebb..f4bd9639531 100644
19 --- a/net-libs/libtorrent-rasterbar/Manifest
20 +++ b/net-libs/libtorrent-rasterbar/Manifest
21 @@ -1,3 +1,2 @@
22 DIST libtorrent-rasterbar-1.1.10.tar.gz 3902542 BLAKE2B 3a78862ce2825c9da32ab38122db05c2816daa237559446a60702f562e971c5597210dfc2612235294cec3f60fa3de8cab3a0246887ac4779b01171a460f70f0 SHA512 414deeb9765bfb6072af5fa00ad836bfe3751622a80783ea84389e31355b342a4371f0dc195b2d27b154826e515b2e6063c8786f792afa347abba9caadaa5b2a
23 DIST libtorrent-rasterbar-1.1.11.tar.gz 4044314 BLAKE2B 96192ffdcb5bd1888307c874e2685314db9a99438337b0cb67ef317a2fe54b4a0e8e28fcdf34a1656a9abb69cc79f9bbda22cdedf1b8f2ba4f1b5488922c87b3 SHA512 1e0449406ea34b226033e3f54f719c5f2842043c7e54107e847050c67b1c5e9d2cb5a08fbf0e81c2c6e31eda6fe85c5ec0ff8ca47916c979894f778fc3313bb6
24 -DIST libtorrent-rasterbar-1.1.9.tar.gz 3903742 BLAKE2B a9f942e7d06e076dec98314bc44e8633731c51e8469095ebff8c9c8084305714ca40663a0d963f16188ba17fa640f273eaa1396784514bc04e4bc4cbcdc3aab2 SHA512 2dcf81fdf34b81790012a6c20dc344dccb89535359cffeb9a2725763f0a1842a00af1ae06b63e4e32054f06ceb14e32031afe479dc36897ddab28494241eb756
25
26 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.9.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.9.ebuild
27 deleted file mode 100644
28 index dea20892956..00000000000
29 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.1.9.ebuild
30 +++ /dev/null
31 @@ -1,104 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
38 -PYTHON_REQ_USE="threads"
39 -DISTUTILS_OPTIONAL=true
40 -DISTUTILS_IN_SOURCE_BUILD=true
41 -
42 -inherit distutils-r1 flag-o-matic
43 -
44 -MY_PV=$(ver_rs 1-2 '_')
45 -
46 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
47 -HOMEPAGE="http://libtorrent.org"
48 -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${MY_PV}/${P}.tar.gz"
49 -
50 -LICENSE="BSD"
51 -SLOT="0/9"
52 -KEYWORDS="amd64 ~arm ppc ppc64 ~sparc x86 ~x86-fbsd"
53 -IUSE="debug +dht doc examples libressl python +ssl static-libs test"
54 -
55 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
56 -
57 -RDEPEND="
58 - dev-libs/boost:=[threads]
59 - virtual/libiconv
60 - examples? ( !net-p2p/mldonkey )
61 - python? (
62 - ${PYTHON_DEPS}
63 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
64 - )
65 - ssl? (
66 - !libressl? ( dev-libs/openssl:0= )
67 - libressl? ( dev-libs/libressl:= )
68 - )
69 -"
70 -DEPEND="${RDEPEND}
71 - sys-devel/libtool
72 -"
73 -
74 -src_prepare() {
75 - default
76 -
77 - # bug 578026
78 - # prepend -L${S}/... to ensure bindings link against the lib we just built
79 - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die
80 -
81 - # prepend -I${S}/... to ensure bindings use the right headers
82 - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die
83 -
84 - use python && distutils-r1_src_prepare
85 -}
86 -
87 -src_configure() {
88 - append-cxxflags -std=c++11 # bug 634506
89 -
90 - local myeconfargs=(
91 - $(use_enable debug)
92 - $(use_enable debug logging)
93 - $(use_enable debug disk-stats)
94 - $(use_enable dht dht $(usex debug logging $(usex ('yes' 'no'))))
95 - $(use_enable examples)
96 - $(use_enable ssl encryption)
97 - $(use_enable static-libs static)
98 - $(use_enable test tests)
99 - --with-libiconv
100 - )
101 - econf "${myeconfargs[@]}"
102 -
103 - if use python; then
104 - python_configure() {
105 - econf "${myeconfargs[@]}" \
106 - --enable-python-binding \
107 - --with-boost-python="${EPYTHON#python}"
108 - }
109 - distutils-r1_src_configure
110 - fi
111 -}
112 -
113 -src_compile() {
114 - default
115 -
116 - python_compile() {
117 - cd "${BUILD_DIR}/../bindings/python" || die
118 - distutils-r1_python_compile
119 - }
120 - use python && distutils-r1_src_compile
121 -}
122 -
123 -src_install() {
124 - use doc && HTML_DOCS+=( "${S}"/docs )
125 -
126 - default
127 -
128 - python_install() {
129 - cd "${BUILD_DIR}/../bindings/python" || die
130 - distutils-r1_python_install
131 - }
132 - use python && distutils-r1_src_install
133 -
134 - find "${D}" -name '*.la' -delete || die
135 -}