summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-06-26 16:29:19 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-06-26 16:29:19 +0300
commit59436023eab5a9f522fa6dce55b964fb458c1449 (patch)
tree78905b791bdf553713c0892058cb4308e8c23230
parent9765d4e1eb3e709e39ee0f4ee90cd871d8e48617 (diff)
pybitmessage-scm
-rw-r--r--packages/net-p2p/pybitmessage/pybitmessage-scm.exheres-071
1 files changed, 71 insertions, 0 deletions
diff --git a/packages/net-p2p/pybitmessage/pybitmessage-scm.exheres-0 b/packages/net-p2p/pybitmessage/pybitmessage-scm.exheres-0
new file mode 100644
index 0000000..8037955
--- /dev/null
+++ b/packages/net-p2p/pybitmessage/pybitmessage-scm.exheres-0
@@ -0,0 +1,71 @@
+# Copyright 2016 Julian Ospald
+# Distributed under the terms of the GNU General Public License v2
+
+SCM_REPOSITORY="https://github.com/Bitmessage/PyBitmessage.git"
+
+require setup-py [ blacklist='3' has_bin=true multibuild=false python_opts='[sqlite]' import='distutils' ]
+require scm-git setup-py
+require gtk-icon-cache
+
+DOWNLOADS=""
+
+SUMMARY="P2P communications protocol"
+DESCRIPTION="
+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.
+"
+HOMEPAGE+=" https://bitmessage.org"
+
+LICENCES="MIT"
+SLOT="0"
+PLATFORMS="~amd64 ~x86"
+MYOPTIONS="
+ ( providers: libressl openssl ) [[ number-selected = exactly-one ]]
+"
+
+DEPENDENCIES="
+ run:
+ dev-python/PyQt4[python_abis:*(-)?]
+ dev-python/msgpack[python_abis:*(-)?]
+ providers:libressl? ( dev-libs/libressl )
+ providers:openssl? ( dev-libs/openssl )
+ suggestion:
+ dev-python/pyopencl[python_abis:*(-)?] [[ description = [ Use GPU acceleration for proof of work ] ]]
+ media-sound/mpg123 [[ description = [ For playing mp3 files ] ]]
+ net-misc/tor [[ description = [ For running bitmessage traffic
+ through the tor network ] ]]
+ sys-sound/alsa-utils [[ description = [ For playing wav files ] ]]
+"
+
+
+#src_install() {
+# local SITEDIR="$(python_get_sitedir)/${PN}"
+# python setup.py install
+# herebin ${PN} <<EOF
+##!/bin/sh
+#cd "${SITEDIR}"
+#exec "${PYTHON}" "./bitmessagemain.py"
+#EOF
+
+# insinto "${SITEDIR}"
+# doins -r src/*
+
+# emagicdocs
+# doman man/*
+
+# insinto /usr/share/icons/hicolor/24x24/apps
+# newins desktop/icon24.png ${PN}.png
+# insinto /usr/share/icons/hicolor/scalable/apps
+# newins desktop/can-icon.svg ${PN}.svg
+
+# insinto /usr/share/applications
+# doins desktop/${PN}.desktop
+
+# python_bytecompile
+#}
+