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 CBF9F158091 for ; Wed, 18 May 2022 07:36:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E337CE08BB; Wed, 18 May 2022 07:36:18 +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 C8CBDE08BB for ; Wed, 18 May 2022 07:36:18 +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 B5B583415A1 for ; Wed, 18 May 2022 07:36:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8FE047E for ; Wed, 18 May 2022 07:36:14 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1652859367.27dc861550a706df120c87f91d3d0a93338d3f69.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/flaggie/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/flaggie/flaggie-0.2.1-r2.ebuild X-VCS-Directories: app-portage/flaggie/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 27dc861550a706df120c87f91d3d0a93338d3f69 X-VCS-Branch: master Date: Wed, 18 May 2022 07:36:14 +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: fc7f47be-e227-489a-8a0c-968f4718ba9b X-Archives-Hash: 6e4cd2e89f6820afc4c5df59e3779b21 commit: 27dc861550a706df120c87f91d3d0a93338d3f69 Author: Michał Górny gentoo org> AuthorDate: Wed May 18 07:06:16 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 18 07:36:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27dc8615 app-portage/flaggie: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> app-portage/flaggie/flaggie-0.2.1-r2.ebuild | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/app-portage/flaggie/flaggie-0.2.1-r2.ebuild b/app-portage/flaggie/flaggie-0.2.1-r2.ebuild new file mode 100644 index 000000000000..5ced01008064 --- /dev/null +++ b/app-portage/flaggie/flaggie-0.2.1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..9} ) + +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="A smart CLI mangler for package.* files" +HOMEPAGE="https://github.com/mgorny/flaggie/" +SRC_URI="https://github.com/mgorny/flaggie/releases/download/${P}/${P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + sys-apps/portage[${PYTHON_USEDEP}] +" + +python_install_all() { + newbashcomp contrib/bash-completion/${PN}.bash-completion ${PN} + distutils-r1_python_install_all +} + +pkg_postinst() { + ewarn "Please note that flaggie creates backups of your package.* files" + ewarn "before performing each change through appending a single '~'." + ewarn "If you'd like to keep your own backup of them, please use another" + ewarn "naming scheme (or even better some VCS)." + if ! has_version app-shells/gentoo-bashcomp; then + elog + elog "If you want to use bash-completion, you need to install:" + elog " app-shells/gentoo-bashcomp" + fi +}