commit:     de5d04f29736287872aefad6b9b0f5a61451213a
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  8 06:36:54 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jul  8 22:59:44 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de5d04f2

dev-python/yaswfp: enable testsuite

Requires github commit snapshots

Bug: https://github.com/facundobatista/yaswfp/issues/12
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-python/yaswfp/Manifest               |  2 +-
 dev-python/yaswfp/yaswfp-0.9.3-r2.ebuild | 12 +++++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/dev-python/yaswfp/Manifest b/dev-python/yaswfp/Manifest
index bac0a936b65b..f3df94d7c920 100644
--- a/dev-python/yaswfp/Manifest
+++ b/dev-python/yaswfp/Manifest
@@ -1 +1 @@
-DIST yaswfp-0.9.3.tar.gz 29845 BLAKE2B 
2c5961b79d8378b707a920a4c6a1d75cf8cb09cc6a689035c7118758de3fc1f6fddf6a23e91f4cddea5f7370e4b558b40dfd4a05b16d7fb5f881c5ca74beb4a5
 SHA512 
06fb5d38c92f418fff77d812507621236b3fc74cf75786031bbd81ac1e61767a29647c7f1d0ffbb25d2f6f1a8749e5a732896ad66956e16c886e24e85915f72b
+DIST yaswfp-1f690acd378c0a24037931520fdc465180ca0948.gh.tar.gz 135961 BLAKE2B 
0e17106f69185ec297ac64d26fa16ca935ccaa8a6e75475e81b18facd33edb49aeeb8f59fc61bb7210b0132afeac4f45e229a9d475b621ec776b2cf6217c8eaf
 SHA512 
a825201da9d6430472dc09e7ba40a475ff2950ee42aecee1e8597c645c0e2eec3e069e801ef17795e48f72831464820ad661d2cdf69b99fd65491a1604ce5fc0

diff --git a/dev-python/yaswfp/yaswfp-0.9.3-r2.ebuild 
b/dev-python/yaswfp/yaswfp-0.9.3-r2.ebuild
index ab7beaf2ea16..bec82bd59ea6 100644
--- a/dev-python/yaswfp/yaswfp-0.9.3-r2.ebuild
+++ b/dev-python/yaswfp/yaswfp-0.9.3-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,9 +8,19 @@ PYTHON_COMPAT=( python3_{9..12} )
 
 inherit distutils-r1 pypi
 
+# PyPI doesn't have tests, repo doesn't have tags
+COMMIT=1f690acd378c0a24037931520fdc465180ca0948
+MY_P=${PN}-${COMMIT}
+
 DESCRIPTION="Yet Another SWF Parser"
 HOMEPAGE="https://github.com/facundobatista/yaswfp";
+SRC_URI="
+       https://github.com/facundobatista/yaswfp/archive/${COMMIT}.tar.gz -> 
${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+
+distutils_enable_tests unittest

Reply via email to