1 |
commit: 3ec1af24dc972ad8c0472b01f851afa5db717932 |
2 |
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 5 17:25:21 2019 +0000 |
4 |
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 5 17:25:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec1af24 |
7 |
|
8 |
app-portage/pfl: Revison bump to pfl-3.0.1-r3. |
9 |
|
10 |
Add support for python-3.7. |
11 |
|
12 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
13 |
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> |
14 |
|
15 |
app-portage/pfl/pfl-3.0.1-r3.ebuild | 49 +++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 49 insertions(+) |
17 |
|
18 |
diff --git a/app-portage/pfl/pfl-3.0.1-r3.ebuild b/app-portage/pfl/pfl-3.0.1-r3.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..0683d8fadcd |
21 |
--- /dev/null |
22 |
+++ b/app-portage/pfl/pfl-3.0.1-r3.ebuild |
23 |
@@ -0,0 +1,49 @@ |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
30 |
+PYTHON_REQ_USE="xml" |
31 |
+ |
32 |
+inherit distutils-r1 |
33 |
+ |
34 |
+DESCRIPTION="Searchable online file/package database for Gentoo" |
35 |
+HOMEPAGE="http://www.portagefilelist.de" |
36 |
+SRC_URI="https://dev.gentoo.org/~billie/distfiles/${P}.tar.bz2" |
37 |
+ |
38 |
+LICENSE="GPL-2" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
41 |
+IUSE="+network-cron" |
42 |
+ |
43 |
+DEPEND="" |
44 |
+RDEPEND=" |
45 |
+ ${DEPEND} |
46 |
+ >=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}] |
47 |
+ net-misc/curl |
48 |
+ sys-apps/portage[${PYTHON_USEDEP}] |
49 |
+ network-cron? ( sys-apps/util-linux[caps] ) |
50 |
+" |
51 |
+ |
52 |
+PATCHES=( |
53 |
+ "${FILESDIR}/e-file-function.patch" |
54 |
+) |
55 |
+ |
56 |
+python_install_all() { |
57 |
+ if use network-cron ; then |
58 |
+ exeinto /etc/cron.weekly |
59 |
+ doexe cron/pfl |
60 |
+ fi |
61 |
+ |
62 |
+ keepdir /var/lib/${PN} |
63 |
+ distutils-r1_python_install_all |
64 |
+} |
65 |
+ |
66 |
+pkg_postinst() { |
67 |
+ if [[ ! -e "${EROOT}/var/lib/${PN}/pfl.info" ]]; then |
68 |
+ touch "${EROOT}/var/lib/${PN}/pfl.info" || die |
69 |
+ fi |
70 |
+ chown -R portage:portage "${EROOT}/var/lib/${PN}" || die |
71 |
+ chmod 775 "${EROOT}/var/lib/${PN}" || die |
72 |
+} |