[arch-commits] Commit in python-pytest-asyncio/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at gemini.archlinux.org
Tue Nov 9 21:03:31 UTC 2021
Date: Tuesday, November 9, 2021 @ 21:03:31
Author: anthraxx
Revision: 1039435
archrelease: copy trunk to community-any
Added:
python-pytest-asyncio/repos/community-any/PKGBUILD
(from rev 1039434, 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-11-09 21:03:27 UTC (rev 1039434)
+++ PKGBUILD 2021-11-09 21:03:31 UTC (rev 1039435)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-asyncio
-pkgver=0.15.1
-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=('1813d49e0dd55f563d9bf058e009da61a17f61e081cc53626b5f1db623ba04905b6bea3ecba423dc931668053310176b634339d6526c7ea729d9aad87e4f044d')
-
-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 1039434, python-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-09 21:03:31 UTC (rev 1039435)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-asyncio
+pkgver=0.16.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=('f0059a6d05bf0c4e208f0058e30d5baf8284e630b8b91fa217f52eec18abe6b057dabfdadce2c5282e02bd4ea4cdb27f9ef62c4c308375cce1795d75a036db22')
+
+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.9/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