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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F19F4138334 for ; Sun, 7 Oct 2018 15:19:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20804E0995; Sun, 7 Oct 2018 15:19:07 +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 F3669E0995 for ; Sun, 7 Oct 2018 15:19:06 +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 AFA62335C95 for ; Sun, 7 Oct 2018 15:19:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 525D53F8 for ; Sun, 7 Oct 2018 15:19:03 +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: <1538925530.82212b57163eedf88c588ec05e5981f4e7d6ac0f.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-r2.ebuild X-VCS-Directories: app-portage/pfl/ X-VCS-Committer: billie X-VCS-Committer-Name: Daniel Pielmeier X-VCS-Revision: 82212b57163eedf88c588ec05e5981f4e7d6ac0f X-VCS-Branch: master Date: Sun, 7 Oct 2018 15:19:03 +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-Archives-Salt: bd314019-5983-4040-93cc-7e758a27234c X-Archives-Hash: 4b47dae95b89a01051f2c405a6d47e4d commit: 82212b57163eedf88c588ec05e5981f4e7d6ac0f Author: Daniel Pielmeier gentoo org> AuthorDate: Sun Oct 7 15:18:25 2018 +0000 Commit: Daniel Pielmeier gentoo org> CommitDate: Sun Oct 7 15:18:50 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82212b57 app-portage/pfl: Revision bump to 3.0-r2. Switch to EAPI 7. Signed-off-by: Daniel Pielmeier gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11 app-portage/pfl/pfl-3.0-r2.ebuild | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/app-portage/pfl/pfl-3.0-r2.ebuild b/app-portage/pfl/pfl-3.0-r2.ebuild new file mode 100644 index 00000000000..c285466a603 --- /dev/null +++ b/app-portage/pfl/pfl-3.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6} ) +PYTHON_REQ_USE="xml" + +inherit distutils-r1 + +DESCRIPTION="Searchable online file/package database for Gentoo" +HOMEPAGE="http://www.portagefilelist.de" +SRC_URI="http://files.portagefilelist.de/${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} + net-misc/curl + || ( + sys-apps/portage[${PYTHON_USEDEP}] + sys-apps/portage-mgorny[${PYTHON_USEDEP}] + ) + >=dev-python/ssl-fetch-0.4[${PYTHON_USEDEP}] +" + +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 + chown -R 0:portage "${EROOT}/var/lib/${PN}" || die + chmod 775 "${EROOT}/var/lib/${PN}" || die + fi +}