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 7EDB6158092 for ; Fri, 10 Jun 2022 08:25:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BEE64E086D; Fri, 10 Jun 2022 08:25:12 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A9336E086D for ; Fri, 10 Jun 2022 08:25:12 +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 E4EEC34111C for ; Fri, 10 Jun 2022 08:25:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2D71502 for ; Fri, 10 Jun 2022 08:25:08 +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: <1654849505.06c204081dce930790c498c30bb799318f5e5caa.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/nspektr-0.4.0.ebuild X-VCS-Directories: dev-python/nspektr/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 06c204081dce930790c498c30bb799318f5e5caa X-VCS-Branch: master Date: Fri, 10 Jun 2022 08:25:08 +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: 194d07a5-0e1d-44be-95f0-fdb28a6090f6 X-Archives-Hash: a9c1b2ffd28d29e24571a37ead53baeb commit: 06c204081dce930790c498c30bb799318f5e5caa Author: Michał Górny gentoo org> AuthorDate: Fri Jun 10 07:26:32 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Jun 10 08:25:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c20408 dev-python/nspektr: Bump to 0.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/nspektr/Manifest | 1 + dev-python/nspektr/nspektr-0.4.0.ebuild | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) diff --git a/dev-python/nspektr/Manifest b/dev-python/nspektr/Manifest index 0bb0507f2ad8..4078f92f3a3a 100644 --- a/dev-python/nspektr/Manifest +++ b/dev-python/nspektr/Manifest @@ -1 +1,2 @@ DIST nspektr-0.3.0.tar.gz 6314 BLAKE2B cb7b9b5b35a455d4e72e78d93db49b4f8e274c7d7a6c8bf7ccca52cce2598a937d31b76f1a30c4aa6d673e4ce52c4645ce7392965df35b0888d1c69226e08f00 SHA512 6fc22ad7858858f3b956ba5918ca92468f13d4b7db0e4861b836e63153f7e4319c6468e4f73969ce3fb7845ca8d97808b9db2eb2705a47fe1a8c4c19b9c2ef33 +DIST nspektr-0.4.0.gh.tar.gz 6763 BLAKE2B 6393a2d16825cbd580758ba09a7f2277417fc0eb4e7c6f23d49ff1af89a7c6947d4c0bae7158424b96f8f0e3e3aab6ac3f5bb624a8d7edf61eb571b28e690d70 SHA512 c106091e949ce8236c1cf54543bebd2b63484dff95e161fb57668bd6bcb4b17ddf0ecc440c15a0df36cc8c4398ccc439b642eab49b528ba2cbedc75ff009179d diff --git a/dev-python/nspektr/nspektr-0.4.0.ebuild b/dev-python/nspektr/nspektr-0.4.0.ebuild new file mode 100644 index 000000000000..832fd4c23343 --- /dev/null +++ b/dev-python/nspektr/nspektr-0.4.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..11} ) + +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}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +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 +}