public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-discid/
Date: Sun,  5 Nov 2023 17:15:26 +0000 (UTC)	[thread overview]
Message-ID: <1699204437.74a9eca3d1ce2f89770ecf7b53dcc117da8a1cf0.mgorny@gentoo> (raw)

commit:     74a9eca3d1ce2f89770ecf7b53dcc117da8a1cf0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  5 17:13:57 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov  5 17:13:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74a9eca3

dev-python/python-discid: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/python-discid/Manifest                  |  2 +-
 .../python-discid/python-discid-1.2.0-r1.ebuild    | 27 +++++++++++++++++-----
 2 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/dev-python/python-discid/Manifest b/dev-python/python-discid/Manifest
index e455554b623c..7bbf1b7d40f7 100644
--- a/dev-python/python-discid/Manifest
+++ b/dev-python/python-discid/Manifest
@@ -1 +1 @@
-DIST python-discid-1.2.0.tar.gz 30756 BLAKE2B 616613de23b66adfc92227a9f36b710649f2a419ffd83443766ebcf1dbfaf528b7d933011bcbdcd19f5092726b81e40d905a62a64262a528dfad89e561210992 SHA512 239cb608508e94109aa9b8b582bc3de1fb9408b508d56698d7f17ec9ebb0d37c1fb76557d98b6d194c1532e3047efcde3adc5d6e9634bc87533d331423a7f19f
+DIST python-discid-1.2.0.gh.tar.gz 30756 BLAKE2B 616613de23b66adfc92227a9f36b710649f2a419ffd83443766ebcf1dbfaf528b7d933011bcbdcd19f5092726b81e40d905a62a64262a528dfad89e561210992 SHA512 239cb608508e94109aa9b8b582bc3de1fb9408b508d56698d7f17ec9ebb0d37c1fb76557d98b6d194c1532e3047efcde3adc5d6e9634bc87533d331423a7f19f

diff --git a/dev-python/python-discid/python-discid-1.2.0-r1.ebuild b/dev-python/python-discid/python-discid-1.2.0-r1.ebuild
index 64e78156abbe..9933139eb3ec 100644
--- a/dev-python/python-discid/python-discid-1.2.0-r1.ebuild
+++ b/dev-python/python-discid/python-discid-1.2.0-r1.ebuild
@@ -4,20 +4,35 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
 DESCRIPTION="Python bindings for libdiscid"
-HOMEPAGE="https://github.com/JonnyJD/python-discid"
-SRC_URI="https://github.com/JonnyJD/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="
+	https://python-discid.readthedocs.io/en/latest/
+	https://github.com/JonnyJD/python-discid/
+	https://pypi.org/project/discid/
+"
+SRC_URI="
+	https://github.com/JonnyJD/python-discid/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
 
 LICENSE="LGPL-3+"
 SLOT="0"
 KEYWORDS="amd64 ~arm64 ~ppc x86"
 
-RDEPEND=">=media-libs/libdiscid-0.2.2"
-DEPEND="${RDEPEND}"
+DEPEND="
+	>=media-libs/libdiscid-0.2.2
+"
+RDEPEND="
+	${DEPEND}
+"
 
 distutils_enable_sphinx doc
-distutils_enable_tests setup.py
+
+python_test() {
+	"${EPYTHON}" -m unittest -v test_discid.TestModule{Private,} ||
+		die "Tests failed with ${EPYTHON}"
+}


             reply	other threads:[~2023-11-05 17:15 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-05 17:15 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-05 17:40 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-discid/ Michał Górny
2023-06-03  3:23 Sam James
2022-06-17  6:40 Arthur Zamarin
2022-03-16  8:09 Michał Górny
2022-03-15 18:30 Jakov Smolić
2022-01-30 10:04 Michał Górny
2021-08-26 11:27 Louis Sautier
2021-03-07  8:49 Miroslav Šulc
2020-05-04 11:44 Michał Górny
2020-05-03 19:02 Agostino Sarubbo
2020-03-08 21:03 Michał Górny
2018-01-06  0:44 Michał Górny
2017-09-17 21:09 Matt Turner
2017-07-15 17:25 Tobias Klausmann
2017-06-20 12:37 Pacho Ramos
2017-03-16 19:13 David Seifert
2017-01-16 17:46 David Seifert
2017-01-04 15:29 Agostino Sarubbo
2016-12-20 14:04 Tobias Klausmann
2015-10-15  9:32 Justin Lecher

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=1699204437.74a9eca3d1ce2f89770ecf7b53dcc117da8a1cf0.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