mirror of
https://github.com/archlinux/aur.git
synced 2026-01-27 20:28:31 +01:00
pymetrics: nur für python2
git-svn-id: http://svn.kraehen.org/aur@51 04e22907-73ef-438a-a52f-a971dc6d3b47
This commit is contained in:
commit
64ce12d399
3 changed files with 50 additions and 0 deletions
16
.SRCINFO
Normal file
16
.SRCINFO
Normal 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
8
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tgz
|
||||
*.rpm
|
||||
*.zip
|
||||
*.bz2
|
||||
src/
|
||||
pkg/
|
||||
26
PKGBUILD
Normal file
26
PKGBUILD
Normal 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
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue