[pacman-dev] Namcap 3.0 coming soon

Rémy Oudompheng remyoudompheng at gmail.com
Sat Feb 26 21:20:52 EST 2011


Hello people,

Namcap can still be found at the usual Git repository. I should release
version 3.0 in a few days. Here are some highlights of what's new:

* it works with Python 3.x (tested with Python 3.2)

* it no longer outputs crazy contradicting messages about dependencies
  missing/unneeded at the same time (FS #15591 and #17166)

* it finally can read split PKGBUILDs : a very basic rule has been
  implemented (FS #15027). It is however as poorly useful as the old
  depends module

* it has a fairly extensive test suite (with currently 3 expected
  failures)

* new rules have been implemented (FS#23003, FS#22881, FS#22929,
  FS#18852)

* the help message gives more useful information about available options

* the undocumented option "-r list" giving the rule list is now the
  documented option "-L"

Big changes in code have been made :

* it works with Python 3

* it uses the distribute module to build

* the rules and the tests are derived from abstract base classes to
  help with code factorization

* rules are in the rules/ subdirectory

* the PacmanPackage class has a dictionary-API which avoids using
  hasattr/getattr/setattr everywhere and gives more Python-looking
  source code

* none of the rules needs a complete extraction of a tarball. Only ELF
  files are written to disk because neither objdump nor readelf
  wantes to read from stdin.

* parsepkgbuild is now a wrapper in /usr/bin and an auxiliary script
  in /usr/share which is run under "bash -r".

-- 
Rémy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20110227/84b7795f/attachment.asc>


More information about the pacman-dev mailing list