From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9BE45158451 for ; Thu, 11 Jan 2024 18:54:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E341FE2A5F; Thu, 11 Jan 2024 18:54:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CD31CE2A5F for ; Thu, 11 Jan 2024 18:54:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21AF8335CB4 for ; Thu, 11 Jan 2024 18:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8904711F4 for ; Thu, 11 Jan 2024 18:54:12 +0000 (UTC) From: "Daniel Pielmeier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Daniel Pielmeier" Message-ID: <1704999196.679edc6fe3842742b649d40f53a36b794f5c2736.billie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/pfl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/pfl/Manifest app-portage/pfl/pfl-3.4.ebuild X-VCS-Directories: app-portage/pfl/ X-VCS-Committer: billie X-VCS-Committer-Name: Daniel Pielmeier X-VCS-Revision: 679edc6fe3842742b649d40f53a36b794f5c2736 X-VCS-Branch: master Date: Thu, 11 Jan 2024 18:54:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3d06400b-b6b4-4cf3-bf19-0efb76f4ada6 X-Archives-Hash: b14d84ed185d18601f610e6436a961bd commit: 679edc6fe3842742b649d40f53a36b794f5c2736 Author: Daniel Pielmeier gentoo org> AuthorDate: Thu Jan 11 18:52:46 2024 +0000 Commit: Daniel Pielmeier gentoo org> CommitDate: Thu Jan 11 18:53:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=679edc6f app-portage/pfl: add 3.4 Closes: https://bugs.gentoo.org/921498 Signed-off-by: Daniel Pielmeier gentoo.org> app-portage/pfl/Manifest | 1 + app-portage/pfl/pfl-3.4.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/app-portage/pfl/Manifest b/app-portage/pfl/Manifest index 679852ffa3d0..bb2843bb26dc 100644 --- a/app-portage/pfl/Manifest +++ b/app-portage/pfl/Manifest @@ -1,2 +1,3 @@ DIST pfl-3.2.1.tar.gz 5655 BLAKE2B 1ebfccca48ac090c6467cfd7a63a488a72e723f8f31d9eb5e8494b74666e20f9e4372fed829e0114295210a76ec9debc9fdd5236340a7740eb1ccfbbc5aaa48b SHA512 967ebe2baed50cd1ed0549d000e2bb240e55c0988d74e492f114fe16b328978ad062606e568dcbe65bcb78738388b1447c823bd1fa31a979d10a4be7a5c7984a DIST pfl-3.3.1.tar.gz 17810 BLAKE2B 29f180be8b8ca65830da72c191fa38088cdd542340e34f144e8be307deff6689dab9e7abbf1ef6be44fefc95d9c1033d9f6a0a4d423eaa5c9ec29bd9f54ec7a8 SHA512 238933674650ef116c897162894141cbf7c3c1d029453b9226fb0d65138706f89f9a737e44ca7e85a50d7996c1680eb66e5c4357cfcbbb01a29a67398201bda9 +DIST pfl-3.4.tar.gz 18651 BLAKE2B 09793883a1ed6f70da2f01fb81cfafa407ed43584a826f2cd8fde6d75b544ed803a220fc517e649774100da32e64d01fad8ff0dcbaff9068f57cdf7bd4414169 SHA512 c21b43f234a778d74e05cd45b7ccb48b131d6998e632d044a4bccc2f772099d02d1c5e7ab75fc6f9deb14e2f1ed1f31bac51e917e628065b4a36d73b8d77336f diff --git a/app-portage/pfl/pfl-3.4.ebuild b/app-portage/pfl/pfl-3.4.ebuild new file mode 100644 index 000000000000..08f27aa7c608 --- /dev/null +++ b/app-portage/pfl/pfl-3.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 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 +}