diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-19 01:54:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-19 01:54:17 +0000 |
commit | 89e7f1cd6dd17f245898939477ef38d45dd112b9 (patch) | |
tree | 6b02444048d0d92ccbf6f3e8c538c152f57086c2 /app-portage | |
parent | 1252b7a51c2cc6bd3a81830544cacce0aefc0bf1 (diff) |
gentoo auto-resync : 19:12:2023 - 01:54:16
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/Manifest.gz | bin | 9739 -> 9742 bytes | |||
-rw-r--r-- | app-portage/pfl/Manifest | 2 | ||||
-rw-r--r-- | app-portage/pfl/pfl-3.3.1.ebuild | 49 |
3 files changed, 51 insertions, 0 deletions
diff --git a/app-portage/Manifest.gz b/app-portage/Manifest.gz Binary files differindex 6d6180591f73..b687b11a66cc 100644 --- a/app-portage/Manifest.gz +++ b/app-portage/Manifest.gz diff --git a/app-portage/pfl/Manifest b/app-portage/pfl/Manifest index 55b5e15d82cd..20a85f0c4263 100644 --- a/app-portage/pfl/Manifest +++ b/app-portage/pfl/Manifest @@ -1,3 +1,5 @@ DIST pfl-3.2.1.tar.gz 5655 BLAKE2B 1ebfccca48ac090c6467cfd7a63a488a72e723f8f31d9eb5e8494b74666e20f9e4372fed829e0114295210a76ec9debc9fdd5236340a7740eb1ccfbbc5aaa48b SHA512 967ebe2baed50cd1ed0549d000e2bb240e55c0988d74e492f114fe16b328978ad062606e568dcbe65bcb78738388b1447c823bd1fa31a979d10a4be7a5c7984a +DIST pfl-3.3.1.tar.gz 17810 BLAKE2B 29f180be8b8ca65830da72c191fa38088cdd542340e34f144e8be307deff6689dab9e7abbf1ef6be44fefc95d9c1033d9f6a0a4d423eaa5c9ec29bd9f54ec7a8 SHA512 238933674650ef116c897162894141cbf7c3c1d029453b9226fb0d65138706f89f9a737e44ca7e85a50d7996c1680eb66e5c4357cfcbbb01a29a67398201bda9 EBUILD pfl-3.2.1.ebuild 1267 BLAKE2B d006896ec8e5503b5aa75ef41a3780b8dd5d72f9ba8e77c94a12340b0b2ec6ec4667e9f58ba6fa4b9d89137d121822c345d1f1da7d9de7ab6c6d861acdeb277b SHA512 acd3885b5226980654dd92dbf87d21e601e641834e4244851dd0a3faecaed75133d1d2eec61a4392d1bfa3e1b32ccac22257d840e7b6fd9bfa8e127810ccdbc3 +EBUILD pfl-3.3.1.ebuild 1265 BLAKE2B 60955f75a0fea42e7a66c80d76f322ab31d902e65cd6fad7e135b7272095a04cd46ab684390aad1c336bd9a572edc51201fa9db06631ae97a9ba566efb409e0c SHA512 09bac8b842b4291b41eeae73d7ee9068116bb4b40f707a434539646b6d8033e8538f5ab38dd22a2b4ba356518a269a6378114adc9c014eba5fe3830ce6c4121e MISC metadata.xml 584 BLAKE2B fd0efa0091e062c54bafbae6ba72101c43335b44071fa6bec9fd05583e4cd5b65372eda758bce4a4ab61581811c65f8f4a7515e1d63a66b57f9d9ef60d40f4ba SHA512 c194c1d03bd40333d00263e40534b7c980d54184a934f6199a6d2e008f35bef9f18883523f8678cf7e8472ac4dcbd5a817c587e4f80664407c44a4d24fe82497 diff --git a/app-portage/pfl/pfl-3.3.1.ebuild b/app-portage/pfl/pfl-3.3.1.ebuild new file mode 100644 index 000000000000..a209f77e6ae3 --- /dev/null +++ b/app-portage/pfl/pfl-3.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_REQ_USE="xml(+)" + +inherit distutils-r1 systemd + +DESCRIPTION="Searchable online file/package database for Gentoo" +HOMEPAGE="https://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 ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="+network-cron" + +RDEPEND=" + dev-python/requests[${PYTHON_USEDEP}] + dev-python/termcolor[${PYTHON_USEDEP}] + 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 +} |