[pacman-dev] Namcap 3.0 coming soon
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.
On 2011/2/27 Rémy Oudompheng <remyoudompheng@gmail.com> wrote:
* 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 behaves now better. A preliminary built package can be found at http://dev.archlinux.org/~remy/namcap/namcap-3.0-1-any.pkg.tar.xz -- Rémy.
On 2011/2/27 Rémy Oudompheng <remyoudompheng@gmail.com> wrote:
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:
Namcap 3.0 has been released in [testing], including Dan's latest patchset. -- Rémy.
participants (1)
-
Rémy Oudompheng