diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-09-25 12:56:41 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-09-25 12:56:41 +0000 |
commit | 755feacce93deabf1c495e2fa6a1435adfbdd732 (patch) | |
tree | f7d054c8395e65df2fc1e589ce2004654051c343 /net-p2p | |
parent | Backport upstream changes that allows to build matplotlib when X11 is not ava... (diff) | |
download | gentoo-2-755feacce93deabf1c495e2fa6a1435adfbdd732.tar.gz gentoo-2-755feacce93deabf1c495e2fa6a1435adfbdd732.tar.bz2 gentoo-2-755feacce93deabf1c495e2fa6a1435adfbdd732.zip |
add beta version
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/pybitmessage/ChangeLog | 8 | ||||
-rw-r--r-- | net-p2p/pybitmessage/pybitmessage-0.4.0.ebuild | 74 |
2 files changed, 80 insertions, 2 deletions
diff --git a/net-p2p/pybitmessage/ChangeLog b/net-p2p/pybitmessage/ChangeLog index fbe27b97463d..c7667ac3ef14 100644 --- a/net-p2p/pybitmessage/ChangeLog +++ b/net-p2p/pybitmessage/ChangeLog @@ -1,6 +1,11 @@ # 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.3 2013/08/05 16:12:28 hasufell Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/pybitmessage/ChangeLog,v 1.4 2013/09/25 12:56:41 hasufell Exp $ + +*pybitmessage-0.4.0 (25 Sep 2013) + + 25 Sep 2013; Julian Ospald <hasufell@gentoo.org> +pybitmessage-0.4.0.ebuild: + add beta version 05 Aug 2013; Julian Ospald <hasufell@gentoo.org> pybitmessage-9999.ebuild: fix openssl dep (bindist does not work) @@ -13,4 +18,3 @@ 22 Jul 2013; Julian Ospald <hasufell@gentoo.org> +pybitmessage-9999.ebuild, +metadata.xml: initial import wrt #477080 - diff --git a/net-p2p/pybitmessage/pybitmessage-0.4.0.ebuild b/net-p2p/pybitmessage/pybitmessage-0.4.0.ebuild new file mode 100644 index 000000000000..aec2bb9bd7b3 --- /dev/null +++ b/net-p2p/pybitmessage/pybitmessage-0.4.0.ebuild @@ -0,0 +1,74 @@ +# 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-0.4.0.ebuild,v 1.1 2013/09/25 12:56:41 hasufell Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +PYTHON_REQ_USE="sqlite" + +inherit eutils python-r1 gnome2-utils + +DESCRIPTION="P2P communications protocol" +HOMEPAGE="https://bitmessage.org" +SRC_URI="https://github.com/Bitmessage/PyBitmessage/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + dev-libs/openssl[-bindist] + dev-python/PyQt4[${PYTHON_USEDEP}]" + +S=${WORKDIR}/PyBitmessage-${PV} + +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 + + nonfatal dodoc README.md debian/changelog + nonfatal doman man/* + + nonfatal newicon -s 24 desktop/icon24.png ${PN}.png + nonfatal newicon -s scalable desktop/can-icon.svg ${PN}.svg + nonfatal domenu desktop/${PN}.desktop +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} |