Date: Monday, April 10, 2023 @ 07:21:42
Author: felixonmars
Revision: 1443781
archrelease: copy trunk to community-staging-x86_64
Added:
python-awscrt/repos/community-staging-x86_64/PKGBUILD
(from rev 1443779, python-awscrt/trunk/PKGBUILD)
python-awscrt/repos/community-staging-x86_64/PKGBUILD-bundled-crt
(from rev 1443779, python-awscrt/trunk/PKGBUILD-bundled-crt)
Deleted:
python-awscrt/repos/community-staging-x86_64/PKGBUILD
python-awscrt/repos/community-staging-x86_64/PKGBUILD-bundled-crt
----------------------+
PKGBUILD | 92 ++++++++++++-------------
PKGBUILD-bundled-crt | 178 ++++++++++++++++++++++++-------------------------
2 files changed, 135 insertions(+), 135 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 07:21:40 UTC (rev 1443780)
+++ PKGBUILD 2023-04-10 07:21:42 UTC (rev 1443781)
@@ -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.11
-pkgrel=2
-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=('69adf9a00819451b31a280f805796f211a56d87e2d28c56b40cfda7c5b851fd2')
-
-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-staging-x86_64/PKGBUILD (from rev
1443779, python-awscrt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 07:21:42 UTC (rev 1443781)
@@ -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.11
+pkgrel=3
+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=('69adf9a00819451b31a280f805796f211a56d87e2d28c56b40cfda7c5b851fd2')
+
+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
+}
Deleted: PKGBUILD-bundled-crt
===================================================================
--- PKGBUILD-bundled-crt 2023-04-10 07:21:40 UTC (rev 1443780)
+++ PKGBUILD-bundled-crt 2023-04-10 07:21:42 UTC (rev 1443781)
@@ -1,89 +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.16.11
-# curl
https://api.github.com/repos/awslabs/aws-crt-python/git/ref/tags/v$pkgver | jq
-r .object.sha
-_tag=c192bbe9c92e161e27ee099a762d94b464ec35be
-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 gcc-libs python)
-makedepends=(git cmake python-build python-installer python-setuptools
python-wheel)
-checkdepends=(python-websockets)
-source=("git+https://github.com/awslabs/aws-crt-python.git#tag=$_tag"
- "git+https://github.com/awslabs/aws-c-auth"
- "git+https://github.com/awslabs/aws-c-cal"
- "git+https://github.com/awslabs/aws-c-common"
- "git+https://github.com/awslabs/aws-c-compression"
- "git+https://github.com/awslabs/aws-c-event-stream"
- "git+https://github.com/awslabs/aws-c-http"
- "git+https://github.com/awslabs/aws-c-io"
- "git+https://github.com/awslabs/aws-c-mqtt"
- "git+https://github.com/awslabs/aws-c-s3"
- "git+https://github.com/awslabs/aws-c-sdkutils"
- "git+https://github.com/awslabs/aws-checksums"
- "git+https://github.com/awslabs/aws-lc"
- "git+https://github.com/awslabs/s2n")
-sha256sums=('SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP'
- 'SKIP')
-
-pkgver() {
- cd $_pkgname
- git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
- cd $_pkgname
-
- # https://github.com/awslabs/aws-crt-python/blob/v$pkgver/.gitmodules
- git submodule init
- for crt in aws-c-auth aws-c-cal aws-c-common aws-c-compression
aws-c-event-stream aws-c-http aws-c-io aws-c-mqtt aws-c-s3 aws-checksums s2n; do
- git config submodule.aws-common-runtime/$crt.url "$srcdir"/$crt
- git -c protocol.file.allow=always submodule update crt/$crt
- done
- for crt in aws-c-sdkutils aws-lc; do
- git config submodule.crt/$crt.url "$srcdir"/$crt
- git -c protocol.file.allow=always submodule update crt/$crt
- done
-}
-
-build() {
- cd $_pkgname
-
- # Use proper version in .dist-info
- # See
https://github.com/awslabs/aws-crt-python/blob/main/continuous-delivery/update-version.py
- # Don't move this line to prepare(), as pkgver() runs after prepare()
- sed -i -r "s/__version__ = '[^']+'/__version__ = '$pkgver'/"
awscrt/__init__.py
-
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd $_pkgname
-
- 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
- python -m installer --destdir="$pkgdir" dist/*.whl
-}
Copied: python-awscrt/repos/community-staging-x86_64/PKGBUILD-bundled-crt (from
rev 1443779, python-awscrt/trunk/PKGBUILD-bundled-crt)
===================================================================
--- PKGBUILD-bundled-crt (rev 0)
+++ PKGBUILD-bundled-crt 2023-04-10 07:21:42 UTC (rev 1443781)
@@ -0,0 +1,89 @@
+# 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.16.11
+# curl
https://api.github.com/repos/awslabs/aws-crt-python/git/ref/tags/v$pkgver | jq
-r .object.sha
+_tag=c192bbe9c92e161e27ee099a762d94b464ec35be
+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 gcc-libs python)
+makedepends=(git cmake python-build python-installer python-setuptools
python-wheel)
+checkdepends=(python-websockets)
+source=("git+https://github.com/awslabs/aws-crt-python.git#tag=$_tag"
+ "git+https://github.com/awslabs/aws-c-auth"
+ "git+https://github.com/awslabs/aws-c-cal"
+ "git+https://github.com/awslabs/aws-c-common"
+ "git+https://github.com/awslabs/aws-c-compression"
+ "git+https://github.com/awslabs/aws-c-event-stream"
+ "git+https://github.com/awslabs/aws-c-http"
+ "git+https://github.com/awslabs/aws-c-io"
+ "git+https://github.com/awslabs/aws-c-mqtt"
+ "git+https://github.com/awslabs/aws-c-s3"
+ "git+https://github.com/awslabs/aws-c-sdkutils"
+ "git+https://github.com/awslabs/aws-checksums"
+ "git+https://github.com/awslabs/aws-lc"
+ "git+https://github.com/awslabs/s2n")
+sha256sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+pkgver() {
+ cd $_pkgname
+ git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+ cd $_pkgname
+
+ # https://github.com/awslabs/aws-crt-python/blob/v$pkgver/.gitmodules
+ git submodule init
+ for crt in aws-c-auth aws-c-cal aws-c-common aws-c-compression
aws-c-event-stream aws-c-http aws-c-io aws-c-mqtt aws-c-s3 aws-checksums s2n; do
+ git config submodule.aws-common-runtime/$crt.url "$srcdir"/$crt
+ git -c protocol.file.allow=always submodule update crt/$crt
+ done
+ for crt in aws-c-sdkutils aws-lc; do
+ git config submodule.crt/$crt.url "$srcdir"/$crt
+ git -c protocol.file.allow=always submodule update crt/$crt
+ done
+}
+
+build() {
+ cd $_pkgname
+
+ # Use proper version in .dist-info
+ # See
https://github.com/awslabs/aws-crt-python/blob/main/continuous-delivery/update-version.py
+ # Don't move this line to prepare(), as pkgver() runs after prepare()
+ sed -i -r "s/__version__ = '[^']+'/__version__ = '$pkgver'/"
awscrt/__init__.py
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $_pkgname
+
+ 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
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}