From 2fcad618a344ab613ee4d5d7b256cc525b553b1a Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 22 Jul 2013 22:02:09 +0000 Subject: initial import wrt #477080 (Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key E73C35B3) --- net-p2p/pybitmessage/ChangeLog | 10 +++++ net-p2p/pybitmessage/Manifest | 3 ++ net-p2p/pybitmessage/metadata.xml | 27 +++++++++++++ net-p2p/pybitmessage/pybitmessage-9999.ebuild | 55 +++++++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 net-p2p/pybitmessage/ChangeLog create mode 100644 net-p2p/pybitmessage/Manifest create mode 100644 net-p2p/pybitmessage/metadata.xml create mode 100644 net-p2p/pybitmessage/pybitmessage-9999.ebuild (limited to 'net-p2p') diff --git a/net-p2p/pybitmessage/ChangeLog b/net-p2p/pybitmessage/ChangeLog new file mode 100644 index 000000000000..bf5baf48a51e --- /dev/null +++ b/net-p2p/pybitmessage/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-p2p/pybitmessage +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/pybitmessage/ChangeLog,v 1.1 2013/07/22 22:02:09 hasufell Exp $ + +*pybitmessage-9999 (22 Jul 2013) + + 22 Jul 2013; Julian Ospald +pybitmessage-9999.ebuild, + +metadata.xml: + initial import wrt #477080 + diff --git a/net-p2p/pybitmessage/Manifest b/net-p2p/pybitmessage/Manifest new file mode 100644 index 000000000000..5aae948fd3cd --- /dev/null +++ b/net-p2p/pybitmessage/Manifest @@ -0,0 +1,3 @@ +EBUILD pybitmessage-9999.ebuild 1146 SHA256 ef2d5e5b26f35de2ed4305147d4f9533dfe6b84401a36b5f3fede2799b245e9b SHA512 6b4d98474ce71cf3d2133f4161ec2db966777ae2605ef7189b99925d9e98251608478d3e600c1f606f798c47ff02f3624e0c112456919c4cb8bbc90c85114cf2 WHIRLPOOL 4346a768118e290df06ba3da98e042ba3d8c5bb2c4748c9468a1b9023bd01cfa1186d355f486de43faed5e69e47564022f1e4b566f18bd215cf14d73f5e76e7b +MISC ChangeLog 280 SHA256 7ea294b66542abb1970a12a0c45b29fa5c3d96fbaf1e2e8d13036235aee0e5c7 SHA512 1d7f173a73db2b5d0ffaf8f802ad4a565de130baba639ce75f378dbb5daa4fea1a8ae016197592203b5fc5abda93726cd48aa2ce381e9514b0f9fb294da8830f WHIRLPOOL 55c8f6beb339dab5cb227628088259cea71914a668700ec39c4eaa954b4787cafead43758435c0d6a8f7cb746da10205caab2bde29cb922095aec6996968bd49 +MISC metadata.xml 1037 SHA256 ea96c7f0d68f1ec7a97f4d98f400faad468d406a095006dedef7b7fe6ced005e SHA512 782139c3fa432bcb44554b28ad90a14dfbc3cf1eecd3076a18e493178d9dd8287c467469fa578953ddc4401ecf1429548d00832b40225c77bea88498f696a1c7 WHIRLPOOL bc3f953abc4627fd232b0dc5814fa2f77bca8a7e8cb4c7ebc9f2ae6729fab4e054e9a9bd6eb16c63a27bb05fb929f910abd99f678123fa5705cf2ed54ca81fa0 diff --git a/net-p2p/pybitmessage/metadata.xml b/net-p2p/pybitmessage/metadata.xml new file mode 100644 index 000000000000..e6bddbfa47ce --- /dev/null +++ b/net-p2p/pybitmessage/metadata.xml @@ -0,0 +1,27 @@ + + + + + hasufell@gentoo.org + Julian Ospald + + + 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. + + + + https://github.com/Bitmessage/PyBitmessage/issues + + + https://bitmessage.org/wiki/PyBitmessage_Help + + Bitmessage/PyBitmessage + + diff --git a/net-p2p/pybitmessage/pybitmessage-9999.ebuild b/net-p2p/pybitmessage/pybitmessage-9999.ebuild new file mode 100644 index 000000000000..dba593afafe3 --- /dev/null +++ b/net-p2p/pybitmessage/pybitmessage-9999.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/pybitmessage/pybitmessage-9999.ebuild,v 1.1 2013/07/22 22:02:09 hasufell Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit python-r1 git-2 + +DESCRIPTION="P2P communications protocol" +HOMEPAGE="https://bitmessage.org" +EGIT_REPO_URI="https://github.com/Bitmessage/PyBitmessage.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-libs/openssl + dev-python/PyQt4[${PYTHON_USEDEP}]" + +src_compile() { :; } + +src_install () { + cat >> "${T}"/${PN}-wrapper <<-EOF + #!/usr/bin/env python + import os + import sys + sys.path.append("@SITEDIR@") + os.chdir("@SITEDIR@") + os.execl('@PYTHON@', '@EPYTHON@', '@SITEDIR@/bitmessagemain.py') + EOF + + touch src/__init__.py || die + + install_python() { + local python_moduleroot=${PN} + python_domodule src/* + sed \ + -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \ + -e "s#@EPYTHON@#${EPYTHON}#" \ + -e "s#@PYTHON@#${PYTHON}#" \ + "${T}"/${PN}-wrapper > ${PN} || die + python_doscript ${PN} + } + + python_foreach_impl install_python + + dodoc README.md debian/changelog +} -- cgit v1.2.3-65-gdbad