[arch-commits] Commit in python-pytest-tornado/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jul 22 06:01:51 UTC 2018


    Date: Sunday, July 22, 2018 @ 06:01:50
  Author: felixonmars
Revision: 362740

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-tornado/repos/community-staging-any/
  python-pytest-tornado/repos/community-staging-any/PKGBUILD
    (from rev 362739, python-pytest-tornado/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-pytest-tornado/repos/community-staging-any/PKGBUILD (from rev 362739, python-pytest-tornado/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-22 06:01:50 UTC (rev 362740)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-tornado
+pkgver=0.5.0
+pkgrel=1
+pkgdesc='A py.test plugin providing fixtures and markers to simplify testing of asynchronous tornado applications.'
+arch=('any')
+license=('Apache')
+url='https://github.com/eugeniy/pytest-tornado'
+depends=('python-pytest' 'python-tornado')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/eugeniy/pytest-tornado/archive/v$pkgver.tar.gz")
+sha512sums=('d246bd920933b2a5155b4808afb23580f0f78c1f200a698face550f18e6ec1f53317ac010fe882b4114539495c1e4ef650bc68011069850ea0a5bd20e6004df0')
+
+build() {
+  cd pytest-tornado-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pytest-tornado-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages:$PYTHONPATH" py.test
+}
+
+package() {
+  cd pytest-tornado-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list