1 |
commit: 2d3655737198098d5c5de88b5da7643ec3e4fc61 |
2 |
Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 7 20:19:25 2021 +0000 |
4 |
Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 7 20:19:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d365573 |
7 |
|
8 |
app-portage/pfl: Version bump. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/812788 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> |
13 |
|
14 |
app-portage/pfl/Manifest | 1 + |
15 |
app-portage/pfl/pfl-3.2.ebuild | 51 ++++++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 52 insertions(+) |
17 |
|
18 |
diff --git a/app-portage/pfl/Manifest b/app-portage/pfl/Manifest |
19 |
index 0e1adeb7edf..ca6d4c381cd 100644 |
20 |
--- a/app-portage/pfl/Manifest |
21 |
+++ b/app-portage/pfl/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST pfl-3.1.tar.gz 5521 BLAKE2B fdc6e82c5d61d694a188c479b0566aafc507bcc2bbd1f176cd2771586b13de86a43a5d2e156beb4c9b5d10cd718046a05fce099894430c8f3d04c0922078e988 SHA512 b2bf79445a5b15caf339106f376d64accf5aad2c60038ba88180d64ce49e23dc3015efa2fcbeec886ba591cada053dfdc96873bda71b092be4622608062b6dcc |
24 |
+DIST pfl-3.2.tar.gz 5373 BLAKE2B 3fcb771a6d67ec7198b83eeeb161d7caea7ccbc3933ff3ef7a48b106e9c86c331f2ac1a4c589135a4f57f40bfcd668f075f17865ff58feb027cd02d90b52bc2a SHA512 e424b5a5c6dbb848057fe357ae98196f2c238351dfe7fd19a9b7f423c245b1372ec270c6b8d2e8265a05a442d7afc2c5feef6dbe5eed5e240e78c88a6748d1d5 |
25 |
|
26 |
diff --git a/app-portage/pfl/pfl-3.2.ebuild b/app-portage/pfl/pfl-3.2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e68f6bf29bb |
29 |
--- /dev/null |
30 |
+++ b/app-portage/pfl/pfl-3.2.ebuild |
31 |
@@ -0,0 +1,51 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DISTUTILS_USE_SETUPTOOLS=no |
38 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
39 |
+PYTHON_REQ_USE="xml" |
40 |
+ |
41 |
+inherit distutils-r1 systemd |
42 |
+ |
43 |
+DESCRIPTION="Searchable online file/package database for Gentoo" |
44 |
+HOMEPAGE="http://www.portagefilelist.de https://github.com/portagefilelist/client" |
45 |
+SRC_URI="https://github.com/portagefilelist/client/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" |
50 |
+IUSE="+network-cron" |
51 |
+ |
52 |
+DEPEND="" |
53 |
+RDEPEND=" |
54 |
+ ${DEPEND} |
55 |
+ dev-python/requests[${PYTHON_USEDEP}] |
56 |
+ dev-python/termcolor[${PYTHON_USEDEP}] |
57 |
+ sys-apps/portage[${PYTHON_USEDEP}] |
58 |
+ network-cron? ( sys-apps/util-linux[caps] ) |
59 |
+" |
60 |
+ |
61 |
+S="${WORKDIR}/client-${PV}" |
62 |
+ |
63 |
+python_install_all() { |
64 |
+ if use network-cron ; then |
65 |
+ exeinto /etc/cron.weekly |
66 |
+ doexe cron/pfl |
67 |
+ fi |
68 |
+ |
69 |
+ systemd_dounit systemd/pfl.{service,timer} |
70 |
+ |
71 |
+ keepdir /var/lib/${PN} |
72 |
+ |
73 |
+ distutils-r1_python_install_all |
74 |
+} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ if [[ ! -e "${EROOT}/var/lib/${PN}/pfl.info" ]]; then |
78 |
+ touch "${EROOT}/var/lib/${PN}/pfl.info" || die |
79 |
+ fi |
80 |
+ chown -R portage:portage "${EROOT}/var/lib/${PN}" || die |
81 |
+ chmod 775 "${EROOT}/var/lib/${PN}" || die |
82 |
+} |