Package Details: namcap-git 3.4.2.r14.g58592b0-1

Git Clone URL: https://aur.archlinux.org/namcap-git.git (read-only, click to copy)
Package Base: namcap-git
Description: A Pacman package analyzer
Upstream URL: https://gitlab.archlinux.org/pacman/namcap
Keywords: best-practices linter packaging pacman utility
Licenses: GPL-2.0-or-later
Conflicts: namcap
Provides: namcap
Submitter: None
Maintainer: PanisSupraOmnia
Last Packager: PanisSupraOmnia
Votes: 16
Popularity: 0.000232
First Submitted: 2007-07-25 02:57 (UTC)
Last Updated: 2023-12-26 18:55 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

toni10 commented on 2015-02-15 09:17 (UTC)

This worked for me:: # Apps Packages for Chakra, part of www.chakra-project.org # Maintainer: H W Tovetjärn (totte) <totte@tott.es> # Contributor: Rémy Oudompheng <remy@archlinux.org> # Hugo Doria <hugo@archlinux.org> pkgname=namcap pkgver=3.2.5 pkgrel=2 pkgdesc="A Pacman package analyzer" arch=('any') url="http://projects.archlinux.org/namcap.git/" license=('GPL') depends=('python' 'pyalpm>=0.5' 'licenses' 'binutils' 'elfutils' 'python-pyelftools') makedepends=('python-distribute') source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.gz) sha1sums=('5fb93f267766aaf9b399387af374f624849caf25') prepare() { sed 's|libalpm.so.8|libalpm.so.9|g' -i ${pkgname}-${pkgver}/Namcap/tests/package/test_sodepends.py } build() { cd ${srcdir}/${pkgname}-${pkgver} python setup.py build } check() { cd ${srcdir}/${pkgname}-${pkgver} env PARSE_PKGBUILD_PATH=${srcdir}/${pkgname}-${pkgver} \ PATH=${srcdir}/${pkgname}-${pkgver}:$PATH \ python setup.py test } package() { cd ${srcdir}/${pkgname}-${pkgver} python setup.py install --root=${pkgdir} } ---------------------------------------------------------------------- Ran 77 tests in 10.104s OK (expected failures=2)

sl1pkn07 commented on 2014-12-27 10:14 (UTC)

solved with prepare() { sed 's|libalpm.so.8|libalpm.so.9|g' -i ${pkgname}/Namcap/tests/package/test_sodepends.py } but get another check fail: .... test_kdeprograms_files_b (Namcap.tests.package.test_kdeprograms.KdeProgramsTest) ... expected failure test_kdeprograms_files_c (Namcap.tests.package.test_kdeprograms.KdeProgramsTest) ... unexpected success ... FAILED (expected failures=1, unexpected successes=1) upstream need update to pacman 4.2 greetings

sl1pkn07 commented on 2014-12-27 10:07 (UTC)

check failed: Package with missing pacman dependency ... FAIL http://sl1pkn07.wtf/paste/view/5230ac7e greetings

sl1pkn07 commented on 2014-12-27 10:01 (UTC)

env PARSE_PKGBUILD_PATH="$srcdir/${pkgname}-${pkgver}" \ PATH="$srcdir/${pkgname}-${pkgver}:$PATH" \ this line is wrong, is without '-${pkgver}' greetings

einseenai commented on 2012-02-04 11:36 (UTC)

+1 to pyalpm-git dependency :P

xyproto commented on 2011-10-12 10:22 (UTC)

Please depend on pyalpm-git. +1

fs4000 commented on 2011-09-10 15:03 (UTC)

This should depend on pyalpm-git instead of python.

remyoudompheng commented on 2011-02-16 23:30 (UTC)

Hello, I have pushed to namcap git repo changes that make it use python3. Please modify the PKGBUILD accordingly.

<deleted-account> commented on 2010-10-27 22:58 (UTC)

Updated so it runs namcap-clean (minus maintainer tag, which is only for official repos IIRC). How ironic, the old PKGBUILD didn't pass namcap tests, if only because it was so old. Things have been deprecated since then (eg. $startdir).