Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/pybitmessage/
Date: Sun, 20 Sep 2015 17:02:56
Message-Id: 1442768561.ed9f8b070b372e9513d45c2a39410e48b90c27df.hasufell@gentoo
1 commit: ed9f8b070b372e9513d45c2a39410e48b90c27df
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 16:49:59 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 17:02:41 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed9f8b07
7
8 net-p2p/pybitmessage: add libressl support
9
10 ...ge-9999.ebuild => pybitmessage-0.4.3-r1.ebuild} | 25 ++++++++++++----------
11 net-p2p/pybitmessage/pybitmessage-9999.ebuild | 7 +++---
12 2 files changed, 18 insertions(+), 14 deletions(-)
13
14 diff --git a/net-p2p/pybitmessage/pybitmessage-9999.ebuild b/net-p2p/pybitmessage/pybitmessage-0.4.3-r1.ebuild
15 similarity index 68%
16 copy from net-p2p/pybitmessage/pybitmessage-9999.ebuild
17 copy to net-p2p/pybitmessage/pybitmessage-0.4.3-r1.ebuild
18 index 38f15d8..5905630 100644
19 --- a/net-p2p/pybitmessage/pybitmessage-9999.ebuild
20 +++ b/net-p2p/pybitmessage/pybitmessage-0.4.3-r1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2013 Gentoo Foundation
23 +# Copyright 1999-2015 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 @@ -7,23 +7,26 @@ EAPI=5
28 PYTHON_COMPAT=( python2_7 )
29 PYTHON_REQ_USE="sqlite"
30
31 -inherit eutils python-r1 gnome2-utils git-2
32 +inherit eutils python-r1 gnome2-utils
33
34 DESCRIPTION="P2P communications protocol"
35 HOMEPAGE="https://bitmessage.org"
36 -EGIT_REPO_URI="https://github.com/Bitmessage/PyBitmessage.git"
37 +SRC_URI="https://github.com/Bitmessage/PyBitmessage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
38
39 LICENSE="MIT"
40 SLOT="0"
41 -KEYWORDS=""
42 -IUSE=""
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="libressl"
45 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
46
47 DEPEND="${PYTHON_DEPS}"
48 RDEPEND="${DEPEND}
49 - dev-libs/openssl[-bindist]
50 + !libressl? ( dev-libs/openssl:0[-bindist] )
51 + libressl? ( dev-libs/libressl )
52 dev-python/PyQt4[${PYTHON_USEDEP}]"
53
54 +S=${WORKDIR}/PyBitmessage-${PV}
55 +
56 src_compile() { :; }
57
58 src_install () {
59 @@ -51,12 +54,12 @@ src_install () {
60
61 python_foreach_impl install_python
62
63 - nonfatal dodoc README.md debian/changelog
64 - nonfatal doman man/*
65 + dodoc README.md debian/changelog
66 + doman man/*
67
68 - nonfatal newicon -s 24 desktop/icon24.png ${PN}.png
69 - nonfatal newicon -s scalable desktop/can-icon.svg ${PN}.svg
70 - nonfatal domenu desktop/${PN}.desktop
71 + newicon -s 24 desktop/icon24.png ${PN}.png
72 + newicon -s scalable desktop/can-icon.svg ${PN}.svg
73 + domenu desktop/${PN}.desktop
74 }
75
76 pkg_preinst() {
77
78 diff --git a/net-p2p/pybitmessage/pybitmessage-9999.ebuild b/net-p2p/pybitmessage/pybitmessage-9999.ebuild
79 index 38f15d8..bcb8143 100644
80 --- a/net-p2p/pybitmessage/pybitmessage-9999.ebuild
81 +++ b/net-p2p/pybitmessage/pybitmessage-9999.ebuild
82 @@ -1,4 +1,4 @@
83 -# Copyright 1999-2013 Gentoo Foundation
84 +# Copyright 1999-2015 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Id$
87
88 @@ -16,12 +16,13 @@ EGIT_REPO_URI="https://github.com/Bitmessage/PyBitmessage.git"
89 LICENSE="MIT"
90 SLOT="0"
91 KEYWORDS=""
92 -IUSE=""
93 +IUSE="libressl"
94 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
95
96 DEPEND="${PYTHON_DEPS}"
97 RDEPEND="${DEPEND}
98 - dev-libs/openssl[-bindist]
99 + !libressl? ( dev-libs/openssl:0[-bindist] )
100 + libressl? ( dev-libs/libressl )
101 dev-python/PyQt4[${PYTHON_USEDEP}]"
102
103 src_compile() { :; }