[arch-commits] Commit in python-pytest-relaxed/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Nov 22 05:35:01 UTC 2017


    Date: Wednesday, November 22, 2017 @ 05:34:58
  Author: felixonmars
Revision: 267878

archrelease: copy trunk to community-any

Added:
  python-pytest-relaxed/repos/community-any/PKGBUILD
    (from rev 267877, python-pytest-relaxed/trunk/PKGBUILD)
Deleted:
  python-pytest-relaxed/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-22 05:34:31 UTC (rev 267877)
+++ PKGBUILD	2017-11-22 05:34:58 UTC (rev 267878)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-relaxed
-pkgname=('python-pytest-relaxed' 'python2-pytest-relaxed')
-pkgver=1.0.0
-pkgrel=1
-pkgdesc='Relaxed test discovery for pytest'
-arch=('any')
-license=('BSD')
-url='http://github.com/bitprophet/pytest-relaxed'
-makedepends=('python-pytest' 'python2-pytest' 'python-decorator' 'python2-decorator'
-             'python-six' 'python2-six')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/bitprophet/pytest-relaxed/archive/$pkgver.tar.gz")
-md5sums=('f4d62f224e6b2af375fe829f15123d85')
-
-prepare() {
-  cp -a pytest-relaxed-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest-relaxed-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytest-relaxed-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/pytest-relaxed-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/pytest-relaxed-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
-}
-
-package_python-pytest-relaxed() {
-  depends=('python-pytest' 'python-decorator' 'python-six')
-
-  cd pytest-relaxed-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-relaxed() {
-  depends=('python2-pytest' 'python2-decorator' 'python2-six')
-
-  cd pytest-relaxed-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pytest-relaxed/repos/community-any/PKGBUILD (from rev 267877, python-pytest-relaxed/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-22 05:34:58 UTC (rev 267878)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-relaxed
+pkgname=('python-pytest-relaxed' 'python2-pytest-relaxed')
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Relaxed test discovery for pytest'
+arch=('any')
+license=('BSD')
+url='https://github.com/bitprophet/pytest-relaxed'
+makedepends=('python-pytest' 'python2-pytest' 'python-decorator' 'python2-decorator'
+             'python-six' 'python2-six')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/bitprophet/pytest-relaxed/archive/$pkgver.tar.gz")
+sha512sums=('0e83359b37de3e37b89a0dca07301a76ac3789ccae70cb67f6d2864ce9270eae527ca132649225247fe20690589f77ce3d0653fc0f379c77cb666faf36e04ef6')
+
+prepare() {
+  cp -a pytest-relaxed-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pytest-relaxed-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytest-relaxed-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/pytest-relaxed-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH" py.test
+
+  cd "$srcdir"/pytest-relaxed-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages:$PYTHONPATH" py.test2
+}
+
+package_python-pytest-relaxed() {
+  depends=('python-pytest' 'python-decorator' 'python-six')
+
+  cd pytest-relaxed-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-relaxed() {
+  depends=('python2-pytest' 'python2-decorator' 'python2-six')
+
+  cd pytest-relaxed-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list