[arch-commits] Commit in python-pytest-asyncio/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Apr 20 17:25:11 UTC 2021
Date: Tuesday, April 20, 2021 @ 17:25:11
Author: felixonmars
Revision: 920104
archrelease: copy trunk to community-any
Added:
python-pytest-asyncio/repos/community-any/PKGBUILD
(from rev 920103, python-pytest-asyncio/trunk/PKGBUILD)
Deleted:
python-pytest-asyncio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-20 17:24:56 UTC (rev 920103)
+++ PKGBUILD 2021-04-20 17:25:11 UTC (rev 920104)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-asyncio
-pkgver=0.14.0
-pkgrel=3
-pkgdesc="Pytest support for asyncio."
-arch=('any')
-license=('Apache')
-url="https://github.com/pytest-dev/pytest-asyncio/"
-depends=('python-pytest')
-makedepends=('python-setuptools')
-checkdepends=('python-coverage' 'python-async_generator' 'python-hypothesis')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz")
-sha512sums=('d1fadff152a0c94f80a8272a0dd293bd9d9300ad9e79c69556b5901c1a8ce00545f7715e503a383e3f4f35c8090d8f9ec33d16739b85378b59b1786a50441fca')
-
-prepare() {
- cd pytest-asyncio-$pkgver
- # Don't treat DeprecationWarnings as errors
- sed -i '/filterwarnings = error/d' setup.cfg
-}
-
-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 920103, python-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-20 17:25:11 UTC (rev 920104)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-asyncio
+pkgver=0.15.0
+pkgrel=1
+pkgdesc="Pytest support for asyncio."
+arch=('any')
+license=('Apache')
+url="https://github.com/pytest-dev/pytest-asyncio/"
+depends=('python-pytest')
+makedepends=('python-setuptools')
+checkdepends=('python-coverage' 'python-async_generator' 'python-hypothesis')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz")
+sha512sums=('a936bd8f00cb470cee355b9abe6a6df5f65af5de9144bc0c128732f65fe4bc1e60b08a4e7287ae2f303e56e1764fd0bfe771102439e6d1ba7cb495d06b0677c0')
+
+prepare() {
+ cd pytest-asyncio-$pkgver
+ # Don't treat DeprecationWarnings as errors
+ sed -i '/filterwarnings = error/d' setup.cfg
+}
+
+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