[arch-commits] Commit in python-pytest-asyncio/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed May 23 05:42:47 UTC 2018
Date: Wednesday, May 23, 2018 @ 05:42:45
Author: felixonmars
Revision: 327985
archrelease: copy trunk to community-any
Added:
python-pytest-asyncio/repos/community-any/PKGBUILD
(from rev 327984, python-pytest-asyncio/trunk/PKGBUILD)
Deleted:
python-pytest-asyncio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 63 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-23 05:42:15 UTC (rev 327984)
+++ PKGBUILD 2018-05-23 05:42:45 UTC (rev 327985)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-asyncio
-pkgver=0.6.0
-pkgrel=1
-pkgdesc="Pytest support for asyncio."
-arch=('any')
-license=('Apache')
-url="https://github.com/pytest-dev/pytest-asyncio/"
-depends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz")
-sha512sums=('d46d93398c69eb4164ca485c32de0166a9c7001c604999e9b6f2b29e45e1d5939a6e101203057c26e3e811f22f9a05b76e2038f258421001bc436e849acb9137')
-
-build() {
- cd pytest-asyncio-$pkgver
- python setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd pytest-asyncio-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH:$PWD/tests" py.test
-}
-
-package() {
- cd pytest-asyncio-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-pytest-asyncio/repos/community-any/PKGBUILD (from rev 327984, python-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-23 05:42:45 UTC (rev 327985)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-asyncio
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Pytest support for asyncio."
+arch=('any')
+license=('Apache')
+url="https://github.com/pytest-dev/pytest-asyncio/"
+depends=('python-pytest')
+checkdepends=('python-pytest-cov' 'python-async_generator')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz")
+sha512sums=('c7d52feadb31764cd59da7c74a957592e2042c31a81483804ffbab7467cf41f88db097e145038779538dfe757eb6757cc5dc69d6057dda8217044309f558a251')
+
+build() {
+ cd pytest-asyncio-$pkgver
+ python setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd pytest-asyncio-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages:$PYTHONPATH:$PWD/tests" py.test
+}
+
+package() {
+ cd pytest-asyncio-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list