From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nspektr/
Date: Thu, 17 Mar 2022 13:11:00 +0000 (UTC) [thread overview]
Message-ID: <1647521428.75d8ffd01a0592a1c8631df66a18045920e058f6.mgorny@gentoo> (raw)
commit: 75d8ffd01a0592a1c8631df66a18045920e058f6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 17 12:40:56 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> 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 <mgorny <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jaraco/nspektr</remote-id>
+ <remote-id type="pypi">nspektr</remote-id>
+ </upstream>
+</pkgmetadata>
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
+}
next reply other threads:[~2022-03-17 13:11 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-17 13:11 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-17 17:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/nspektr/ Michał Górny
2022-03-18 8:28 Arthur Zamarin
2022-03-18 10:06 Arthur Zamarin
2022-03-18 10:06 Arthur Zamarin
2022-03-18 10:06 Arthur Zamarin
2022-03-18 10:06 Arthur Zamarin
2022-03-18 12:04 Arthur Zamarin
2022-03-19 22:57 James Le Cuirot
2022-03-20 18:09 Arthur Zamarin
2022-03-20 18:33 Arthur Zamarin
2022-03-20 18:37 Arthur Zamarin
2022-03-20 23:04 Marek Szuba
2022-03-21 1:49 Matt Turner
2022-03-27 9:50 Fabian Groffen
2022-04-19 13:46 Jakov Smolić
2022-04-19 13:46 Jakov Smolić
2022-04-19 17:33 Arthur Zamarin
2022-04-19 17:33 Arthur Zamarin
2022-04-20 6:37 Agostino Sarubbo
2022-04-20 6:37 Agostino Sarubbo
2022-04-20 17:02 Arthur Zamarin
2022-05-06 20:03 Arthur Zamarin
2022-05-09 15:01 Michał Górny
2022-05-11 11:24 Jakov Smolić
2022-06-10 8:25 Michał Górny
2022-07-10 13:19 Michał Górny
2022-07-10 16:58 Sam James
2022-07-10 19:09 Michał Górny
2023-02-07 9:26 Michał Górny
2023-07-19 11:10 Michał Górny
2023-08-07 2:36 Michał Górny
2023-09-07 19:31 Arthur Zamarin
2023-09-08 4:53 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1647521428.75d8ffd01a0592a1c8631df66a18045920e058f6.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox