Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/pybitmessage/
Date: Fri, 28 Apr 2017 01:06:20
Message-Id: 1493341502.c58ff38c67ef0dfdd861eb1f5e9f3b81da33adeb.mjo@gentoo
1 commit: c58ff38c67ef0dfdd861eb1f5e9f3b81da33adeb
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 28 01:04:45 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 28 01:05:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c58ff38c
7
8 net-p2p/pybitmessage: remove outdated live ebuild.
9
10 The ebuild for pybitmessage-9999, which was based on the 0.4.x series,
11 no longer works. I'm removing it for now, but it should be possible to
12 replace it later based on the new 0.6.x series ebuilds (if anyone asks
13 for it).
14
15 Package-Manager: Portage-2.3.3, Repoman-2.3.1
16
17 net-p2p/pybitmessage/pybitmessage-9999.ebuild | 72 ---------------------------
18 1 file changed, 72 deletions(-)
19
20 diff --git a/net-p2p/pybitmessage/pybitmessage-9999.ebuild b/net-p2p/pybitmessage/pybitmessage-9999.ebuild
21 deleted file mode 100644
22 index 255677f71ce..00000000000
23 --- a/net-p2p/pybitmessage/pybitmessage-9999.ebuild
24 +++ /dev/null
25 @@ -1,72 +0,0 @@
26 -# Copyright 1999-2016 Gentoo Foundation
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=5
30 -
31 -PYTHON_COMPAT=( python2_7 )
32 -PYTHON_REQ_USE="sqlite"
33 -
34 -inherit eutils python-r1 gnome2-utils git-r3
35 -
36 -DESCRIPTION="P2P communications protocol"
37 -HOMEPAGE="https://bitmessage.org"
38 -EGIT_REPO_URI="https://github.com/Bitmessage/PyBitmessage.git"
39 -
40 -LICENSE="MIT"
41 -SLOT="0"
42 -KEYWORDS=""
43 -IUSE="libressl"
44 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
45 -
46 -DEPEND="${PYTHON_DEPS}"
47 -RDEPEND="${DEPEND}
48 - !libressl? ( dev-libs/openssl:0[-bindist] )
49 - libressl? ( dev-libs/libressl )
50 - dev-python/PyQt4[${PYTHON_USEDEP}]"
51 -
52 -src_compile() { :; }
53 -
54 -src_install () {
55 - cat >> "${T}"/${PN}-wrapper <<-EOF || die
56 - #!/usr/bin/env python
57 - import os
58 - import sys
59 - sys.path.append("@SITEDIR@")
60 - os.chdir("@SITEDIR@")
61 - os.execl('@PYTHON@', '@EPYTHON@', '@SITEDIR@/bitmessagemain.py')
62 - EOF
63 -
64 - touch src/__init__.py || die
65 -
66 - install_python() {
67 - python_moduleinto ${PN}
68 - python_domodule src/*
69 - sed \
70 - -e "s#@SITEDIR@#$(python_get_sitedir)/${PN}#" \
71 - -e "s#@EPYTHON@#${EPYTHON}#" \
72 - -e "s#@PYTHON@#${PYTHON}#" \
73 - "${T}"/${PN}-wrapper > ${PN} || die
74 - python_doscript ${PN}
75 - }
76 -
77 - python_foreach_impl install_python
78 -
79 - dodoc README.md debian/changelog
80 - doman man/*
81 -
82 - newicon -s 24 desktop/icon24.png ${PN}.png
83 - newicon -s scalable desktop/can-icon.svg ${PN}.svg
84 - domenu desktop/${PN}.desktop
85 -}
86 -
87 -pkg_preinst() {
88 - gnome2_icon_savelist
89 -}
90 -
91 -pkg_postinst() {
92 - gnome2_icon_cache_update
93 -}
94 -
95 -pkg_postrm() {
96 - gnome2_icon_cache_update
97 -}