From cdba06ba0b38e4a0515d016e252180a97914772d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 14 Jul 2011 21:12:35 +0000 Subject: Initial APKBUILD for py-logilab-astng Package description: The aim of this module is to provide a common base representation of python source code for projects such as pychecker, pyreverse, pylint... Well, actually the development of this library is essentialy governed by pylint's needs. --- testing/py-logilab-astng/APKBUILD | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 testing/py-logilab-astng/APKBUILD (limited to 'testing/py-logilab-astng') diff --git a/testing/py-logilab-astng/APKBUILD b/testing/py-logilab-astng/APKBUILD new file mode 100644 index 000000000..0a8a78882 --- /dev/null +++ b/testing/py-logilab-astng/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Fabian Affolter +# Maintainer: Fabian Affolter +pkgname=py-logilab-astng +_realname=logilab-astng +pkgver=0.21.1 +pkgrel=0 +pkgdesc="Rebuild a new abstract syntax tree from Python's ast" +url="http://pypi.python.org/pypi/logilab-astng" +arch="noarch" +license="GPL2+" +depends="python py-logilab-common" +depends_dev="" +makedepends="python-dev py-logilab-common" +install="" +subpackages="" +source="http://pypi.python.org/packages/source/l/"$_realname"/"$_realname"-$pkgver.tar.gz" +_builddir="$srcdir"/"$_realname"-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + rm -f "$pkgdir"/usr/lib/python2.?/site-packages/logilab/__init__.* +} + +md5sums="f25dd1d92a1b80d07a2f9d5bb4fe9d97 logilab-astng-0.21.1.tar.gz" -- cgit v1.2.3