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

Felix Yan felixonmars at gemini.archlinux.org
Tue Dec 7 11:31:44 UTC 2021


    Date: Tuesday, December 7, 2021 @ 11:31:44
  Author: felixonmars
Revision: 1065513

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   74 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 36 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-07 11:31:38 UTC (rev 1065512)
+++ PKGBUILD	2021-12-07 11:31:44 UTC (rev 1065513)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-alt-pytest-asyncio
-pkgver=0.5.4
-pkgrel=2
-pkgdesc='Alternative pytest plugin to pytest-asyncio'
-arch=('any')
-license=('MIT')
-url='https://github.com/delfick/alt-pytest-asyncio'
-depends=('python-pytest')
-makedepends=('python-setuptools')
-checkdepends=('python-noseofyeti' 'python-nest-asyncio')
-source=("https://github.com/delfick/alt-pytest-asyncio/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('2078e053e93b926fa847e8cb7db4c23a9f47b2135f7ce5ff5883602ba8e1689f01b486ce566776c07aa680ef5f38a3d746a34f338b8e11bf18ceec78e942431d')
-
-build() {
-  cd alt-pytest-asyncio-release-$pkgver
-  python setup.py build
-}
-
-check() {
-  # Hack entry points by installing it
-
-  cd alt-pytest-asyncio-release-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  # https://github.com/delfick/alt-pytest-asyncio/issues/5
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest \
-    --deselect tests/test_examples.py::test_shows_correctly_for_failing_fixtures[example_timeouts] \
-    --deselect tests/test_examples.py::test_shows_correctly_for_failing_fixtures[example_fixture_failures]
-}
-
-package() {
-  cd alt-pytest-asyncio-release-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-alt-pytest-asyncio/repos/community-staging-any/PKGBUILD (from rev 1065512, python-alt-pytest-asyncio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-07 11:31:44 UTC (rev 1065513)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-alt-pytest-asyncio
+pkgver=0.6.0
+pkgrel=1
+pkgdesc='Alternative pytest plugin to pytest-asyncio'
+arch=('any')
+license=('MIT')
+url='https://github.com/delfick/alt-pytest-asyncio'
+depends=('python-pytest')
+makedepends=('python-setuptools')
+checkdepends=('python-noseofyeti' 'python-nest-asyncio')
+source=("https://github.com/delfick/alt-pytest-asyncio/archive/release-$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('1e93fd6a14bdff4f9ec3efa2300093cf235d911d47c198b52ebf3038ddde738e5f4083909c815438b3b9a7eefc301fe0d6acf56d95ef0e7c9e68a3e61016e233')
+
+build() {
+  cd alt-pytest-asyncio-release-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd alt-pytest-asyncio-release-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  # https://github.com/delfick/alt-pytest-asyncio/issues/5
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages:$PYTHONPATH" pytest
+}
+
+package() {
+  cd alt-pytest-asyncio-release-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list