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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 409F9158020 for ; Sun, 27 Nov 2022 18:07:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 751D7E096F; Sun, 27 Nov 2022 18:07:05 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E98FE096F for ; Sun, 27 Nov 2022 18:07:05 +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 4BC213411E7 for ; Sun, 27 Nov 2022 18:07:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B2C0756 for ; Sun, 27 Nov 2022 18:07:02 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1669572417.8abfa098e9084b722ff487e09776903c136056fd.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/pkgdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/pkgdev/Manifest dev-util/pkgdev/pkgdev-0.2.4.ebuild X-VCS-Directories: dev-util/pkgdev/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 8abfa098e9084b722ff487e09776903c136056fd X-VCS-Branch: master Date: Sun, 27 Nov 2022 18:07:02 +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: 988d9739-8f74-4649-bf11-0b62fde72efd X-Archives-Hash: 1b90f3c47bca24752bc82b29d61ff48f commit: 8abfa098e9084b722ff487e09776903c136056fd Author: Arthur Zamarin gentoo org> AuthorDate: Sun Nov 27 18:06:42 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Nov 27 18:06:57 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8abfa098 dev-util/pkgdev: add 0.2.4 Signed-off-by: Arthur Zamarin gentoo.org> dev-util/pkgdev/Manifest | 1 + dev-util/pkgdev/pkgdev-0.2.4.ebuild | 71 +++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/dev-util/pkgdev/Manifest b/dev-util/pkgdev/Manifest index 72f0d517c7e9..c379f30e1e06 100644 --- a/dev-util/pkgdev/Manifest +++ b/dev-util/pkgdev/Manifest @@ -1 +1,2 @@ DIST pkgdev-0.2.3.tar.gz 67292 BLAKE2B 8e4195c1094200836e23f97ed8ddf44659dcbe123180b253bf961fc08f2534d3573c7194302b3dbe866b45a548e63951ef63d4fce77c4d0903c34a0f4ece9c0b SHA512 ea09483fff8d64ed2a53ab3435bf01be172f1ef6fcbcfa5eac2f19104fdd20cd57f045f578db896c92689f4e6e36acfa4ae4feb28424b5566041fc0e1d5ccb05 +DIST pkgdev-0.2.4.tar.gz 64156 BLAKE2B 321e14b246a97236142a862968bfc127f3215314ef173dc0d610ca867d00a0db067def7810083b11bf6aea1e36202e6c91d7c63d74aa2b85fb17ec476cba1f7c SHA512 0390e130abda2f8eea1d3dd029d31d9381f2543ca98f547b91716ce383791c3760bd89bb276b5b15eaaa165be339c8147d26e93ba81d5be4c8a4cbede6a31caf diff --git a/dev-util/pkgdev/pkgdev-0.2.4.ebuild b/dev-util/pkgdev/pkgdev-0.2.4.ebuild new file mode 100644 index 000000000000..d45b66120ddd --- /dev/null +++ b/dev-util/pkgdev/pkgdev-0.2.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 optfeature + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/pkgcore/pkgdev.git + https://github.com/pkgcore/pkgdev.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" +fi + +DESCRIPTION="Collection of tools for Gentoo development" +HOMEPAGE="https://github.com/pkgcore/pkgdev" + +LICENSE="BSD MIT" +SLOT="0" + +if [[ ${PV} == *9999 ]] ; then + RDEPEND=" + ~dev-python/snakeoil-9999[${PYTHON_USEDEP}] + ~dev-util/pkgcheck-9999[${PYTHON_USEDEP}] + ~sys-apps/pkgcore-9999[${PYTHON_USEDEP}] + " +else + RDEPEND=" + >=dev-python/snakeoil-0.10.3[${PYTHON_USEDEP}] + >=dev-util/pkgcheck-0.10.16[${PYTHON_USEDEP}] + >=sys-apps/pkgcore-0.12.16[${PYTHON_USEDEP}] + " +fi + +RDEPEND+=" + dev-vcs/git +" +BDEPEND=" + >=dev-python/flit_core-3.8[${PYTHON_USEDEP}] + test? ( + x11-misc/xdg-utils + ) +" + +distutils_enable_sphinx doc \ + ">=dev-python/snakeoil-0.10.3" \ + dev-python/tomli +distutils_enable_tests pytest + +python_compile_all() { + use doc && emake PYTHON="${EPYTHON}" man + + sphinx_compile_all # HTML pages only +} + +python_install_all() { + # If USE=doc, there'll be newly generated docs which we install instead. + if use doc || [[ ${PV} != *9999 ]]; then + doman build/sphinx/man/* + fi + + distutils-r1_python_install_all +} + +pkg_postinst() { + optfeature "sending email support" x11-misc/xdg-utils +}