https://bugzilla.redhat.com/show_bug.cgi?id=2009450
Alois Mahdal <amahdal(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(n9042e84(a)vornet.c |
|z) |
--- Comment #13 from Alois Mahdal <amahdal(a)redhat.com> ---
Ahh, sorry about the mess...
New set of links is (fixed SRPM link and COPR link):
Spec URL:
https://netvor.info/projects/python-kanboard-in-fedora/python-kanboard.spec
SRPM URL:
https://netvor.info/projects/python-kanboard-in-fedora/python-kanboard-1....
Description: Client library for Kanboard API. Builds also available in my
COPR:
https://copr.fedorainfracloud.org/coprs/netvor/scratch/builds/
Fedora Account System Username: netvor
I've also fixed the SRPM:
* added -r to %pyproject_buildrequires
* used %{python3} -m unittest to implement `%check`
* removed the `pwd` and `ls` junk.
The latest build is:
https://copr.fedorainfracloud.org/coprs/netvor/scratch/build/3192179/
BTW the reason i originally used `setup.py test` because that's exactly what
upstream is using (in .github/workflows/ci.yml). I understand that it's kinda
"dirty" (rpmbuild log warned) but other options in the guide imply tox or
pytest, which seems as overkill.
-m unittest does indeed work:
[..]
[..]
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.niDO5y
+ umask 022
+ cd /builddir/build/BUILD
+ cd python-api-client-1.1.3
+ /usr/bin/python3 -m unittest
........
----------------------------------------------------------------------
Ran 8 tests in 0.007s
OK
+ RPM_EC=0
++ jobs -p
[..]
[..]
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2009450