Date: Sunday, January 8, 2023 @ 05:14:03
  Author: yan12125
Revision: 1381934

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   90 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-08 05:13:47 UTC (rev 1381933)
+++ PKGBUILD    2023-01-08 05:14:03 UTC (rev 1381934)
@@ -1,44 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-# Contributor: TheEdgeOfRage on AUR
-
-_pkgname=aws-crt-python
-pkgname=python-awscrt
-# https://github.com/awslabs/aws-crt-python/releases
-pkgver=0.15.3
-pkgrel=1
-pkgdesc='A common runtime for AWS Python projects'
-arch=(x86_64)
-url='https://github.com/awslabs/aws-crt-python'
-license=(Apache)
-depends=(glibc python
-         aws-c-auth aws-c-cal aws-c-common aws-c-event-stream aws-c-http 
aws-c-io aws-c-mqtt aws-c-s3 aws-checksums)
-makedepends=(cmake python-build python-installer python-setuptools 
python-wheel)
-source=("https://github.com/awslabs/aws-crt-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha256sums=('d69c2bb96f593f8aca132f3b426442861981293054b9f0fcdafd7ac1a928a59f')
-
-prepare() {
-  cd $_pkgname-$pkgver
-  # Allow linking to shared libraries
-  sed -i '/:lib/d' setup.py
-  # Use proper version in .dist-info
-  # See 
https://github.com/awslabs/aws-crt-python/blob/main/continuous-delivery/update-version.py
-  sed -i -r "s/__version__ = '[^']+'/__version__ = '$pkgver'/" 
awscrt/__init__.py
-}
-
-build() {
-  cd $_pkgname-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd $_pkgname-$pkgver
-
-  pyver=$(python -c "import sys; print('{}{}'.format(*sys.version_info[:2]))")
-  export PYTHONPATH="$PWD:$PWD/build/lib.linux-$CARCH-cpython-$pyver"
-  python -m unittest discover test
-}
-
-package() {
-  cd $_pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-}

Copied: python-awscrt/repos/community-x86_64/PKGBUILD (from rev 1381933, 
python-awscrt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-08 05:14:03 UTC (rev 1381934)
@@ -0,0 +1,46 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: TheEdgeOfRage on AUR
+
+_pkgname=aws-crt-python
+pkgname=python-awscrt
+# https://github.com/awslabs/aws-crt-python/releases
+# UPDATE_BLOCKED: newer python-awscrt often needs newer aws-c-* libraries - 
update only when dependencies are updated
+pkgver=0.16.3
+pkgrel=1
+pkgdesc='A common runtime for AWS Python projects'
+arch=(x86_64)
+url='https://github.com/awslabs/aws-crt-python'
+license=(Apache)
+depends=(glibc python
+         aws-c-auth aws-c-cal aws-c-common aws-c-event-stream aws-c-http 
aws-c-io aws-c-mqtt aws-c-s3 aws-checksums)
+makedepends=(cmake python-build python-installer python-setuptools 
python-wheel)
+checkdepends=(python-websockets)
+source=("https://github.com/awslabs/aws-crt-python/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('6f6bf17d4d805730833e7bf2bbccbeee361e005476fe7529f02249d83879f12e')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  # Allow linking to shared libraries
+  sed -i '/:lib/d' setup.py
+  # Use proper version in .dist-info
+  # See 
https://github.com/awslabs/aws-crt-python/blob/main/continuous-delivery/update-version.py
+  sed -i -r "s/__version__ = '[^']+'/__version__ = '$pkgver'/" 
awscrt/__init__.py
+}
+
+build() {
+  cd $_pkgname-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  pyver=$(python -c "import sys; print('{}{}'.format(*sys.version_info[:2]))")
+  export PYTHONPATH="$PWD:$PWD/build/lib.linux-$CARCH-cpython-$pyver"
+  python -m unittest discover test
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to