diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f82336778d41 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python2-pympler + pkgdesc = Measure, monitor and analyze the memory behavior of Python objects + pkgver = 0.4.2 + pkgrel = 1 + url = http://pypi.python.org/pypi/pympler/ + arch = any + license = Apache + depends = python2 + source = http://pypi.python.org/packages/source/P/Pympler/Pympler-0.4.2.tar.gz + md5sums = 6bdfd913ad4c94036e8a2b358e49abd7 + +pkgname = python2-pympler + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2152600e41d4 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: XavierCLL + +pkgname=python2-pympler +pkgver=0.4.2 +pkgrel=1 +pkgdesc='Measure, monitor and analyze the memory behavior of Python objects' +arch=('any') +url='http://pypi.python.org/pypi/pympler/' +license=('Apache') +depends=('python2') +source=("http://pypi.python.org/packages/source/P/Pympler/Pympler-$pkgver.tar.gz") +md5sums=('6bdfd913ad4c94036e8a2b358e49abd7') + +build() { + cd "$srcdir/Pympler-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/Pympler-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + |