Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/pybitmessage/
Date: Wed, 14 Feb 2018 15:45:08
Message-Id: 1518609946.3b33173f06f417136f6fa8eb9176ceb732bfeec9.kensington@gentoo
1 commit: 3b33173f06f417136f6fa8eb9176ceb732bfeec9
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 12:04:40 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 12:05:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b33173f
7
8 net-p2p/pybitmessage: version bump 0.6.3.2
9
10 Bug: https://bugs.gentoo.org/647568
11 Package-Manager: Portage-2.3.19, Repoman-2.3.6
12
13 net-p2p/pybitmessage/Manifest | 1 +
14 net-p2p/pybitmessage/pybitmessage-0.6.3.2.ebuild | 66 ++++++++++++++++++++++++
15 2 files changed, 67 insertions(+)
16
17 diff --git a/net-p2p/pybitmessage/Manifest b/net-p2p/pybitmessage/Manifest
18 index fc66f04adbf..7b5522350a9 100644
19 --- a/net-p2p/pybitmessage/Manifest
20 +++ b/net-p2p/pybitmessage/Manifest
21 @@ -1,2 +1,3 @@
22 DIST pybitmessage-0.4.2.tar.gz 547565 BLAKE2B 8cb7bc0407601f06c5d0040fa03372e95c34e21aed79021001f7067b3340c60a08f7ab7d2c6578e78e1f7bf09a5adc5805252a27cf8e1bda27de6d1495382e35 SHA512 5e783243db4f507ec221092f6da18d25bb15a8c83f28aab7c1796a063d2608c0115c9d636cc73b66a09264a4ff69dda9ba373eff81640b1dd9595100dcdc4917
23 DIST pybitmessage-0.6.2.tar.gz 1053815 BLAKE2B 28ed1a836771318f59986532aaa8b87c0c6d195988f02fc977c3b21b423145cc5b732bc1d4ed9978c26c0edb1c040844c9c00ec4db6418ae1e938bae335ed118 SHA512 4aaa0f6b1cc04de01154bb5c90416901e51abb4465c62269ab07abb7da980ac07f2f548ae7a3780da9f3efe89d3b841b004996c5e33bc2638e58efcbecc8baef
24 +DIST pybitmessage-0.6.3.2.tar.gz 1118048 BLAKE2B 56245d2b6126fd0b325f20a829d4aa3d89d74fed48863ba236c74b33b074be5c88fd7d70bd08a9b4a1499aaf7e414f55c2f5ca93dca5769eaaf90c2082bc0cac SHA512 57bdbf10417973b4414f1a184b375a2dd6db1a07a6bc5596b5d256589eeae3c7343692be0f0aa681244c550d2b2d91773d9383d97c56eb48562d8099908c0261
25
26 diff --git a/net-p2p/pybitmessage/pybitmessage-0.6.3.2.ebuild b/net-p2p/pybitmessage/pybitmessage-0.6.3.2.ebuild
27 new file mode 100644
28 index 00000000000..5dc0e77b762
29 --- /dev/null
30 +++ b/net-p2p/pybitmessage/pybitmessage-0.6.3.2.ebuild
31 @@ -0,0 +1,66 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python2_7 )
38 +
39 +# See https://github.com/Bitmessage/PyBitmessage/pull/952 for
40 +# why ipv6 is needed at the moment.
41 +PYTHON_REQ_USE="ipv6,sqlite"
42 +
43 +inherit distutils-r1 gnome2-utils
44 +
45 +MY_PN="PyBitmessage"
46 +MY_P="${MY_PN}-${PV}"
47 +
48 +DESCRIPTION="P2P communications protocol"
49 +HOMEPAGE="https://bitmessage.org/"
50 +SRC_URI="https://github.com/Bitmessage/${MY_PN}/archive/${PV}.tar.gz
51 + -> ${P}.tar.gz"
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~x86"
55 +IUSE="libressl ncurses opencl sound"
56 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
57 +
58 +DEPEND="${PYTHON_DEPS}"
59 +
60 +# Some of these can be determined from src/depends.py.
61 +# The sound deps were found in src/bitmessageqt/__init__.py.
62 +# And src/openclpow.py imports numpy directly, so throw that in too.
63 +#
64 +# All of the dependencies that are behind USE flags are detected
65 +# and enabled automagically, so maybe it would be better if we
66 +# required them unconditionally?
67 +RDEPEND="${DEPEND}
68 + dev-python/msgpack[${PYTHON_USEDEP}]
69 + !libressl? ( dev-libs/openssl:0[-bindist] )
70 + libressl? ( dev-libs/libressl )
71 + ncurses? ( dev-python/pythondialog[${PYTHON_USEDEP}] )
72 + opencl? (
73 + dev-python/numpy[${PYTHON_USEDEP}]
74 + dev-python/pyopencl[${PYTHON_USEDEP}]
75 + )
76 + sound? ( || (
77 + media-sound/gst123
78 + media-sound/alsa-utils
79 + media-sound/mpg123
80 + ) )"
81 +
82 +S="${WORKDIR}/${MY_P}"
83 +
84 +src_install () {
85 + distutils-r1_src_install
86 + dodoc README.md
87 +
88 + # The man page is not installed because it's basically empty.
89 +}
90 +
91 +pkg_postinst() {
92 + gnome2_icon_cache_update
93 +}
94 +
95 +pkg_postrm() {
96 + gnome2_icon_cache_update
97 +}