From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3AFCA158089 for ; Sun, 5 Nov 2023 16:27:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D23562BC026; Sun, 5 Nov 2023 16:27:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BD0832BC026 for ; Sun, 5 Nov 2023 16:27:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DD15D335CE9 for ; Sun, 5 Nov 2023 16:27:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09CE41308 for ; Sun, 5 Nov 2023 16:27:49 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1699201662.87fa5eabd5791a2d9112691d5844729133ac457c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qstylizer/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qstylizer/qstylizer-0.2.2.ebuild X-VCS-Directories: dev-python/qstylizer/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 87fa5eabd5791a2d9112691d5844729133ac457c X-VCS-Branch: master Date: Sun, 5 Nov 2023 16:27:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c907582b-ee4e-4b68-be95-42e4d7e62529 X-Archives-Hash: c4f5b40e522a93b6d6832c0bb729f778 commit: 87fa5eabd5791a2d9112691d5844729133ac457c Author: Michał Górny gentoo org> AuthorDate: Sun Nov 5 16:23:25 2023 +0000 Commit: Michał Górny gentoo 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 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 }