[arch-commits] Commit in python-anyio/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at archlinux.org
Fri May 21 07:54:50 UTC 2021
Date: Friday, May 21, 2021 @ 07:54:50
Author: yan12125
Revision: 940525
archrelease: copy trunk to community-any
Added:
python-anyio/repos/community-any/PKGBUILD
(from rev 940524, python-anyio/trunk/PKGBUILD)
Deleted:
python-anyio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-21 07:50:14 UTC (rev 940524)
+++ PKGBUILD 2021-05-21 07:54:50 UTC (rev 940525)
@@ -1,41 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-anyio
-pkgver=3.0.1
-pkgrel=1
-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)
-optdepends=(
- 'python-curio: curio backend'
- 'python-trio: trio backend'
-)
-source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
-sha256sums=('45f4169148897135b3e4471a803acea443edc3e18654861dcbacd9faa182f49b')
-
-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-any/PKGBUILD (from rev 940524, python-anyio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-21 07:54:50 UTC (rev 940525)
@@ -0,0 +1,41 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-anyio
+pkgver=3.1.0
+pkgrel=1
+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=('012c200b3f6566d8909aa922f8c5ad37d059e11eda96fb21348a4a63b4ea4484')
+
+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