From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dunshire/
Date: Sun, 8 Sep 2024 13:57:58 +0000 (UTC) [thread overview]
Message-ID: <1725803874.c682943c6c484f0cef936ab834da1b89df85cbad.mgorny@gentoo> (raw)
commit: c682943c6c484f0cef936ab834da1b89df85cbad
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 8 13:55:52 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 8 13:57:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c682943c
sci-mathematics/dunshire: Remove `det setup.py` false positive
Remove the pointless call to `distutils_enable_tests setup.py` that
is a false positive on packages broken by new dev-python/setuptools
versions.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild b/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
index c98c5b6bf51d..348bf1942132 100644
--- a/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
+++ b/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
@@ -5,26 +5,32 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
+
inherit distutils-r1
DESCRIPTION="Python library to solve linear games over symmetric cones"
HOMEPAGE="https://michael.orlitzky.com/code/dunshire/"
SRC_URI="https://michael.orlitzky.com/code/releases/${P}.tar.gz"
+
LICENSE="AGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/cvxopt[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ ${RDEPEND}
+ )
+"
-RDEPEND="dev-python/cvxopt[${PYTHON_USEDEP}]"
DOCS=( doc/README.rst )
distutils_enable_sphinx doc/source
-# There are no additional dependencies even though we're not really
-# using setup.py to run the test suite any more. The __main__.py
-# runner has its own exit code handling.
-distutils_enable_tests setup.py
-
python_test() {
PYTHONPATH="." "${EPYTHON}" test/__main__.py --verbose || die
}
next reply other threads:[~2024-09-08 13:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-08 13:57 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-10 2:03 [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/dunshire/ Michael Orlitzky
2024-08-05 2:31 Michael Orlitzky
2024-08-05 2:08 Michael Orlitzky
2024-04-20 19:39 Michael Orlitzky
2024-04-13 16:54 Michael Orlitzky
2023-11-15 0:26 Michael Orlitzky
2023-03-16 18:52 Michał Górny
2023-02-25 19:59 Michael Orlitzky
2022-05-19 0:15 Michael Orlitzky
2021-05-23 13:57 Michał Górny
2020-04-19 23:19 Michael Orlitzky
2018-06-26 20:29 Pacho Ramos
2016-11-16 14:03 Michael Orlitzky
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=1725803874.c682943c6c484f0cef936ab834da1b89df85cbad.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