From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/anyqt/
Date: Tue, 14 Jun 2022 04:26:18 +0000 (UTC) [thread overview]
Message-ID: <1655180774.987b4b505564ad85fadc39aff840b9489b705584.mgorny@gentoo> (raw)
commit: 987b4b505564ad85fadc39aff840b9489b705584
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 14 03:50:26 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jun 14 04:26:14 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=987b4b50
dev-python/anyqt: Bump to 0.1.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/anyqt/Manifest | 1 +
dev-python/anyqt/anyqt-0.1.1.ebuild | 58 +++++++++++++++++++++++++++++++++++++
2 files changed, 59 insertions(+)
diff --git a/dev-python/anyqt/Manifest b/dev-python/anyqt/Manifest
index bf2cc8a7d9bd..45ffa3aec8f6 100644
--- a/dev-python/anyqt/Manifest
+++ b/dev-python/anyqt/Manifest
@@ -1 +1,2 @@
DIST anyqt-0.0.14.gh.tar.gz 48200 BLAKE2B 15b17e2cb1067dd176d08a267b7fa0272dc9cdaa32c4cae3260053564df22c210a609dad8e4764c9cafeb0241dcabb93bbf8703e0a2ffef38c7f035e9f9f253b SHA512 e3a191cb5e94ee0287405ffff9261100400a78b261fce347268759352ff23a220e46b26882cfdd449be0191080d551d3b16c2feb0a411582ab0aaf1dc79e58cc
+DIST anyqt-0.1.1.gh.tar.gz 54461 BLAKE2B ec78ecf5d326412b953f95379203bc81c92f13ad7b11e44630cf43062a08b9cfa8436b7c18ef6762d43968c87cebc0eadb33b1cecd159c3278e65538cfb80967 SHA512 5e3f6784fe3826b3017365945bc7053a58c4d7db5745c664fa845780212bf89db2b136459afe90df00d63d1507b56fa5b4a579526d9a9f4169943e5d52e230c4
diff --git a/dev-python/anyqt/anyqt-0.1.1.ebuild b/dev-python/anyqt/anyqt-0.1.1.ebuild
new file mode 100644
index 000000000000..66988862ec73
--- /dev/null
+++ b/dev-python/anyqt/anyqt-0.1.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 virtualx
+
+DESCRIPTION="PyQt4/PyQt5 compatibility layer"
+HOMEPAGE="
+ https://github.com/ales-erjavec/anyqt/
+ https://pypi.org/project/AnyQt/
+"
+SRC_URI="
+ https://github.com/ales-erjavec/anyqt/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ || (
+ dev-python/pyside2[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ )
+"
+BDEPEND="
+ test? (
+ dev-python/pyside2[${PYTHON_USEDEP}]
+ dev-python/PyQt5[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+ virtx distutils-r1_src_test
+}
+
+python_test() {
+ local -x QT_API
+ # plugins may preload Qt modules
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ for QT_API in pyqt5 pyside2; do
+ local EPYTEST_IGNORE=()
+ [[ ${QT_API} == pyside2 ]] && EPYTEST_IGNORE+=(
+ tests/test_qaction_set_menu.py
+ )
+
+ einfo "Testing ${QT_API}"
+ nonfatal epytest tests ||
+ die "Tests failed with ${EPYTHON} / ${QT_API}"
+ done
+}
next reply other threads:[~2022-06-14 4:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-14 4:26 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-11-14 4:34 [gentoo-commits] repo/gentoo:master commit in: dev-python/anyqt/ Michał Górny
2022-11-14 4:34 Michał Górny
2022-08-08 9:39 Michał Górny
2022-08-08 9:15 Michał Górny
2022-08-07 8:54 Michał Górny
2022-06-16 8:04 Michał Górny
2022-05-16 12:55 Michał Górny
2022-02-25 23:41 Michał Górny
2021-10-17 7:24 Michał Górny
2021-05-07 8:47 Michał Górny
2021-04-24 9:04 Michał Górny
2020-08-02 20:49 Aaron Bauman
2017-11-29 18:36 Amy Liffey
2017-08-11 19:57 Amy Liffey
2017-08-03 16:39 Amy Liffey
2017-08-03 15:50 Amy Liffey
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=1655180774.987b4b505564ad85fadc39aff840b9489b705584.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