[arch-commits] Commit in python-repoze.lru/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 15:42:44 UTC 2020


    Date: Monday, November 9, 2020 @ 15:42:43
  Author: felixonmars
Revision: 747106

archrelease: copy trunk to community-staging-any

Added:
  python-repoze.lru/repos/community-staging-any/
  python-repoze.lru/repos/community-staging-any/PKGBUILD
    (from rev 747104, python-repoze.lru/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-repoze.lru/repos/community-staging-any/PKGBUILD (from rev 747104, python-repoze.lru/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:42:43 UTC (rev 747106)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: DasIch <dasdasich at googlemail.com>
+# Contributor: James Bulmer <nekinie at gmail.com>
+
+pkgname=python-repoze.lru
+pkgver=0.7
+pkgrel=5
+pkgdesc="A tiny LRU cache implementation and decorator"
+arch=('any')
+url="https://pypi.python.org/pypi/repoze.lru"
+license=("custom:BSD")
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/r/repoze.lru/repoze.lru-$pkgver.tar.gz")
+sha512sums=('c4d8b015931c4265fa8559f99c9d5016835574b368ebe0d49fe503afe908020b2bf29836606134e00c6c0aa436d52a00bb73d6ab80e98d0802f54bd2e4686476')
+
+build() {
+  cd "$srcdir"/repoze.lru-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/repoze.lru-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd repoze.lru-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list