[arch-commits] Commit in python-pytest-asyncio/repos/community-testing-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Aug 4 14:17:26 UTC 2018
Date: Saturday, August 4, 2018 @ 14:17:25
Author: felixonmars
Revision: 367917
archrelease: copy trunk to community-testing-any
Added:
python-pytest-asyncio/repos/community-testing-any/PKGBUILD
(from rev 367915, python-pytest-asyncio/trunk/PKGBUILD)
Deleted:
python-pytest-asyncio/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 32 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-04 14:17:25 UTC (rev 367916)
+++ PKGBUILD 2018-08-04 14:17:25 UTC (rev 367917)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-asyncio
-pkgver=0.8.0.20180710
-_commit=d2dc63597d6597805c88f11a2e7a0f2f642ce7d6
-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-$_commit.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/$_commit.tar.gz")
-sha512sums=('cfc1f9e30fde936efe6b963d26817a803a82587e5769ca35df10203be058f3df87073d44b9e7e10977cf51beb91be72e855ce85a5285b8747bf3e4459487a33f')
-
-prepare() {
- mv pytest-asyncio-{$_commit,$pkgver}
-}
-
-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-testing-any/PKGBUILD (from rev 367915, python-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-04 14:17:25 UTC (rev 367917)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-asyncio
+pkgver=0.9.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=('1b9c646b4025fe5ea0adb68a121c1c01a94278b64fd96e7edf588da12ad6d625f86674422fe52adb87e96a1c2617fcad9406770ddea00c1ef7954404ab6bdd53')
+
+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