Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-awscrt


Commits:
e19ecee6 by Chih-Hsuan Yen at 2023-11-09T22:19:51+08:00
Abandon the approach of using shared CRT libraries

That may not be supported by upstream in near future

- - - - -


1 changed file:

- − PKGBUILD-shared-crt


Changes:

=====================================
PKGBUILD-shared-crt deleted
=====================================
@@ -1,46 +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
-# UPDATE_BLOCKED: newer python-awscrt often needs newer aws-c-* libraries - 
update only when dependencies are updated
-pkgver=0.16.21
-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=('5718ffcfd844a0b44b7afd7421126b18580c0ef0614a2e555d91586522724afc')
-
-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
-}



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-awscrt/-/commit/e19ecee6ee6b1b59a4de444c298bab51f7378db7

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-awscrt/-/commit/e19ecee6ee6b1b59a4de444c298bab51f7378db7
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to