[Bug 2009450] Review Request: python-kanboard - Python API Client for Kanboard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2009450

Alois Mahdal <amahdal@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|needinfo?(n9042e84@vornet.c |
                   |z)                          |



--- Comment #13 from Alois Mahdal <amahdal@xxxxxxxxxx> ---
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.1.3-1.fc35.src.rpm
    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
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux