Arch Linux

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#15027 - [namcap] add support for splitted packages

Attached to Project: Arch Linux
Opened by Pierre Schmitz (Pierre) - Tuesday, 09 June 2009, 22:07 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 27 February 2011, 15:32 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Dan McGee (toofishes)
Rémy Oudompheng (remyoudompheng)
Hugo Doria (hdoria)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The recent version of makepkg introduces some new variables in the PKGBUILD and the possibility to overwrite some of them in additional pacakge_*() functions.

At first those new variables should be recognized bei namcap. The following features might be quite useful:

* check if the pkgname array matches the names of package_* functions and vice versa.
* check if all deps and optdeps introduced in package_* functions are covered by the global makedepends.
** as a bnous: ignore inter-sub-package depends

All those tests can be run on the PKGBUILD; the resulting package does not know about splitting of course. Maybe its a lot easier to implement this in Bash than Python.
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Sunday, 27 February 2011, 15:32 GMT
Reason for closing:  Implemented
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 27 February 2011, 15:32 GMT
The said checks are implemented and ready to happen with namcap 3.0 release.

Loading...