diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-24 14:34:05 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2012-11-24 14:34:05 +0100 |
commit | ee6ba8d4dcf31aa630641953009a27b3fd700faa (patch) | |
tree | e0b23465af10683570926837a56ade01adc17307 /pcr/python-repoze.lru/PKGBUILD | |
parent | d090dd0cd7b9488aebc92281720a0c5804950f32 (diff) | |
parent | c65624e6d74bffd70dcd67cc28448b5a50596efb (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/ecryptfs-utils/PKGBUILD
community/pylibacl/PKGBUILD
extra/kwebkitpart/PKGBUILD
extra/php/PKGBUILD
extra/qhull/PKGBUILD
kde-unstable/kdegames-kigo/PKGBUILD
kde-unstable/kdeutils-print-manager/PKGBUILD
Diffstat (limited to 'pcr/python-repoze.lru/PKGBUILD')
-rw-r--r-- | pcr/python-repoze.lru/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/python-repoze.lru/PKGBUILD b/pcr/python-repoze.lru/PKGBUILD new file mode 100644 index 000000000..844658c27 --- /dev/null +++ b/pcr/python-repoze.lru/PKGBUILD @@ -0,0 +1,32 @@ +# Contributor: speps <speps at aur dot archlinux dot org> +# Contributor: DasIch <dasdasich@googlemail.com> +# Maintainer : Paraobla GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO> + +_name=repoze.lru +pkgname=python-$_name +pkgver=0.6 +pkgrel=1 +pkgdesc="A tiny LRU cache implementation and decorator" +arch=('any') +license=('custom:BSD') +url="http://pypi.python.org/pypi/$_name" +depends=('python') +makedepends=('python-distribute') +provides=(python-repoze-lru) +conflicts=(python-repoze-lru) +replaces=(python-repoze-lru) +source=("http://pypi.python.org/packages/source/r/$_name/$_name-$pkgver.tar.gz") + +build() { + cd "$srcdir/$_name-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir/" + + # license + install -Dm644 LICENSE.txt \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |