[arch-commits] Commit in python-pytest-localserver/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 14 12:23:29 UTC 2018


    Date: Wednesday, November 14, 2018 @ 12:23:29
  Author: felixonmars
Revision: 407463

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  117 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-14 12:22:56 UTC (rev 407462)
+++ PKGBUILD	2018-11-14 12:23:29 UTC (rev 407463)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pytest-localserver
-pkgname=('python-pytest-localserver' 'python2-pytest-localserver')
-pkgver=0.4.1
-pkgrel=2
-pkgdesc='py.test plugin to test server connections locally'
-arch=('any')
-license=('MIT')
-url='https://bitbucket.org/pytest-dev/pytest-localserver'
-makedepends=('python-pytest' 'python2-pytest' 'python-werkzeug' 'python2-werkzeug')
-checkdepends=('python-requests' 'python2-requests')
-source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/pytest-dev/pytest-localserver/get/$pkgver.tar.bz2")
-sha512sums=('6f7f4645a2c493e6ea37f6b86c6e2b9614079621511a4316acaf02b31dbaa4c4d0286b1ce80fde918d21e6dfe3f3d380515bf7610dfba83b0091eaea3ffaf5ef')
-
-prepare() {
-  mv pytest-dev-pytest-localserver-* pytest-localserver-$pkgver
-
-  cp -a pytest-localserver-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/pytest-localserver-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pytest-localserver-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd "$srcdir"/pytest-localserver-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
-
-  cd "$srcdir"/pytest-localserver-$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-localserver() {
-  depends=('python-pytest' 'python-werkzeug')
-
-  cd pytest-localserver-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pytest-localserver() {
-  depends=('python2-pytest' 'python2-werkzeug')
-
-  cd pytest-localserver-$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-localserver/repos/community-any/PKGBUILD (from rev 407462, python-pytest-localserver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-14 12:23:29 UTC (rev 407463)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pytest-localserver
+pkgname=('python-pytest-localserver' 'python2-pytest-localserver')
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='py.test plugin to test server connections locally'
+arch=('any')
+license=('MIT')
+url='https://bitbucket.org/pytest-dev/pytest-localserver'
+makedepends=('python-pytest' 'python2-pytest' 'python-werkzeug' 'python2-werkzeug')
+checkdepends=('python-requests' 'python2-requests')
+source=("$pkgbase-$pkgver.tar.gz::https://bitbucket.org/pytest-dev/pytest-localserver/get/$pkgver.tar.bz2")
+sha512sums=('78993ee0245c9eace723c21eee6de359089f1e1895eac9c531268353b3a3d2045006d29656ea99733ad380f33af2b88f7332e83dcd4c7a97ced611cdbce5a673')
+
+prepare() {
+  mv pytest-dev-pytest-localserver-* pytest-localserver-$pkgver
+
+  cp -a pytest-localserver-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/pytest-localserver-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pytest-localserver-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd "$srcdir"/pytest-localserver-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
+
+  cd "$srcdir"/pytest-localserver-$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-localserver() {
+  depends=('python-pytest' 'python-werkzeug')
+
+  cd pytest-localserver-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pytest-localserver() {
+  depends=('python2-pytest' 'python2-werkzeug')
+
+  cd pytest-localserver-$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