Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-proxy/http-replicator: http-replicator-4.0_alpha2-r1.ebuild ChangeLog
Date: Wed, 05 Jun 2013 13:33:01
Message-Id: 20130605133257.705102171D@flycatcher.gentoo.org
1 tomwij 13/06/05 13:32:57
2
3 Modified: ChangeLog
4 Added: http-replicator-4.0_alpha2-r1.ebuild
5 Log:
6 Revision bump, added missing Python modules. Fixes bug #472122 reported by Russell Knighton.
7
8 (Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
9
10 Revision Changes Path
11 1.38 net-proxy/http-replicator/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 4 Mar 2013 13:00:40 -0000 1.37
24 +++ ChangeLog 5 Jun 2013 13:32:57 -0000 1.38
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-proxy/http-replicator
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v 1.37 2013/03/04 13:00:40 tomwij Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/ChangeLog,v 1.38 2013/06/05 13:32:57 tomwij Exp $
30 +
31 +*http-replicator-4.0_alpha2-r1 (05 Jun 2013)
32 +
33 + 05 Jun 2013; Tom Wijsman <TomWij@g.o>
34 + +http-replicator-4.0_alpha2-r1.ebuild:
35 + Revision bump, added missing Python modules. Fixes bug #472122 reported by
36 + Russell Knighton.
37
38 *http-replicator-4.0_alpha2 (04 Mar 2013)
39
40
41
42
43 1.1 net-proxy/http-replicator/http-replicator-4.0_alpha2-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: http-replicator-4.0_alpha2-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-proxy/http-replicator/http-replicator-4.0_alpha2-r1.ebuild,v 1.1 2013/06/05 13:32:57 tomwij Exp $
53
54 EAPI="5"
55
56 # Not 2.6, see bug #33907; not 3.0, see bug #411083.
57 PYTHON_COMPAT=( python2_7 )
58
59 inherit eutils python-r1
60
61 MY_P="${PN}_${PV/_/}"
62
63 DESCRIPTION="Proxy cache for Gentoo packages"
64 HOMEPAGE="http://sourceforge.net/projects/http-replicator"
65 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
70
71 S="${WORKDIR}/${MY_P}"
72
73 # Tests downloads files as well as breaks, should be turned into local tests.
74 RESTRICT="test"
75
76 src_test() {
77 ./unit-test && die
78 }
79
80 src_install(){
81 python_export python2_7 EPYTHON PYTHON PYTHON_SITEDIR
82
83 exeinto /usr/bin
84 doexe http-replicator
85
86 newexe "${FILESDIR}"/${PN}-3.0-callrepcacheman-0.1 repcacheman
87 newexe "${FILESDIR}"/${PN}-3.0-repcacheman-0.44-r2 repcacheman.py
88
89 python_domodule *.py
90
91 newinitd "${FILESDIR}"/${PN}-3.0.init http-replicator
92 newconfd "${FILESDIR}"/${PN}-3.0.conf http-replicator
93
94 # Not 2.6, see bug #33907; not 3.0, see bug #411083.
95 # python_convert_shebangs -r 2.7 "${ED}"
96
97 dodoc README.user README.devel RELNOTES
98 }
99
100 pkg_postinst() {
101 einfo
102 einfo "Before starting ${PN}, please follow the next few steps:"
103 einfo "- modify /etc/conf.d/${PN} if required"
104 einfo "- run \`repcacheman\` to set up the cache"
105 einfo "- add http_proxy=\"http://serveraddress:8080\" to make.conf on"
106 einfo " the server as well as on the client machines"
107 einfo "- make sure GENTOO_MIRRORS in /etc/portage/make.conf"
108 einfo " starts with several good http mirrors"
109 einfo
110 einfo "For more information please refer to the following forum thread:"
111 einfo " http://forums.gentoo.org/viewtopic-t-173226.html"
112 einfo
113 }