* [gentoo-commits] repo/proj/guru:master commit in: dev-python/PyPubSub/
@ 2023-11-01 23:27 Haelwenn Monnier
0 siblings, 0 replies; 3+ messages in thread
From: Haelwenn Monnier @ 2023-11-01 23:27 UTC (permalink / raw
To: gentoo-commits
commit: 6649dc5b6e2c58279dac88cccde335a8b7788f14
Author: Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
AuthorDate: Wed Nov 1 23:14:54 2023 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Wed Nov 1 23:14:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6649dc5b
dev-python/PyPubSub: new package, add 4.0.3
Signed-off-by: Benoît Dufour <benoit.dufour <AT> mail.com>
dev-python/PyPubSub/Manifest | 1 +
dev-python/PyPubSub/PyPubSub-4.0.3.ebuild | 35 +++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/dev-python/PyPubSub/Manifest b/dev-python/PyPubSub/Manifest
new file mode 100644
index 0000000000..66e4ca178f
--- /dev/null
+++ b/dev-python/PyPubSub/Manifest
@@ -0,0 +1 @@
+DIST PyPubSub-4.0.3.gh.tar.gz 174033 BLAKE2B 65fcd960ce2f0548f152546faa7a98055a823414c453b475d6ade339f55e72a60dcb8d627f6272cc844d181f772b76dba4e53b2ecc521bb05420abc09f6c30d2 SHA512 cf9aca44e91a5d0e5ecf6739deabf2980f9464395c89e3c5335c5248e47c570701e0534bb660c5005325a994d9f8e7f261f36bc8bea74cfc7eb760b73c572652
diff --git a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild b/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
new file mode 100644
index 0000000000..0b0e1876e4
--- /dev/null
+++ b/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Forked from : https://data.gpo.zugaina.org/HomeAssistantRepository/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
+
+EAPI=8
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+inherit distutils-r1
+
+DESCRIPTION="Python Publish-Subscribe Package"
+HOMEPAGE="https://github.com/schollii/pypubsub https://pypi.org/project/PyPubSub/"
+MY_PN="pypubsub"
+SRC_URI="https://github.com/schollii/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DOCS="README.rst"
+
+BDEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pytest[${PYTHON_USEDEP}]
+ )"
+
+python_test() {
+ py.test -v -v || die
+}
+
+distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/PyPubSub/
@ 2024-01-01 14:31 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2024-01-01 14:31 UTC (permalink / raw
To: gentoo-commits
commit: c0e466a9fee41408c85478a2cd967fa7904bbbc0
Author: Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
AuthorDate: Sun Dec 31 20:25:27 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 12:26:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c0e466a9
dev-python/PyPubSub: Change working directory for test runner
The default pytest test runner doesn't find the test cases
unless it is run in the correct directory.
Closes: https://bugs.gentoo.org/916697
Signed-off-by: Moritz Brunner <moritz.brunner+gentoo <AT> posteo.de>
dev-python/PyPubSub/PyPubSub-4.0.3.ebuild | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild b/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
index 0b0e1876e4..c65dc950f9 100644
--- a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
+++ b/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
@@ -28,8 +28,9 @@ BDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
)"
+distutils_enable_tests pytest
+
python_test() {
- py.test -v -v || die
+ cd tests/suite
+ distutils-r1_python_test
}
-
-distutils_enable_tests pytest
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/PyPubSub/
@ 2024-01-01 14:31 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2024-01-01 14:31 UTC (permalink / raw
To: gentoo-commits
commit: ad6bd68959de396ae567a41116f5d32613cf2486
Author: Moritz Brunner <moritz.brunner+gentoo <AT> posteo <DOT> de>
AuthorDate: Sun Dec 31 20:27:38 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan 1 12:26:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad6bd689
dev-python/PyPubSub: bump to 4.0.3-r1, destabilize ~amd64, ~arm, ~arm64, ~x86
Change all keywords to ~ARCH in accordance with GURU regulations.
Signed-off-by: Moritz Brunner <moritz.brunner+gentoo <AT> posteo.de>
dev-python/PyPubSub/{PyPubSub-4.0.3.ebuild => PyPubSub-4.0.3-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild b/dev-python/PyPubSub/PyPubSub-4.0.3-r1.ebuild
similarity index 96%
rename from dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
rename to dev-python/PyPubSub/PyPubSub-4.0.3-r1.ebuild
index c65dc950f9..541fbda263 100644
--- a/dev-python/PyPubSub/PyPubSub-4.0.3.ebuild
+++ b/dev-python/PyPubSub/PyPubSub-4.0.3-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm arm64 x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-01 14:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-01 14:31 [gentoo-commits] repo/proj/guru:master commit in: dev-python/PyPubSub/ Florian Schmaus
-- strict thread matches above, loose matches on Subject: below --
2024-01-01 14:31 Florian Schmaus
2023-11-01 23:27 Haelwenn Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox