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/qstylizer/
Date: Sun,  5 Nov 2023 16:27:49 +0000 (UTC)	[thread overview]
Message-ID: <1699201662.87fa5eabd5791a2d9112691d5844729133ac457c.mgorny@gentoo> (raw)

commit:     87fa5eabd5791a2d9112691d5844729133ac457c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  5 16:23:25 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov  5 16:27:42 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87fa5eab

dev-python/qstylizer: Enable py3.12

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

 dev-python/qstylizer/qstylizer-0.2.2.ebuild | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/dev-python/qstylizer/qstylizer-0.2.2.ebuild b/dev-python/qstylizer/qstylizer-0.2.2.ebuild
index 35ecfee16349..7ed9d79cd031 100644
--- a/dev-python/qstylizer/qstylizer-0.2.2.ebuild
+++ b/dev-python/qstylizer/qstylizer-0.2.2.ebuild
@@ -3,13 +3,20 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
 inherit distutils-r1
 
 DESCRIPTION="Stylesheet Generator for PyQt5/PySide2"
-HOMEPAGE="https://github.com/blambright/qstylizer"
-SRC_URI="https://github.com/blambright/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="
+	https://github.com/blambright/qstylizer/
+	https://pypi.org/project/qstylizer/
+"
+SRC_URI="
+	https://github.com/blambright/qstylizer/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
 
 LICENSE="MIT"
 SLOT="0"
@@ -32,7 +39,9 @@ BDEPEND="
 "
 
 distutils_enable_tests pytest
-distutils_enable_sphinx doc dev-python/sphinx-rtd-theme dev-python/sphinxcontrib-autoprogram
+distutils_enable_sphinx doc \
+	dev-python/sphinx-rtd-theme \
+	dev-python/sphinxcontrib-autoprogram
 
 python_prepare_all() {
 	# Exception: Versioning for this project requires either an sdist tarball, or access to an
@@ -48,5 +57,10 @@ python_prepare_all() {
 	git commit -m "init" || die
 	git tag -a "${PV}" -m "${PV}" || die
 
+	# fix test
+	# https://github.com/blambright/qstylizer/pull/17
+	sed -e 's:[.]called_once_with:.assert_called_once_with:' \
+		-i test/unit/test_style.py || die
+
 	distutils-r1_python_prepare_all
 }


             reply	other threads:[~2023-11-05 16:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-05 16:27 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-21  6:01 [gentoo-commits] repo/gentoo:master commit in: dev-python/qstylizer/ Michał Górny
2024-07-07 15:36 Michał Górny
2024-07-07 15:36 Michał Górny
2024-04-18  5:34 Michał Górny
2023-11-23 20:20 Michał Górny
2023-11-05 16:27 Michał Górny
2023-11-05 16:27 Michał Górny
2022-09-05 12:40 Andrew Ammerlaan
2022-06-16  8:09 Michał Górny
2022-05-25 11:03 Andrew Ammerlaan
2021-10-17  9:25 Michał Górny
2021-07-30  8:25 Andrew Ammerlaan
2021-07-06 12:51 Andrew Ammerlaan
2021-06-11 15:55 Andrew Ammerlaan
2021-06-11 15:53 Andrew Ammerlaan
2021-06-11 14:32 Andrew Ammerlaan
2021-05-04 19:23 Sam James
2021-04-16  9:55 Joonas Niilola
2021-04-09 12:21 Joonas Niilola

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=1699201662.87fa5eabd5791a2d9112691d5844729133ac457c.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