[arch-commits] Commit in python-pytest-asyncio/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 8 22:21:54 UTC 2019


    Date: Friday, November 8, 2019 @ 22:21:54
  Author: felixonmars
Revision: 524702

archrelease: copy trunk to community-staging-any

Added:
  python-pytest-asyncio/repos/community-staging-any/PKGBUILD
    (from rev 524701, python-pytest-asyncio/trunk/PKGBUILD)
Deleted:
  python-pytest-asyncio/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 37 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-08 22:21:39 UTC (rev 524701)
+++ PKGBUILD	2019-11-08 22:21:54 UTC (rev 524702)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-pytest-asyncio
-pkgver=0.10.0
-pkgrel=2
-pkgdesc="Pytest support for asyncio."
-arch=('any')
-license=('Apache')
-url="https://github.com/pytest-dev/pytest-asyncio/"
-depends=('python-pytest')
-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=('78160d1918c5d3d2172f74fa07bf4bf6d0bc416666011dd5b83b3a7f385ec30fc65d49c01bba5dd0e16ad9dcd9d72d8ab062526f3268d60cd2e24a35b5a8f883')
-
-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-staging-any/PKGBUILD (from rev 524701, python-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-08 22:21:54 UTC (rev 524702)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pytest-asyncio
+pkgver=0.10.0
+pkgrel=3
+pkgdesc="Pytest support for asyncio."
+arch=('any')
+license=('Apache')
+url="https://github.com/pytest-dev/pytest-asyncio/"
+depends=('python-pytest')
+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=('78160d1918c5d3d2172f74fa07bf4bf6d0bc416666011dd5b83b3a7f385ec30fc65d49c01bba5dd0e16ad9dcd9d72d8ab062526f3268d60cd2e24a35b5a8f883')
+
+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