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/, net-p2p/pybitmessage/files/
Date: Wed, 14 Feb 2018 15:45:07
Message-Id: 1518609947.a7e6fdeb9422af7e5d90543a1e27674f0b7bbb98.kensington@gentoo
1 commit: a7e6fdeb9422af7e5d90543a1e27674f0b7bbb98
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 12:05:07 2018 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 12:05:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e6fdeb
7
8 net-p2p/pybitmessage: remove vulnerable 0.6.2-r2
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 .../pybitmessage/files/noninteractive-build.patch | 18 ------
15 net-p2p/pybitmessage/pybitmessage-0.6.2-r2.ebuild | 72 ----------------------
16 3 files changed, 91 deletions(-)
17
18 diff --git a/net-p2p/pybitmessage/Manifest b/net-p2p/pybitmessage/Manifest
19 index 7b5522350a9..8611e691ed4 100644
20 --- a/net-p2p/pybitmessage/Manifest
21 +++ b/net-p2p/pybitmessage/Manifest
22 @@ -1,3 +1,2 @@
23 DIST pybitmessage-0.4.2.tar.gz 547565 BLAKE2B 8cb7bc0407601f06c5d0040fa03372e95c34e21aed79021001f7067b3340c60a08f7ab7d2c6578e78e1f7bf09a5adc5805252a27cf8e1bda27de6d1495382e35 SHA512 5e783243db4f507ec221092f6da18d25bb15a8c83f28aab7c1796a063d2608c0115c9d636cc73b66a09264a4ff69dda9ba373eff81640b1dd9595100dcdc4917
24 -DIST pybitmessage-0.6.2.tar.gz 1053815 BLAKE2B 28ed1a836771318f59986532aaa8b87c0c6d195988f02fc977c3b21b423145cc5b732bc1d4ed9978c26c0edb1c040844c9c00ec4db6418ae1e938bae335ed118 SHA512 4aaa0f6b1cc04de01154bb5c90416901e51abb4465c62269ab07abb7da980ac07f2f548ae7a3780da9f3efe89d3b841b004996c5e33bc2638e58efcbecc8baef
25 DIST pybitmessage-0.6.3.2.tar.gz 1118048 BLAKE2B 56245d2b6126fd0b325f20a829d4aa3d89d74fed48863ba236c74b33b074be5c88fd7d70bd08a9b4a1499aaf7e414f55c2f5ca93dca5769eaaf90c2082bc0cac SHA512 57bdbf10417973b4414f1a184b375a2dd6db1a07a6bc5596b5d256589eeae3c7343692be0f0aa681244c550d2b2d91773d9383d97c56eb48562d8099908c0261
26
27 diff --git a/net-p2p/pybitmessage/files/noninteractive-build.patch b/net-p2p/pybitmessage/files/noninteractive-build.patch
28 deleted file mode 100644
29 index 889711a7dce..00000000000
30 --- a/net-p2p/pybitmessage/files/noninteractive-build.patch
31 +++ /dev/null
32 @@ -1,18 +0,0 @@
33 -Temporary workaround for a build system that wants you to press
34 -"Return" interactively.
35 -
36 -https://github.com/Bitmessage/PyBitmessage/issues/993
37 -
38 -diff --git a/setup.py b/setup.py
39 -index 2c769a6..166ab14 100644
40 ---- a/setup.py
41 -+++ b/setup.py
42 -@@ -163,7 +163,7 @@ if __name__ == "__main__":
43 - print "Press Return to continue"
44 - try:
45 - nothing = raw_input()
46 -- except NameError:
47 -+ except EOFError,NameError:
48 - pass
49 -
50 - here = os.path.abspath(os.path.dirname(__file__))
51
52 diff --git a/net-p2p/pybitmessage/pybitmessage-0.6.2-r2.ebuild b/net-p2p/pybitmessage/pybitmessage-0.6.2-r2.ebuild
53 deleted file mode 100644
54 index 10ef7b3f1fb..00000000000
55 --- a/net-p2p/pybitmessage/pybitmessage-0.6.2-r2.ebuild
56 +++ /dev/null
57 @@ -1,72 +0,0 @@
58 -# Copyright 1999-2018 Gentoo Foundation
59 -# Distributed under the terms of the GNU General Public License v2
60 -
61 -EAPI=6
62 -
63 -PYTHON_COMPAT=( python2_7 )
64 -
65 -# See https://github.com/Bitmessage/PyBitmessage/pull/952 for
66 -# why ipv6 is needed at the moment.
67 -PYTHON_REQ_USE="ipv6,sqlite"
68 -
69 -inherit distutils-r1 gnome2-utils
70 -
71 -MY_PN="PyBitmessage"
72 -MY_P="${MY_PN}-${PV}"
73 -
74 -DESCRIPTION="P2P communications protocol"
75 -HOMEPAGE="https://bitmessage.org/"
76 -SRC_URI="https://github.com/Bitmessage/${MY_PN}/archive/v${PV}.tar.gz
77 - -> ${P}.tar.gz"
78 -LICENSE="MIT"
79 -SLOT="0"
80 -KEYWORDS="~amd64 ~x86"
81 -IUSE="libressl ncurses opencl sound"
82 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
83 -
84 -DEPEND="${PYTHON_DEPS}"
85 -
86 -# Some of these can be determined from src/depends.py.
87 -# The sound deps were found in src/bitmessageqt/__init__.py.
88 -# And src/openclpow.py imports numpy directly, so throw that in too.
89 -#
90 -# All of the dependencies that are behind USE flags are detected
91 -# and enabled automagically, so maybe it would be better if we
92 -# required them unconditionally?
93 -RDEPEND="${DEPEND}
94 - dev-python/msgpack[${PYTHON_USEDEP}]
95 - !libressl? ( dev-libs/openssl:0[-bindist] )
96 - libressl? ( dev-libs/libressl )
97 - ncurses? ( dev-python/pythondialog[${PYTHON_USEDEP}] )
98 - opencl? (
99 - dev-python/numpy[${PYTHON_USEDEP}]
100 - dev-python/pyopencl[${PYTHON_USEDEP}]
101 - )
102 - sound? ( || (
103 - media-sound/gst123
104 - media-sound/alsa-utils
105 - media-sound/mpg123
106 - ) )"
107 -
108 -S="${WORKDIR}/${MY_P}"
109 -
110 -PATCHES=( "${FILESDIR}/noninteractive-build.patch")
111 -
112 -src_install () {
113 - distutils-r1_src_install
114 - dodoc README.md
115 -
116 - # The man page is not installed because it's basically empty.
117 -}
118 -
119 -pkg_preinst() {
120 - gnome2_icon_savelist
121 -}
122 -
123 -pkg_postinst() {
124 - gnome2_icon_cache_update
125 -}
126 -
127 -pkg_postrm() {
128 - gnome2_icon_cache_update
129 -}