[arch-commits] Commit in python-pytest-tornado/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 09:32:55 UTC 2019
Date: Monday, November 4, 2019 @ 09:32:54
Author: felixonmars
Revision: 523911
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 523910, python-pytest-tornado/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-pytest-tornado/repos/community-staging-any/PKGBUILD (from rev 523910, python-pytest-tornado/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 09:32:54 UTC (rev 523911)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-tornado
+pkgver=0.8.0
+pkgrel=2
+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=('d5264ec4df12877390f7a24b1def55a2105ab053db2c18f8c305ea521c0262e4f25c291172572efec8650f4d6a5730eb167cf51ef703e05048635141a104c0e7')
+
+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.8/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