From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nox/
Date: Thu, 5 Jan 2023 19:01:43 +0000 (UTC) [thread overview]
Message-ID: <1672945295.fee5cbfa4344d7d7ac2a2bd05ccdbfc25f71ac3f.mgorny@gentoo> (raw)
commit: fee5cbfa4344d7d7ac2a2bd05ccdbfc25f71ac3f
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 5 18:57:05 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 5 19:01:35 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee5cbfa
dev-python/nox: New package, v2022.11.21
dev-python/nox is another test automation runner, like dev-python/tox.
However, instead of declarative configs it uses Python scripts. Add it
since some projects supply only noxfiles and setting up venv to run
their test suites is cumbersome.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nox/Manifest | 1 +
dev-python/nox/metadata.xml | 13 +++++++++++
dev-python/nox/nox-2022.11.21.ebuild | 42 ++++++++++++++++++++++++++++++++++++
3 files changed, 56 insertions(+)
diff --git a/dev-python/nox/Manifest b/dev-python/nox/Manifest
new file mode 100644
index 000000000000..bd4764d4b225
--- /dev/null
+++ b/dev-python/nox/Manifest
@@ -0,0 +1 @@
+DIST nox-2022.11.21.gh.tar.gz 3983862 BLAKE2B 9c365dae5415de4c43c262a1ec9c9007b686838f8aff92a049b1602efe320b7644677646ee72c0e5754efc79d6e38cd46b59ff2851b39b4bf05d3166625000d4 SHA512 7f725425acd7d1ef55e04c5330c1f4fd2f2f5107c24b4bb7f7e2711cf6a5c1b8f2777a4902ee31d4a56898a953f3da6a9ed340d652fbc63cba33f5f763702b78
diff --git a/dev-python/nox/metadata.xml b/dev-python/nox/metadata.xml
new file mode 100644
index 000000000000..ab6d02e2c276
--- /dev/null
+++ b/dev-python/nox/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">wntrblm/nox</remote-id>
+ <remote-id type="pypi">nox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/nox/nox-2022.11.21.ebuild b/dev-python/nox/nox-2022.11.21.ebuild
new file mode 100644
index 000000000000..1047e05af66b
--- /dev/null
+++ b/dev-python/nox/nox-2022.11.21.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Flexible test automation for Python"
+HOMEPAGE="
+ https://github.com/wntrblm/nox/
+ https://pypi.org/project/nox/
+"
+SRC_URI="
+ https://github.com/wntrblm/nox/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ <dev-python/argcomplete-3.0[${PYTHON_USEDEP}]
+ >=dev-python/argcomplete-1.9.4[${PYTHON_USEDEP}]
+ <dev-python/colorlog-7.0.0[${PYTHON_USEDEP}]
+ >=dev-python/colorlog-2.6.1[${PYTHON_USEDEP}]
+ >=dev-python/packaging-20.9[${PYTHON_USEDEP}]
+ >=dev-python/virtualenv-14[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ # broken with >=dev-python/tox-4
+ # https://github.com/wntrblm/nox/issues/673
+ rm nox/tox_to_nox.* tests/test_tox_to_nox.py || die
+ sed -i -e '/tox-to-nox/d' pyproject.toml || die
+ distutils-r1_src_prepare
+}
next reply other threads:[~2023-01-05 19:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 19:01 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-08 14:23 [gentoo-commits] repo/gentoo:master commit in: dev-python/nox/ Michał Górny
2023-04-06 15:38 Michał Górny
2023-04-23 19:30 Michał Górny
2023-05-27 19:21 Arthur Zamarin
2023-05-27 19:21 Arthur Zamarin
2023-11-30 2:08 Sam James
2024-03-04 6:31 Michał Górny
2024-04-16 6:46 Michał Górny
2024-06-17 16:27 Michał Górny
2024-06-17 16:27 Michał Górny
2024-10-10 5:03 Michał Górny
2025-02-10 5:47 Michał Górny
2025-02-10 5:47 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=1672945295.fee5cbfa4344d7d7ac2a2bd05ccdbfc25f71ac3f.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