pymetrics: nur für python2

git-svn-id: http://svn.kraehen.org/aur@51 04e22907-73ef-438a-a52f-a971dc6d3b47
This commit is contained in:
Johannes Dewender 2011-10-05 22:58:45 +00:00
commit 64ce12d399
3 changed files with 50 additions and 0 deletions

16
.SRCINFO Normal file
View file

@ -0,0 +1,16 @@
pkgbase = python2-pymetrics
pkgdesc = produces metrics for Python programs
pkgver = 0.8.1
pkgrel = 1
url = http://pymetrics.sourceforge.net/
arch = any
license = GPL2
depends = python2
conflicts = python-pymetrics<=0.8.1
replaces = python-pymetrics<=0.8.1
options = !emptydirs
source = http://downloads.sourceforge.net/pymetrics/pymetrics-0.8.1.tar.gz
md5sums = 2413ea3d414e8a2b88b4a3d2aa32d835
pkgname = python2-pymetrics

8
.gitignore vendored Normal file
View file

@ -0,0 +1,8 @@
*.tar.gz
*.tar.xz
*.tgz
*.rpm
*.zip
*.bz2
src/
pkg/

26
PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# Contributor: Johannes Dewender arch at JonnyJD dot net
pkgname=python2-pymetrics
_pkgname=pymetrics
pkgver=0.8.1
pkgrel=1
pkgdesc="produces metrics for Python programs"
arch=(any)
url="http://pymetrics.sourceforge.net/"
license=('GPL2')
depends=('python2')
conflicts=('python-pymetrics<=0.8.1')
replaces=('python-pymetrics<=0.8.1')
options=(!emptydirs)
source=(http://downloads.sourceforge.net/$_pkgname/$_pkgname-$pkgver.tar.gz)
md5sums=('2413ea3d414e8a2b88b4a3d2aa32d835')
build () {
cd $srcdir/$_pkgname-$pkgver
python2 setup.py build
}
package () {
cd $srcdir/$_pkgname-$pkgver
python2 setup.py install --skip-build --root=$pkgdir/ --optimize=1
}