Date: Monday, November 28, 2022 @ 23:20:48
  Author: dvzrv
Revision: 1354957

archrelease: copy trunk to community-x86_64

Added:
  python-falcon/repos/community-x86_64/PKGBUILD
    (from rev 1354956, python-falcon/trunk/PKGBUILD)
Deleted:
  python-falcon/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  103 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 53 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-28 23:20:37 UTC (rev 1354956)
+++ PKGBUILD    2022-11-28 23:20:48 UTC (rev 1354957)
@@ -1,50 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=falcon
-pkgname=python-falcon
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="Web API framework for fast and reliable microservices, proxies, and 
app backends"
-arch=(x86_64)
-url="https://falconframework.org/";
-license=(Apache)
-depends=(python)
-makedepends=(cython python-build python-installer python-setuptools 
python-wheel)
-# TODO: add python-daphne
-checkdepends=(gunicorn hypercorn python-aiofiles python-cbor2 python-httpx
-python-jsonschema python-mimeparse python-msgpack python-mujson python-orjson
-python-pecan python-pytest python-pytest-asyncio python-pytest-runner
-python-rapidjson python-requests python-testtools python-ujson
-python-websockets python-yaml uvicorn)
-optdepends=(
-  'python-django: for falcon-bench'
-  'python-flask: for falcon-bench'
-  'python-pecan: for falcon-bench'
-  'python-bottle: for falcon-bench'
-  'python-pprofile: for falcon-bench'
-  'python-vmprof: for falcon-bench'
-)
-# not all required files for tests contained in pypi sdist tarball: 
https://github.com/falconry/falcon/issues/2051
-# 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-source=($_name-$pkgver.tar.gz::https://github.com/falconry/$_name/archive/refs/tags/$pkgver.tar.gz)
-sha512sums=('9da76dd92dfce1611ef681588d8e0e2fc7e906b5c0bc4b60a4620e2e9907564783763b7776c9cc2ccb296116c985e527b2f429520a1c601567cf4eb15e98f8cc')
-b2sums=('183623c8d7e8b86ed9915cbf3757fd526f7f3a8a97ae5fdf86294bcc65052c5c827d4a920d93e9fa0198a8d255c7b56ecff465a36d9b0ea31581abd87d55ccd0')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  local python_version=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
-
-  cd $_name-$pkgver
-  export PYTHONPATH="build/lib.linux-$CARCH-$python_version:$PWD:$PYTHONPATH"
-  pytest -v --ignore "tests/asgi/test_cythonized_asgi.py" tests
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
-}

Copied: python-falcon/repos/community-x86_64/PKGBUILD (from rev 1354956, 
python-falcon/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-11-28 23:20:48 UTC (rev 1354957)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=falcon
+pkgname=python-falcon
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Web API framework for fast and reliable microservices, proxies, and 
app backends"
+arch=(x86_64)
+url="https://falconframework.org/";
+license=(Apache)
+depends=(python)
+makedepends=(cython python-build python-installer python-setuptools 
python-wheel)
+# TODO: add python-daphne
+checkdepends=(gunicorn hypercorn python-aiofiles python-cbor2 python-httpx
+python-jsonschema python-mimeparse python-msgpack python-mujson python-orjson
+python-pecan python-pytest python-pytest-asyncio python-pytest-runner
+python-rapidjson python-requests python-testtools python-ujson
+python-websockets python-yaml uvicorn)
+optdepends=(
+  'python-bottle: for falcon-bench'
+  'python-django: for falcon-bench'
+  'python-flask: for falcon-bench'
+  'python-jsonschema: for JSON schema validation'
+  'python-msgpack: for MessagePackHandler'
+  'python-pecan: for falcon-bench'
+  'python-pprofile: for falcon-bench'
+  'python-vmprof: for falcon-bench'
+)
+# not all required files for tests contained in pypi sdist tarball: 
https://github.com/falconry/falcon/issues/2051
+# 
source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+source=($_name-$pkgver.tar.gz::https://github.com/falconry/$_name/archive/refs/tags/$pkgver.tar.gz)
+sha512sums=('d6d0ff20a64400a28e45bf30de38c1d989f78f0aef97467a1e464aa3bffca8027728948fae604f2fecd00cc79488301b2d842c0c1436ee15f50c666e03ff9ecd')
+b2sums=('7c9d1bab73df864632f6d649a4a9894b35837bcca91eb05ce67447b4139274cd326e31f88ed3a0015a3dd82509b5d8d7ab1f439d0fdd190957e06b49f51daa9b')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="$PWD/test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv tests/
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/"
+}

Reply via email to