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 CC2C415808B for ; Thu, 17 Mar 2022 13:11:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68C33E082B; Thu, 17 Mar 2022 13:11:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 6FD8CE0828 for ; Thu, 17 Mar 2022 13:11:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 35DC73434BF for ; Thu, 17 Mar 2022 13:11:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDC7B2D7 for ; Thu, 17 Mar 2022 13:11:00 +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: <1647521428.75d8ffd01a0592a1c8631df66a18045920e058f6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nspektr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/nspektr/Manifest dev-python/nspektr/metadata.xml dev-python/nspektr/nspektr-0.3.0.ebuild X-VCS-Directories: dev-python/nspektr/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 75d8ffd01a0592a1c8631df66a18045920e058f6 X-VCS-Branch: master Date: Thu, 17 Mar 2022 13:11:00 +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: 2d478366-db08-4ba9-9c36-2923a82394b2 X-Archives-Hash: dfd637005a92145cf8db6c851757198f commit: 75d8ffd01a0592a1c8631df66a18045920e058f6 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 17 12:40:56 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 17 12:50:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d8ffd0 dev-python/nspektr: New NIH setuptools dep, v0.3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/nspektr/Manifest | 1 + dev-python/nspektr/metadata.xml | 11 ++++++ dev-python/nspektr/nspektr-0.3.0.ebuild | 61 +++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) diff --git a/dev-python/nspektr/Manifest b/dev-python/nspektr/Manifest new file mode 100644 index 000000000000..0bb0507f2ad8 --- /dev/null +++ b/dev-python/nspektr/Manifest @@ -0,0 +1 @@ +DIST nspektr-0.3.0.tar.gz 6314 BLAKE2B cb7b9b5b35a455d4e72e78d93db49b4f8e274c7d7a6c8bf7ccca52cce2598a937d31b76f1a30c4aa6d673e4ce52c4645ce7392965df35b0888d1c69226e08f00 SHA512 6fc22ad7858858f3b956ba5918ca92468f13d4b7db0e4861b836e63153f7e4319c6468e4f73969ce3fb7845ca8d97808b9db2eb2705a47fe1a8c4c19b9c2ef33 diff --git a/dev-python/nspektr/metadata.xml b/dev-python/nspektr/metadata.xml new file mode 100644 index 000000000000..8d6c012216d8 --- /dev/null +++ b/dev-python/nspektr/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + jaraco/nspektr + nspektr + + diff --git a/dev-python/nspektr/nspektr-0.3.0.ebuild b/dev-python/nspektr/nspektr-0.3.0.ebuild new file mode 100644 index 000000000000..5bdf1069dbe4 --- /dev/null +++ b/dev-python/nspektr/nspektr-0.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep +EAPI=7 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Distribution package dependency inspector" +HOMEPAGE=" + https://github.com/jaraco/nspektr/ + https://pypi.org/project/nspektr/ +" +SRC_URI=" + https://github.com/jaraco/nspektr/archive/v${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jaraco-context-4.1.1-r2[${PYTHON_USEDEP}] + >=dev-python/jaraco-functools-3.5.0-r2[${PYTHON_USEDEP}] + >=dev-python/more-itertools-8.12.0-r1[${PYTHON_USEDEP}] + >=dev-python/packaging-21.3-r2[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/importlib_metadata-4.11.2[${PYTHON_USEDEP}] + ' 3.8 3.9) +" + +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "setuptools' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "nspektr" + version = "${PV}" + description = "package inspector" + + # tests inspect itself + [project.optional-dependencies] + docs = [ + "fake-nonexisting", + ] + testing = [ + "pytest", + ] + EOF +}