summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-22 15:18:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-22 15:41:31 +0200
commitd95927ca892bf196ccb38152f33b08ede630783e (patch)
tree5f1daa2b328c7a01179c18bf1bdc11a776f8d6ed /net-p2p/pybitmessage
parentx11-libs/fox-wrapper: unneeded die (diff)
downloadgentoo-d95927ca892bf196ccb38152f33b08ede630783e.tar.gz
gentoo-d95927ca892bf196ccb38152f33b08ede630783e.tar.bz2
gentoo-d95927ca892bf196ccb38152f33b08ede630783e.zip
net-p2p/pybitmessage: Add 0.6.3.2_p20180326 Qt5-based snapshot
Thanks-to: Dmitri Bogomolov <4glitch@gmail.com> Bug: https://bugs.gentoo.org/653738 Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'net-p2p/pybitmessage')
-rw-r--r--net-p2p/pybitmessage/Manifest1
-rw-r--r--net-p2p/pybitmessage/metadata.xml5
-rw-r--r--net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326.ebuild70
3 files changed, 73 insertions, 3 deletions
diff --git a/net-p2p/pybitmessage/Manifest b/net-p2p/pybitmessage/Manifest
index 8611e691ed4..a3db1c04538 100644
--- a/net-p2p/pybitmessage/Manifest
+++ b/net-p2p/pybitmessage/Manifest
@@ -1,2 +1,3 @@
DIST pybitmessage-0.4.2.tar.gz 547565 BLAKE2B 8cb7bc0407601f06c5d0040fa03372e95c34e21aed79021001f7067b3340c60a08f7ab7d2c6578e78e1f7bf09a5adc5805252a27cf8e1bda27de6d1495382e35 SHA512 5e783243db4f507ec221092f6da18d25bb15a8c83f28aab7c1796a063d2608c0115c9d636cc73b66a09264a4ff69dda9ba373eff81640b1dd9595100dcdc4917
DIST pybitmessage-0.6.3.2.tar.gz 1118048 BLAKE2B 56245d2b6126fd0b325f20a829d4aa3d89d74fed48863ba236c74b33b074be5c88fd7d70bd08a9b4a1499aaf7e414f55c2f5ca93dca5769eaaf90c2082bc0cac SHA512 57bdbf10417973b4414f1a184b375a2dd6db1a07a6bc5596b5d256589eeae3c7343692be0f0aa681244c550d2b2d91773d9383d97c56eb48562d8099908c0261
+DIST pybitmessage-0.6.3.2_p20180326.tar.gz 1102343 BLAKE2B 55d1458858c1431f341feae10b151590bf8dc577d5a52e5ddfbb629853373339f80d0fb9a855cc82deb50ee952d7a356c0140b67ed1d28108a5c8f19d3b97305 SHA512 836dc5a2fbea96bd46bd50e6462ccb118f22591e9d838af80f05bcce3efa8434942b112725a0b5b161d9c0a544520931e56cfc01c33ea4d231bdc02c112c5894
diff --git a/net-p2p/pybitmessage/metadata.xml b/net-p2p/pybitmessage/metadata.xml
index 72a9c818738..d4bcd85b012 100644
--- a/net-p2p/pybitmessage/metadata.xml
+++ b/net-p2p/pybitmessage/metadata.xml
@@ -22,8 +22,7 @@
<remote-id type="github">Bitmessage/PyBitmessage</remote-id>
</upstream>
<use>
- <flag name="opencl">
- Uses <pkg>dev-python/pyopencl</pkg> for GPU acceleration.
- </flag>
+ <flag name="opencl">Enable <pkg>dev-python/pyopencl</pkg> for GPU acceleration</flag>
+ <flag name="qrcode">Enable <pkg>dev-python/qrcode</pkg> for QR code support</flag>
</use>
</pkgmetadata>
diff --git a/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326.ebuild b/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326.ebuild
new file mode 100644
index 00000000000..b06261624b0
--- /dev/null
+++ b/net-p2p/pybitmessage/pybitmessage-0.6.3.2_p20180326.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="sqlite"
+
+COMMIT=b210fd84d1053d3a57a888ecc8444f580d4b0651
+inherit distutils-r1 gnome2-utils
+
+MY_PN="PyBitmessage"
+
+DESCRIPTION="Reference client for Bitmessage: a P2P communications protocol"
+HOMEPAGE="https://bitmessage.org"
+SRC_URI="https://github.com/g1itch/${MY_PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug libnotify libressl ncurses opencl qrcode sound"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+
+RDEPEND="${DEPEND}
+ || (
+ dev-python/msgpack[${PYTHON_USEDEP}]
+ dev-python/u-msgpack[${PYTHON_USEDEP}]
+ )
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ dev-python/QtPy[gui,pyqt5,${PYTHON_USEDEP}]
+ debug? ( dev-python/python-prctl[${PYTHON_USEDEP}] )
+ libnotify? (
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/notify2[${PYTHON_USEDEP}]
+ x11-themes/hicolor-icon-theme
+ )
+ !libressl? ( dev-libs/openssl:0[-bindist] )
+ libressl? ( dev-libs/libressl )
+ ncurses? ( dev-python/pythondialog[${PYTHON_USEDEP}] )
+ opencl? (
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pyopencl[${PYTHON_USEDEP}]
+ )
+ qrcode? ( dev-python/qrcode[${PYTHON_USEDEP}] )
+ sound? ( || (
+ dev-python/gst-python:1.0[${PYTHON_USEDEP}]
+ media-sound/gst123
+ media-libs/gst-plugins-base:1.0
+ media-sound/mpg123
+ media-sound/alsa-utils
+ ) )
+"
+
+S="${WORKDIR}"/${MY_PN}-${COMMIT}
+
+src_install () {
+ distutils-r1_src_install
+ einstalldocs
+ # The man page is not installed because it's basically empty.
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}