+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- Bitmessage is a P2P communications protocol used to send encrypted
- messages to another person or to many subscribers. It is
- decentralized and trustless, meaning that you need-not inherently
- trust any entities like root certificate authorities. It uses
- strong authentication which means that the sender of a message
- cannot be spoofed, and it aims to hide "non-content" data, like
- the sender and receiver of messages, from passive eavesdroppers
- like those running warrantless wiretapping programs.
- </longdescription>
- <upstream>
- <bugs-to>
- https://github.com/Bitmessage/PyBitmessage/issues
- </bugs-to>
- <doc lang="en">
- https://bitmessage.org/wiki/PyBitmessage_Help
- </doc>
- <remote-id type="github">Bitmessage/PyBitmessage</remote-id>
- </upstream>
- <use>
- <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>
+++ /dev/null
-# 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=30e211367003bafa67834ffff3f31e6b5a897f4b
-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-1.3.1[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
-}