[arch-commits] Commit in python-repoze.lru/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:49:07 UTC 2019
Date: Thursday, October 31, 2019 @ 16:49:07
Author: foutrelis
Revision: 521167
archrelease: copy trunk to community-staging-any
Added:
python-repoze.lru/repos/community-staging-any/PKGBUILD
(from rev 521166, python-repoze.lru/trunk/PKGBUILD)
Deleted:
python-repoze.lru/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:49:03 UTC (rev 521166)
+++ PKGBUILD 2019-10-31 16:49:07 UTC (rev 521167)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: DasIch <dasdasich at googlemail.com>
-# Contributor: James Bulmer <nekinie at gmail.com>
-
-pkgbase=python-repoze.lru
-pkgname=(python-repoze.lru python2-repoze.lru)
-pkgver=0.7
-pkgrel=3
-pkgdesc="A tiny LRU cache implementation and decorator"
-arch=("any")
-url="https://pypi.python.org/pypi/repoze.lru"
-license=("custom:BSD")
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("https://pypi.io/packages/source/r/repoze.lru/repoze.lru-$pkgver.tar.gz")
-sha512sums=('c4d8b015931c4265fa8559f99c9d5016835574b368ebe0d49fe503afe908020b2bf29836606134e00c6c0aa436d52a00bb73d6ab80e98d0802f54bd2e4686476')
-
-prepare() {
- cp -a repoze.lru-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/repoze.lru-$pkgver
- python setup.py build
-
- cd "$srcdir"/repoze.lru-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/repoze.lru-$pkgver
- python setup.py test
-
- cd "$srcdir"/repoze.lru-$pkgver-py2
- python2 setup.py test
-}
-
-package_python-repoze.lru() {
- depends=("python")
-
- cd repoze.lru-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-repoze.lru() {
- depends=("python2")
-
- cd repoze.lru-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-repoze.lru/repos/community-staging-any/PKGBUILD (from rev 521166, python-repoze.lru/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:49:07 UTC (rev 521167)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: DasIch <dasdasich at googlemail.com>
+# Contributor: James Bulmer <nekinie at gmail.com>
+
+pkgbase=python-repoze.lru
+pkgname=(python-repoze.lru python2-repoze.lru)
+pkgver=0.7
+pkgrel=4
+pkgdesc="A tiny LRU cache implementation and decorator"
+arch=("any")
+url="https://pypi.python.org/pypi/repoze.lru"
+license=("custom:BSD")
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("https://pypi.io/packages/source/r/repoze.lru/repoze.lru-$pkgver.tar.gz")
+sha512sums=('c4d8b015931c4265fa8559f99c9d5016835574b368ebe0d49fe503afe908020b2bf29836606134e00c6c0aa436d52a00bb73d6ab80e98d0802f54bd2e4686476')
+
+prepare() {
+ cp -a repoze.lru-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/repoze.lru-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/repoze.lru-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/repoze.lru-$pkgver
+ python setup.py test
+
+ cd "$srcdir"/repoze.lru-$pkgver-py2
+ python2 setup.py test
+}
+
+package_python-repoze.lru() {
+ depends=("python")
+
+ cd repoze.lru-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-repoze.lru() {
+ depends=("python2")
+
+ cd repoze.lru-$pkgver-py2
+ python2 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