diff options
-rw-r--r-- | net-p2p/pybitmessage/Manifest | 18 | ||||
-rw-r--r-- | net-p2p/pybitmessage/metadata.xml | 27 | ||||
-rw-r--r-- | net-p2p/pybitmessage/pybitmessage-9999.ebuild | 55 |
3 files changed, 98 insertions, 2 deletions
diff --git a/net-p2p/pybitmessage/Manifest b/net-p2p/pybitmessage/Manifest index 5aae948fd3cd..7f1a39a73ec0 100644 --- a/net-p2p/pybitmessage/Manifest +++ b/net-p2p/pybitmessage/Manifest @@ -1,3 +1,17 @@ -EBUILD pybitmessage-9999.ebuild 1146 SHA256 ef2d5e5b26f35de2ed4305147d4f9533dfe6b84401a36b5f3fede2799b245e9b SHA512 6b4d98474ce71cf3d2133f4161ec2db966777ae2605ef7189b99925d9e98251608478d3e600c1f606f798c47ff02f3624e0c112456919c4cb8bbc90c85114cf2 WHIRLPOOL 4346a768118e290df06ba3da98e042ba3d8c5bb2c4748c9468a1b9023bd01cfa1186d355f486de43faed5e69e47564022f1e4b566f18bd215cf14d73f5e76e7b -MISC ChangeLog 280 SHA256 7ea294b66542abb1970a12a0c45b29fa5c3d96fbaf1e2e8d13036235aee0e5c7 SHA512 1d7f173a73db2b5d0ffaf8f802ad4a565de130baba639ce75f378dbb5daa4fea1a8ae016197592203b5fc5abda93726cd48aa2ce381e9514b0f9fb294da8830f WHIRLPOOL 55c8f6beb339dab5cb227628088259cea71914a668700ec39c4eaa954b4787cafead43758435c0d6a8f7cb746da10205caab2bde29cb922095aec6996968bd49 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +EBUILD pybitmessage-9999.ebuild 1255 SHA256 a350aadb8eda00feb3b36bef313e377435de971accc0c134bbf79f8d2c2aebb3 SHA512 1caa1759d7a3dc5770f0113c67c4c1a892aeed66db486b67f1b28095a477e1c4d0ade2284041296e167632fc61041abf6ad556ca653fcfe06765b819642cbaef WHIRLPOOL 3f42f05e6ac0d7b38b9ff89298a96bc28154e7b0a5b6225697560897a0727f7c40722419d4424bd87788bf1c5e74392673d59e5412fd67494e8d781c29164355 +MISC ChangeLog 374 SHA256 e2c3213ea35d1fb553b690833effa899d0756dea33792a1df4bc427ed4730dd7 SHA512 56b674dfb8ea1e515657294e8943e466e3bb0415be784c6143f065d9f7f39805b3da2393dfce9f69d37021412efadf2e266b69c4fe1ecf3ff5cd149043abf3c9 WHIRLPOOL 9311c13b18951d4ad33024839fc672ab638a7ac8e9b41c0ccf5bcb2e957e296333ce36a467d9839b501248dbffac6f863e14d19d217de9aba0278dba3a4232d9 MISC metadata.xml 1037 SHA256 ea96c7f0d68f1ec7a97f4d98f400faad468d406a095006dedef7b7fe6ced005e SHA512 782139c3fa432bcb44554b28ad90a14dfbc3cf1eecd3076a18e493178d9dd8287c467469fa578953ddc4401ecf1429548d00832b40225c77bea88498f696a1c7 WHIRLPOOL bc3f953abc4627fd232b0dc5814fa2f77bca8a7e8cb4c7ebc9f2ae6729fab4e054e9a9bd6eb16c63a27bb05fb929f910abd99f678123fa5705cf2ed54ca81fa0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iQEcBAEBCAAGBQJR7avpAAoJEFpvPKfnPDWzbRUH/RBcywn0gwhy3vXihUV+5TdR +M1pigS6XtCJvE88xy91p6ulOJ0IRdS5DFcj1dmFBTyfs7+SHks/RZMrtRp9DAm9K +u0zyravbpNcdZMDNcsCHBag28yJscqojxXtN+aiiLPV3uafAjgQ+K0tuj0kVNzvI +ws/o0dX19TTDTcqtnYE1/F6WfZ06w2BbIJN7MAsM0O4udRI/yUJo6W5WHur2a4hO +a0IluxTcZaCwuIFQmIuVfxqv1JQfewZLTnEooBy1uAqUZT0UNmPbNOmZKEEqZf8/ +t50MTMKh4d+hsUgSudvta5FauEk/Qeing1D7+pahi2gsaxehvp2alXnHGHEo0AU= +=bFgH +-----END PGP SIGNATURE----- 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> + <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> +</pkgmetadata> 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 +} |