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