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: Tue, 31 Dec 2019 10:15:19
Message-Id: 1577787312.c08af51a98bec1b795fcf666b7ac28ddd452985e.zlogene@gentoo
1 commit: c08af51a98bec1b795fcf666b7ac28ddd452985e
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 10:14:47 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 31 10:15:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c08af51a
7
8 net-libs/libtorrent-rasterbar: Drop old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-libs/libtorrent-rasterbar/Manifest | 1 -
14 .../libtorrent-rasterbar-1.2.2-r1.ebuild | 112 ---------------------
15 2 files changed, 113 deletions(-)
16
17 diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest
18 index 4fd372278fa..d5e54c8bfec 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.13.tar.gz 3896007 BLAKE2B b94f843437be348b10082f19d0b416f909daf15078b1461ab6724ee086d3194f6c378c305174676a3399fc3e6cb23133faaa334ac5dfc9457fb597c65dad7d36 SHA512 021fc54353fdf5063d55ccdc2057dada292bb0008fb92e93e8d94dd89f529630f290fcdc4f4d095e3192522c57fe0f0da260b5ef8e8e15a8c6ac05728f5f7160
23 -DIST libtorrent-rasterbar-1.2.2.tar.gz 3584187 BLAKE2B 93c77544d4641122f0bd2b5c5f0577629fb7bdfc9e81bd54f7a849f5a477255adc699676516865c93610d24a830a26a0de45f10e50ce64ad6f0214c116f7754c SHA512 34dcf5421dfccbba78bdd30890b9c18b92fdee1a2e1693ada9b55b79a167730093862017581b9251a654b5517011dbe4c46b520b03b78aa86a909457f7edcf2c
24 DIST libtorrent-rasterbar-1.2.3.tar.gz 3591081 BLAKE2B 9766a21c948997b35c6d209940a2d2cfd76b130f1a9d1f611e07d3eeb27f634a3c5eca12c92261139200084b9678913d85f6a56f98ab6894e5def761615c39ad SHA512 11a81c9f4b968ed360740553f8d856a2fad4eb2f6962f6403394e0a4a6b198ef6f04ce92d11fc6bed9aa979c84efd03fb396027dfe6603f394104b4302e04d82
25
26 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.2-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.2-r1.ebuild
27 deleted file mode 100644
28 index 0f76d630b60..00000000000
29 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.2-r1.ebuild
30 +++ /dev/null
31 @@ -1,112 +0,0 @@
32 -# Copyright 1999-2019 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_{5,6,7} )
38 -PYTHON_REQ_USE="threads(+)"
39 -DISTUTILS_OPTIONAL=true
40 -DISTUTILS_IN_SOURCE_BUILD=true
41 -
42 -inherit autotools distutils-r1
43 -
44 -MY_PV=$(ver_rs 1-2 '_')
45 -MY_P=${PN/-rasterbar}-${MY_PV}
46 -
47 -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability"
48 -HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent"
49 -SRC_URI="https://github.com/arvidn/libtorrent/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
50 -
51 -LICENSE="BSD"
52 -SLOT="0/9"
53 -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86"
54 -IUSE="debug +dht doc examples libressl python +ssl static-libs test"
55 -
56 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
57 -
58 -RESTRICT="!test? ( test )"
59 -
60 -RDEPEND="
61 - dev-libs/boost:=[threads]
62 - virtual/libiconv
63 - examples? ( !net-p2p/mldonkey )
64 - python? (
65 - ${PYTHON_DEPS}
66 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
67 - )
68 - ssl? (
69 - !libressl? ( dev-libs/openssl:0= )
70 - libressl? ( dev-libs/libressl:= )
71 - )
72 -"
73 -DEPEND="${RDEPEND}
74 - sys-devel/libtool
75 -"
76 -
77 -S="${WORKDIR}/${PN/-rasterbar}-${MY_P}"
78 -
79 -src_prepare() {
80 - mkdir "${S}"/build-aux/ || die
81 - touch "${S}"/build-aux/config.rpath || die
82 - eautoreconf
83 -
84 - default
85 -
86 - # bug 578026
87 - # prepend -L${S}/... to ensure bindings link against the lib we just built
88 - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die
89 -
90 - # prepend -I${S}/... to ensure bindings use the right headers
91 - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die
92 -
93 - use python && distutils-r1_src_prepare
94 -}
95 -
96 -src_configure() {
97 -
98 - local myeconfargs=(
99 - $(use_enable debug)
100 - $(use_enable debug export-all)
101 - $(use_enable debug logging)
102 - $(use_enable dht)
103 - $(use_enable examples)
104 - $(use_enable ssl encryption)
105 - $(use_enable static-libs static)
106 - $(use_enable test tests)
107 - --with-libiconv
108 - )
109 - econf "${myeconfargs[@]}"
110 -
111 - if use python; then
112 - python_configure() {
113 - econf "${myeconfargs[@]}" \
114 - --enable-python-binding \
115 - --with-boost-python="boost_${EPYTHON/./}"
116 - }
117 - distutils-r1_src_configure
118 - fi
119 -}
120 -
121 -src_compile() {
122 - default
123 -
124 - python_compile() {
125 - cd "${BUILD_DIR}/../bindings/python" || die
126 - distutils-r1_python_compile
127 - }
128 - use python && distutils-r1_src_compile
129 -}
130 -
131 -src_install() {
132 - use doc && HTML_DOCS+=( "${S}"/docs )
133 -
134 - default
135 -
136 - python_install() {
137 - cd "${BUILD_DIR}/../bindings/python" || die
138 - distutils-r1_python_install
139 - }
140 - use python && distutils-r1_src_install
141 -
142 - find "${D}" -name '*.la' -delete || die
143 -}