Date: Monday, November 14, 2022 @ 21:24:08
Author: alucryd
Revision: 1347932
archrelease: copy trunk to community-any
Added:
python-sniffio/repos/community-any/PKGBUILD
(from rev 1347931, python-sniffio/trunk/PKGBUILD)
Deleted:
python-sniffio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-14 21:23:59 UTC (rev 1347931)
+++ PKGBUILD 2022-11-14 21:24:08 UTC (rev 1347932)
@@ -1,46 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-
-pkgname=python-sniffio
-pkgver=1.3.0
-pkgrel=1
-pkgdesc='Sniff out which async library your code is running under'
-arch=(any)
-url=https://github.com/python-trio/sniffio
-license=(MIT)
-depends=(python)
-makedepends=(
- git
- python-curio
- python-pytest
- python-setuptools
-)
-_tag=cb8a03d45371efb20156ec895003a9bd988ac89b
-source=(git+https://github.com/python-trio/sniffio.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd sniffio
-
- git describe --tags | sed 's/^v//'
-}
-
-build() {
- cd sniffio
-
- python setup.py build
-}
-
-check() {
- cd sniffio
-
- python setup.py test
-}
-
-package() {
- cd sniffio
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-sniffio/
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-sniffio/repos/community-any/PKGBUILD (from rev 1347931,
python-sniffio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-14 21:24:08 UTC (rev 1347932)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-sniffio
+pkgver=1.3.0
+pkgrel=2
+pkgdesc='Sniff out which async library your code is running under'
+arch=(any)
+url=https://github.com/python-trio/sniffio
+license=(MIT)
+depends=(python)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-curio
+ python-pytest
+ python-pytest-cov
+)
+_tag=cb8a03d45371efb20156ec895003a9bd988ac89b
+source=(git+https://github.com/python-trio/sniffio.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd sniffio
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd sniffio
+ python setup.py build
+}
+
+check() {
+ cd sniffio
+ pytest
+}
+
+package() {
+ cd sniffio
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-sniffio/
+}
+
+# vim: ts=2 sw=2 et: