[arch-commits] Commit in python-anyio/repos/community-staging-any (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 22:42:28 UTC 2021


    Date: Thursday, December 2, 2021 @ 22:42:28
  Author: foutrelis
Revision: 1062872

archrelease: copy trunk to community-staging-any

Added:
  python-anyio/repos/community-staging-any/PKGBUILD
    (from rev 1062871, python-anyio/trunk/PKGBUILD)
Deleted:
  python-anyio/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 22:42:25 UTC (rev 1062871)
+++ PKGBUILD	2021-12-02 22:42:28 UTC (rev 1062872)
@@ -1,42 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-anyio
-# https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
-pkgver=3.3.4
-pkgrel=2
-pkgdesc='High level compatibility layer for multiple asynchronous event loop implementations'
-arch=(any)
-url='https://github.com/agronholm/anyio'
-license=(MIT)
-depends=(python python-idna python-sniffio)
-makedepends=(python-setuptools python-setuptools-scm)
-checkdepends=(python-pytest python-trustme python-hypothesis python-uvloop
-              python-curio python-trio python-pytest-mock)
-optdepends=(
-  'python-curio: curio backend'
-  'python-trio: trio backend'
-)
-source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
-sha256sums=('cc9d5a0fbd13a36474d1d57c0668b414bd63861f8dcf4c3f1c5b9fa3093dab0e')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd anyio-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd anyio-$pkgver
-  # Install to a temporary root as the test suite requires the entry point for
-  # its pytest plugin
-  pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
-  python setup.py install --root="$PWD/tmp_install" --skip-build
-  PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest
-}
-
-package() {
-  cd anyio-$pkgver
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-anyio/repos/community-staging-any/PKGBUILD (from rev 1062871, python-anyio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 22:42:28 UTC (rev 1062872)
@@ -0,0 +1,42 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-anyio
+# https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
+pkgver=3.3.4
+pkgrel=3
+pkgdesc='High level compatibility layer for multiple asynchronous event loop implementations'
+arch=(any)
+url='https://github.com/agronholm/anyio'
+license=(MIT)
+depends=(python python-idna python-sniffio)
+makedepends=(python-setuptools python-setuptools-scm)
+checkdepends=(python-pytest python-trustme python-hypothesis python-uvloop
+              python-curio python-trio python-pytest-mock)
+optdepends=(
+  'python-curio: curio backend'
+  'python-trio: trio backend'
+)
+source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
+sha256sums=('cc9d5a0fbd13a36474d1d57c0668b414bd63861f8dcf4c3f1c5b9fa3093dab0e')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd anyio-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd anyio-$pkgver
+  # Install to a temporary root as the test suite requires the entry point for
+  # its pytest plugin
+  pyver=$(python -c "import sys; print('{}.{}'.format(*sys.version_info[:2]))")
+  python setup.py install --root="$PWD/tmp_install" --skip-build
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python$pyver/site-packages" pytest
+}
+
+package() {
+  cd anyio-$pkgver
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list