[arch-commits] Commit in python-lazy-object-proxy/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Dec 24 23:33:36 UTC 2016


    Date: Saturday, December 24, 2016 @ 23:33:36
  Author: bpiotrowski
Revision: 284700

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  python-lazy-object-proxy/repos/staging-i686/
  python-lazy-object-proxy/repos/staging-i686/PKGBUILD
    (from rev 284699, python-lazy-object-proxy/trunk/PKGBUILD)
  python-lazy-object-proxy/repos/staging-x86_64/
  python-lazy-object-proxy/repos/staging-x86_64/PKGBUILD
    (from rev 284699, python-lazy-object-proxy/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: python-lazy-object-proxy/repos/staging-i686/PKGBUILD (from rev 284699, python-lazy-object-proxy/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-12-24 23:33:36 UTC (rev 284700)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-lazy-object-proxy
+pkgname=(python-lazy-object-proxy python2-lazy-object-proxy)
+pkgver=1.2.2
+pkgrel=2
+pkgdesc='A fast and thorough lazy object proxy'
+arch=('i686' 'x86_64')
+url="https://github.com/ionelmc/python-lazy-object-proxy"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-capturelog' 'python2-pytest-capturelog'
+              'python-pytest-benchmark' 'python2-pytest-benchmark')
+source=("git+https://github.com/ionelmc/python-lazy-object-proxy#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a python-lazy-object-proxy{,-py2}
+}
+
+build() {
+  cd "${srcdir}/python-lazy-object-proxy"
+  python setup.py build
+
+  cd "${srcdir}/python-lazy-object-proxy-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/python-lazy-object-proxy"
+  LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test --ignore=src
+
+  cd "${srcdir}/python-lazy-object-proxy-py2"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src
+}
+
+package_python-lazy-object-proxy() {
+  depends=("python")
+
+  cd "${srcdir}/python-lazy-object-proxy"
+  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 "${srcdir}/python-lazy-object-proxy"
+  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 284699, python-lazy-object-proxy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-12-24 23:33:36 UTC (rev 284700)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-lazy-object-proxy
+pkgname=(python-lazy-object-proxy python2-lazy-object-proxy)
+pkgver=1.2.2
+pkgrel=2
+pkgdesc='A fast and thorough lazy object proxy'
+arch=('i686' 'x86_64')
+url="https://github.com/ionelmc/python-lazy-object-proxy"
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-pytest-capturelog' 'python2-pytest-capturelog'
+              'python-pytest-benchmark' 'python2-pytest-benchmark')
+source=("git+https://github.com/ionelmc/python-lazy-object-proxy#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a python-lazy-object-proxy{,-py2}
+}
+
+build() {
+  cd "${srcdir}/python-lazy-object-proxy"
+  python setup.py build
+
+  cd "${srcdir}/python-lazy-object-proxy-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/python-lazy-object-proxy"
+  LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" py.test --ignore=src
+
+  cd "${srcdir}/python-lazy-object-proxy-py2"
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src
+}
+
+package_python-lazy-object-proxy() {
+  depends=("python")
+
+  cd "${srcdir}/python-lazy-object-proxy"
+  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 "${srcdir}/python-lazy-object-proxy"
+  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