diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-30 17:27:54 +0100 |
commit | f70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch) | |
tree | e907cb121b30e3c1df1710719c0ddf4029597a47 /app-portage/pfl | |
parent | db063b515939ab15261136b24e4bc44386335c0c (diff) |
gentoo resync : 30.09.2020
Diffstat (limited to 'app-portage/pfl')
-rw-r--r-- | app-portage/pfl/Manifest | 1 | ||||
-rw-r--r-- | app-portage/pfl/pfl-3.1-r1.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/app-portage/pfl/Manifest b/app-portage/pfl/Manifest index 99cceddbccf1..27c6ce61d35a 100644 --- a/app-portage/pfl/Manifest +++ b/app-portage/pfl/Manifest @@ -1,3 +1,4 @@ DIST pfl-3.1.tar.gz 5521 BLAKE2B fdc6e82c5d61d694a188c479b0566aafc507bcc2bbd1f176cd2771586b13de86a43a5d2e156beb4c9b5d10cd718046a05fce099894430c8f3d04c0922078e988 SHA512 b2bf79445a5b15caf339106f376d64accf5aad2c60038ba88180d64ce49e23dc3015efa2fcbeec886ba591cada053dfdc96873bda71b092be4622608062b6dcc +EBUILD pfl-3.1-r1.ebuild 1239 BLAKE2B 8e334d17f84d34fdd8ee8bd7f2039894b5abb9c6a77c041abc11abc7b1a7056b11e56b3368c9b7187a6c476abd92b1e7fe5faeeb5ea85432becd723e9a850f4e SHA512 5f43b2831292f6b6a2788d3d12f68050d721393938aaf5457981d06d2244de13563598deb4cbde2824b8d2f52c17e1e26740544a84c6f4f94e79f35681c9796e EBUILD pfl-3.1.ebuild 1230 BLAKE2B b8944a8d97a6639678432f31b7378c679d9cc51b31e797aaeef21a47a3b662ec78dd73120a019bf74ee669cd6eac857a5a8adc252baf0559c079c8a5040c15b3 SHA512 e310428a00cc34c438584e0bce74789cc9fc77ecc6b575b2c9f029190772a8d5bb88689398ce73e340e1cba68995f8de688596d74011f3e0d8c6c39994964360 MISC metadata.xml 495 BLAKE2B ef70490d091bdd595de1f73ab32dfa8d537c32bf8b5362d7ba19529d7f8c4cc8252702ab781fee5021f13a36b1724f471ff9b6358ddfb77cf7c31f2c4ff56b0d SHA512 b556cae880b209d43627f462f429c4aa71f023e96f6bef4eb2fbed854d28e94be98a3f07e65b980dbc22e6ad9b7da6fc284402329119a47538a2eb1158ce942b diff --git a/app-portage/pfl/pfl-3.1-r1.ebuild b/app-portage/pfl/pfl-3.1-r1.ebuild new file mode 100644 index 000000000000..bff47df54d94 --- /dev/null +++ b/app-portage/pfl/pfl-3.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=no +PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_REQ_USE="xml" + +inherit distutils-r1 systemd + +DESCRIPTION="Searchable online file/package database for Gentoo" +HOMEPAGE="http://www.portagefilelist.de https://github.com/portagefilelist/client" +SRC_URI="https://github.com/portagefilelist/client/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+network-cron" + +DEPEND="" +RDEPEND=" + ${DEPEND} + dev-python/requests[${PYTHON_USEDEP}] + net-misc/curl + sys-apps/portage[${PYTHON_USEDEP}] + network-cron? ( sys-apps/util-linux[caps] ) +" + +S="${WORKDIR}/client-${PV}" + +python_install_all() { + if use network-cron ; then + exeinto /etc/cron.weekly + doexe cron/pfl + fi + + systemd_dounit systemd/pfl.{service,timer} + + keepdir /var/lib/${PN} + + distutils-r1_python_install_all +} + +pkg_postinst() { + if [[ ! -e "${EROOT}/var/lib/${PN}/pfl.info" ]]; then + touch "${EROOT}/var/lib/${PN}/pfl.info" || die + fi + chown -R portage:portage "${EROOT}/var/lib/${PN}" || die + chmod 775 "${EROOT}/var/lib/${PN}" || die +} |