[arch-commits] Commit in (4 files)

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


    Date: Sunday, July 22, 2018 @ 06:01:20
  Author: felixonmars
Revision: 362739

addpkg: python-pytest-tornado 0.5.0-1

Added:
  python-pytest-tornado/
  python-pytest-tornado/repos/
  python-pytest-tornado/trunk/
  python-pytest-tornado/trunk/PKGBUILD

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

Added: python-pytest-tornado/trunk/PKGBUILD
===================================================================
--- python-pytest-tornado/trunk/PKGBUILD	                        (rev 0)
+++ python-pytest-tornado/trunk/PKGBUILD	2018-07-22 06:01:20 UTC (rev 362739)
@@ -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:


Property changes on: python-pytest-tornado/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list