From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1109214-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 32E4E138334 for <garchives@archives.gentoo.org>; Thu, 5 Sep 2019 17:25:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58307E076B; Thu, 5 Sep 2019 17:25:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39749E076B for <gentoo-commits@lists.gentoo.org>; Thu, 5 Sep 2019 17:25:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7260534ACEA for <gentoo-commits@lists.gentoo.org>; Thu, 5 Sep 2019 17:25:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 71BDF76A for <gentoo-commits@lists.gentoo.org>; Thu, 5 Sep 2019 17:25:32 +0000 (UTC) From: "Daniel Pielmeier" <billie@gentoo.org> 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" <billie@gentoo.org> Message-ID: <1567704321.3ec1af24dc972ad8c0472b01f851afa5db717932.billie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/pfl/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/pfl/pfl-3.0.1-r3.ebuild X-VCS-Directories: app-portage/pfl/ X-VCS-Committer: billie X-VCS-Committer-Name: Daniel Pielmeier X-VCS-Revision: 3ec1af24dc972ad8c0472b01f851afa5db717932 X-VCS-Branch: master Date: Thu, 5 Sep 2019 17:25:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 399d8037-570b-44e5-a3b7-7992562723c2 X-Archives-Hash: 294554290239fb47d988c2f9d587b946 commit: 3ec1af24dc972ad8c0472b01f851afa5db717932 Author: Daniel Pielmeier <billie <AT> gentoo <DOT> org> AuthorDate: Thu Sep 5 17:25:21 2019 +0000 Commit: Daniel Pielmeier <billie <AT> gentoo <DOT> org> CommitDate: Thu Sep 5 17:25:21 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ec1af24 app-portage/pfl: Revison bump to pfl-3.0.1-r3. Add support for python-3.7. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Daniel Pielmeier <billie <AT> gentoo.org> app-portage/pfl/pfl-3.0.1-r3.ebuild | 49 +++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/app-portage/pfl/pfl-3.0.1-r3.ebuild b/app-portage/pfl/pfl-3.0.1-r3.ebuild new file mode 100644 index 00000000000..0683d8fadcd --- /dev/null +++ b/app-portage/pfl/pfl-3.0.1-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_REQ_USE="xml" + +inherit distutils-r1 + +DESCRIPTION="Searchable online file/package database for Gentoo" +HOMEPAGE="http://www.portagefilelist.de" +SRC_URI="https://dev.gentoo.org/~billie/distfiles/${P}.tar.bz2" + +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/ssl-fetch-0.4[${PYTHON_USEDEP}] + net-misc/curl + sys-apps/portage[${PYTHON_USEDEP}] + network-cron? ( sys-apps/util-linux[caps] ) +" + +PATCHES=( + "${FILESDIR}/e-file-function.patch" +) + +python_install_all() { + if use network-cron ; then + exeinto /etc/cron.weekly + doexe cron/pfl + fi + + 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 +}