Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/http-replicator/
Date: Sat, 20 Oct 2018 12:17:19
Message-Id: 1540037807.a1af4b87030305852f3e597c36a322ee2521fcd0.pacho@gentoo
1 commit: a1af4b87030305852f3e597c36a322ee2521fcd0
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 20 11:45:25 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 20 12:16:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1af4b87
7
8 net-proxy/http-replicator: Drop old
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 .../http-replicator-4.0_alpha2-r5.ebuild | 72 ----------------------
14 1 file changed, 72 deletions(-)
15
16 diff --git a/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild b/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild
17 deleted file mode 100644
18 index 6810108b67b..00000000000
19 --- a/net-proxy/http-replicator/http-replicator-4.0_alpha2-r5.ebuild
20 +++ /dev/null
21 @@ -1,72 +0,0 @@
22 -# Copyright 1999-2017 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -PYTHON_COMPAT=( python2_7 )
28 -
29 -inherit eutils python-r1 systemd
30 -
31 -MY_P="${PN}_${PV/_/}"
32 -
33 -DESCRIPTION="Proxy cache for Gentoo packages"
34 -HOMEPAGE="https://sourceforge.net/projects/http-replicator"
35 -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
36 -
37 -LICENSE="GPL-2"
38 -SLOT="0"
39 -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
40 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
41 -
42 -RDEPEND="${PYTHON_DEPS}"
43 -DEPEND="${RDEPEND}"
44 -
45 -S="${WORKDIR}/${MY_P}"
46 -
47 -# Tests downloads files as well as breaks, should be turned into local tests.
48 -RESTRICT="test"
49 -
50 -src_prepare() {
51 - epatch "${FILESDIR}"/${PN}-4.0_alpha2-r3-pid.patch
52 -}
53 -
54 -src_test() {
55 - ./unit-test && die
56 -}
57 -
58 -src_install() {
59 - python_foreach_impl python_doscript http-replicator
60 -
61 - newbin "${FILESDIR}"/${PN}-3.0-callrepcacheman-0.1 repcacheman
62 -
63 - python_foreach_impl python_domodule *.py
64 -
65 - python_foreach_impl python_newscript "${FILESDIR}"/${PN}-3.0-repcacheman-0.44-r2 repcacheman.py
66 -
67 - newinitd "${FILESDIR}"/${PN}-4.0_alpha2-r3.init http-replicator
68 - newconfd "${FILESDIR}"/${PN}-4.0_alpha2-r2.conf http-replicator
69 -
70 - systemd_dounit "${FILESDIR}"/http-replicator.service
71 - systemd_install_serviced "${FILESDIR}"/http-replicator.service.conf
72 -
73 - dodoc README.user README.devel RELNOTES
74 -}
75 -
76 -pkg_postinst() {
77 - echo
78 - einfo "Before starting ${PN}, please follow the next few steps:"
79 - einfo
80 - einfo "- Modify /etc/conf.d/${PN} if required."
81 - einfo "- Run \`repcacheman\` to set up the cache."
82 - einfo "- Add HTTP_PROXY=\"http://serveraddress:8080\" to make.conf on"
83 - einfo " the server as well as on the client machines."
84 - einfo "- Make sure GENTOO_MIRRORS in /etc/portage/make.conf"
85 - einfo " starts with several good HTTP mirrors."
86 - einfo
87 - einfo "For more information please refer to the following forum thread:"
88 - einfo
89 - einfo " https://forums.gentoo.org/viewtopic-t-173226.html"
90 - einfo
91 - einfo "Starting with 4.x releases, the conf.d parameters have changed."
92 - echo
93 -}