Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38544 - [python2-ipaddr] Add check() function

Attached to Project: Community Packages
Opened by Rich Li (richli) - Friday, 17 January 2014, 00:17 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 17 January 2014, 11:41 GMT
Task Type Support Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi,

I created a PKGBUILD of python2-ipaddr since there wasn't one in the AUR before I realized that there is one in the community repo. I compared my version against this one and noticed that there isn't a check() function. The package comes with a unit test suite, and it would be nice to let it run as part of the packaging process.

Here's the relevant part from my PKGBUILD:

check() {
cd "${srcdir}/ipaddr-${pkgver}"
python2 ipaddr_test.py
}
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 17 January 2014, 11:41 GMT
Reason for closing:  Fixed

Loading...