[arch-commits] Commit in python-lazy-object-proxy/repos/staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 18:06:25 UTC 2019
Date: Thursday, October 31, 2019 @ 18:06:24
Author: felixonmars
Revision: 366286
archrelease: copy trunk to staging-x86_64
Added:
python-lazy-object-proxy/repos/staging-x86_64/PKGBUILD
(from rev 366285, python-lazy-object-proxy/trunk/PKGBUILD)
Deleted:
python-lazy-object-proxy/repos/staging-x86_64/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:06:11 UTC (rev 366285)
+++ PKGBUILD 2019-10-31 18:06:24 UTC (rev 366286)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-lazy-object-proxy
-pkgname=(python-lazy-object-proxy python2-lazy-object-proxy)
-pkgver=1.4.2
-pkgrel=2
-pkgdesc='A fast and thorough lazy object proxy'
-arch=('x86_64')
-url="https://github.com/ionelmc/python-lazy-object-proxy"
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver.tar.gz")
-sha256sums=('b66238baf856b0d73c28404e6061612c5a28539c0b94b151776538ade66948e3')
-
-prepare() {
- cp -a python-lazy-object-proxy-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/python-lazy-object-proxy-$pkgver
- python setup.py build
-
- cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-lazy-object-proxy-$pkgver
- LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test --ignore=src
-
- cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src
-}
-
-package_python-lazy-object-proxy() {
- depends=("python")
-
- cd python-lazy-object-proxy-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-lazy-object-proxy() {
- depends=("python2")
-
- cd python-lazy-object-proxy-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-lazy-object-proxy/repos/staging-x86_64/PKGBUILD (from rev 366285, python-lazy-object-proxy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:06:24 UTC (rev 366286)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-lazy-object-proxy
+pkgname=(python-lazy-object-proxy python2-lazy-object-proxy)
+pkgver=1.4.2
+pkgrel=3
+pkgdesc='A fast and thorough lazy object proxy'
+arch=('x86_64')
+url="https://github.com/ionelmc/python-lazy-object-proxy"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver.tar.gz")
+sha256sums=('b66238baf856b0d73c28404e6061612c5a28539c0b94b151776538ade66948e3')
+
+prepare() {
+ cp -a python-lazy-object-proxy-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/python-lazy-object-proxy-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-lazy-object-proxy-$pkgver
+ LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test --ignore=src
+
+ cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src
+}
+
+package_python-lazy-object-proxy() {
+ depends=("python")
+
+ cd python-lazy-object-proxy-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-lazy-object-proxy() {
+ depends=("python2")
+
+ cd python-lazy-object-proxy-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list