Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: net-libs/libktorrent/
Date: Fri, 29 Sep 2017 02:56:29
Message-Id: 1506653776.ac0f37a5e2c729fe6b1e87efed958d79b3e9858e.kensington@gentoo
1 commit: ac0f37a5e2c729fe6b1e87efed958d79b3e9858e
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 02:51:07 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 29 02:56:16 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=ac0f37a5
7
8 net-libs/libktorrent: sync with main tree
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 net-libs/libktorrent/libktorrent-9999.ebuild | 23 ++++++++++-------------
13 1 file changed, 10 insertions(+), 13 deletions(-)
14
15 diff --git a/net-libs/libktorrent/libktorrent-9999.ebuild b/net-libs/libktorrent/libktorrent-9999.ebuild
16 index ec37dc3e7b..612dceb531 100644
17 --- a/net-libs/libktorrent/libktorrent-9999.ebuild
18 +++ b/net-libs/libktorrent/libktorrent-9999.ebuild
19 @@ -3,19 +3,6 @@
20
21 EAPI=6
22
23 -if [[ ${PV} != 9999* ]]; then
24 - inherit versionator
25 - # upstream likes to skip that _ in beta releases
26 - MY_PV="${PV/_/}"
27 - KTORRENT_VERSION=$(($(get_major_version)+3)).$(get_version_component_range 2 ${MY_PV})
28 - MY_P="${PN}-${MY_PV}"
29 -
30 - SRC_URI="mirror://kde/stable/ktorrent/${KTORRENT_VERSION}/${MY_P}.tar.xz"
31 - S="${WORKDIR}"/"${MY_P}"
32 -
33 - KEYWORDS="~amd64 ~arm ~x86"
34 -fi
35 -
36 KDE_TEST="forceoptional"
37 VIRTUALX_REQUIRED="test"
38 inherit kde5
39 @@ -24,6 +11,7 @@ DESCRIPTION="BitTorrent library based on KDE Frameworks"
40 HOMEPAGE="https://www.kde.org/applications/internet/ktorrent/"
41
42 LICENSE="GPL-2+"
43 +KEYWORDS=""
44 IUSE=""
45
46 COMMON_DEPEND="
47 @@ -58,3 +46,12 @@ src_prepare() {
48 sed -i -e "/^find_dependency/ s/ \"@LibGMP_MIN_VERSION@\"//" \
49 KF5TorrentConfig.cmake.in || die
50 }
51 +
52 +src_test() {
53 + # failing network tests
54 + local myctestargs=(
55 + -E "(fin|packetloss|send|transmit)"
56 + )
57 +
58 + kde5_src_test
59 +}