diff options
author | Pedro Martinez-Julia | 2015-07-21 11:35:34 +0200 |
---|---|---|
committer | Pedro Martinez-Julia | 2015-07-21 11:35:34 +0200 |
commit | 3be1da02e1e92b7a2d4b787fcdcf712dc396e90d (patch) | |
tree | 880522620d1e2fa161720e374714f1f93a618df9 | |
download | aur-python2-pyhash.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..08c3c9756ac3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python2-pyhash + pkgdesc = Python Non-cryptographic Hash Library + pkgver = 0.6.2 + pkgrel = 1 + url = http://code.google.com/p/pyfasthash/ + arch = any + license = Apache 2.0 + makedepends = python2-distribute + makedepends = boost + depends = python2 + depends = boost-libs + source = https://github.com/flier/pyfasthash/archive/0.6.2.tar.gz + sha1sums = e703ff597cd8db8bfd83f44f0e42e7ac9153c302 + +pkgname = python2-pyhash + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fa68549cb7c1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +# $Id$ +# Maintainer: Pedro Martinez-Julia <pedromj@um.es> + +pkgname=python2-pyhash +pkgver=0.6.2 +pkgrel=1 +pkgdesc="Python Non-cryptographic Hash Library" +url="http://code.google.com/p/pyfasthash/" +license=('Apache 2.0') +depends=('python2' 'boost-libs') +makedepends=('python2-distribute' 'boost') +arch=('any') +source=("https://github.com/flier/pyfasthash/archive/${pkgver}.tar.gz") +sha1sums=('e703ff597cd8db8bfd83f44f0e42e7ac9153c302') + +package() { + cd "${srcdir}/pyfasthash-${pkgver}" + python2 setup.py install --root=$pkgdir --optimize=1 +} |