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 7F856158041 for ; Mon, 1 Apr 2024 13:58:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8982E2A3C; Mon, 1 Apr 2024 13:58:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 95E1FE2A3C for ; Mon, 1 Apr 2024 13:58:25 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98B4E3430EC for ; Mon, 1 Apr 2024 13:58:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 115E8DC3 for ; Mon, 1 Apr 2024 13:58:23 +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: <1711979869.0c3150b693821fd7f96bab18927bd740b10f7c53.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.5.2.ebuild X-VCS-Directories: app-portage/pfl/ X-VCS-Committer: billie X-VCS-Committer-Name: Daniel Pielmeier X-VCS-Revision: 0c3150b693821fd7f96bab18927bd740b10f7c53 X-VCS-Branch: master Date: Mon, 1 Apr 2024 13:58:23 +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: 8987ca3c-fdeb-444e-bdc8-66ff9c55785a X-Archives-Hash: 337b905d0c20ab53b13867f1911595bc commit: 0c3150b693821fd7f96bab18927bd740b10f7c53 Author: Daniel Pielmeier gentoo org> AuthorDate: Mon Apr 1 13:57:49 2024 +0000 Commit: Daniel Pielmeier gentoo org> CommitDate: Mon Apr 1 13:57:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c3150b6 app-portage/pfl: add 3.5.2 Closes: https://bugs.gentoo.org/928273 Signed-off-by: Daniel Pielmeier gentoo.org> app-portage/pfl/Manifest | 1 + app-portage/pfl/pfl-3.5.2.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/app-portage/pfl/Manifest b/app-portage/pfl/Manifest index 7c0e39aabc0b..04638c103c4f 100644 --- a/app-portage/pfl/Manifest +++ b/app-portage/pfl/Manifest @@ -1,2 +1,3 @@ DIST pfl-3.4.tar.gz 18651 BLAKE2B 09793883a1ed6f70da2f01fb81cfafa407ed43584a826f2cd8fde6d75b544ed803a220fc517e649774100da32e64d01fad8ff0dcbaff9068f57cdf7bd4414169 SHA512 c21b43f234a778d74e05cd45b7ccb48b131d6998e632d044a4bccc2f772099d02d1c5e7ab75fc6f9deb14e2f1ed1f31bac51e917e628065b4a36d73b8d77336f DIST pfl-3.5.1.tar.gz 20911 BLAKE2B 83057374eeadacecc96c8b46ae61847ab4f472d1c66b8070d9810aec977e72eb9379b6627def20e0cb21b739a7259b08aff589dd8e853c484a248725c3df328c SHA512 4260bd4822700a20cc38d2c325ee8af815af7d225335817ae10882fb1ebef5e7be9a412d0f26de5fc37ecc71a1853980f3627fdf8859711dfe418fe9c00a1ac3 +DIST pfl-3.5.2.tar.gz 21248 BLAKE2B 28f4f05bc533f4b27cdbef7f2706ed99f885983e4f9e4f2580e07b772bef471eeca197a41d03059e28c2053869de4cb5295a9923dcba6f598bbf6e6be5e57185 SHA512 5f38b627cd5928396fe8202dd822756ed63b6dd80d98d1ee3da9998eb750070e9a921d652bbc7ed852e4944005f9d6c61c14c67be01c591f5c82ca50f869465e diff --git a/app-portage/pfl/pfl-3.5.2.ebuild b/app-portage/pfl/pfl-3.5.2.ebuild new file mode 100644 index 000000000000..08f27aa7c608 --- /dev/null +++ b/app-portage/pfl/pfl-3.5.2.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 +}