Date: Monday, November 14, 2022 @ 21:10:36
Author: alucryd
Revision: 1347876
archrelease: copy trunk to community-any
Added:
python-curio/repos/community-any/PKGBUILD
(from rev 1347875, python-curio/trunk/PKGBUILD)
Deleted:
python-curio/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 45 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-14 21:10:32 UTC (rev 1347875)
+++ PKGBUILD 2022-11-14 21:10:36 UTC (rev 1347876)
@@ -1,47 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-
-pkgname=python-curio
-pkgver=1.6
-pkgrel=1
-pkgdesc='Concurrent I/O'
-arch=(any)
-url=https://github.com/dabeaz/curio
-license=(BSD)
-depends=(python)
-makedepends=(
- git
- python-pytest
- python-setuptools
- python-sphinx
-)
-provides=(python-multio-provider)
-_tag=5d8ecb2333761b4fd629e14d940f3807d143c0ed
-source=(git+https://github.com/dabeaz/curio.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd curio
-
- git describe --tags
-}
-
-build() {
- cd curio
-
- python setup.py build
-}
-
-check() {
- cd curio
-
- python setup.py test
-}
-
-package() {
- cd curio
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-curio/
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-curio/repos/community-any/PKGBUILD (from rev 1347875,
python-curio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-14 21:10:36 UTC (rev 1347876)
@@ -0,0 +1,45 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+
+pkgname=python-curio
+pkgver=1.6
+pkgrel=2
+pkgdesc='Concurrent I/O'
+arch=(any)
+url=https://github.com/dabeaz/curio
+license=(BSD)
+depends=(python)
+makedepends=(
+ git
+ python-setuptools
+)
+checkdepends=(
+ python-pytest
+ python-sphinx
+)
+provides=(python-multio-provider)
+_tag=5d8ecb2333761b4fd629e14d940f3807d143c0ed
+source=(git+https://github.com/dabeaz/curio.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd curio
+ git describe --tags
+}
+
+build() {
+ cd curio
+ python setup.py build
+}
+
+check() {
+ cd curio
+ PYTHONPATH=$PWD/build/lib pytest
+}
+
+package() {
+ cd curio
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-curio/
+}
+
+# vim: ts=2 sw=2 et: