Date: Monday, April 10, 2023 @ 05:27:30
Author: felixonmars
Revision: 1443651
archrelease: copy trunk to community-staging-any
Added:
python-aws-sam-translator/repos/community-staging-any/PKGBUILD
(from rev 1443650, python-aws-sam-translator/trunk/PKGBUILD)
Deleted:
python-aws-sam-translator/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 05:27:22 UTC (rev 1443650)
+++ PKGBUILD 2023-04-10 05:27:30 UTC (rev 1443651)
@@ -1,40 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-
-pkgname=python-aws-sam-translator
-# https://github.com/aws/serverless-application-model/releases
-pkgver=1.61.0
-pkgrel=2
-pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for
expressing Serverless applications on AWS'
-arch=(any)
-url='https://github.com/aws/serverless-application-model'
-license=(Apache)
-depends=(python python-botocore python-boto3 python-jsonschema python-pydantic
python-typing_extensions)
-makedepends=(python-setuptools)
-# python-yaml is needed by samtranslator.yaml_helper, while the latter is used
in tests only
-checkdepends=(python-pytest python-pytest-rerunfailures python-yaml
python-parameterized)
-# Upstream intentionally exclude tests from sdist
-#
https://github.com/aws/serverless-application-model/pull/381#issuecomment-382143094
-source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('258d3d1b389df1198fd8d37d7449536cd22c6b3863cb551ea152845db2c377aa')
-
-prepare() {
- cd serverless-application-model-$pkgver
- # skip pytest-coverage
- sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini
-}
-
-build() {
- cd serverless-application-model-$pkgver
- python setup.py build
-}
-
-check() {
- cd serverless-application-model-$pkgver
- # See
https://github.com/aws/serverless-application-model/blob/v1.52.0/Makefile#L9
- AWS_DEFAULT_REGION=us-east-1 pytest tests
-}
-
-package() {
- cd serverless-application-model-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-aws-sam-translator/repos/community-staging-any/PKGBUILD (from
rev 1443650, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 05:27:30 UTC (rev 1443651)
@@ -0,0 +1,40 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+
+pkgname=python-aws-sam-translator
+# https://github.com/aws/serverless-application-model/releases
+pkgver=1.61.0
+pkgrel=3
+pkgdesc='AWS Serverless Application Model (AWS SAM) prescribes rules for
expressing Serverless applications on AWS'
+arch=(any)
+url='https://github.com/aws/serverless-application-model'
+license=(Apache)
+depends=(python python-botocore python-boto3 python-jsonschema python-pydantic
python-typing_extensions)
+makedepends=(python-setuptools)
+# python-yaml is needed by samtranslator.yaml_helper, while the latter is used
in tests only
+checkdepends=(python-pytest python-pytest-rerunfailures python-yaml
python-parameterized)
+# Upstream intentionally exclude tests from sdist
+#
https://github.com/aws/serverless-application-model/pull/381#issuecomment-382143094
+source=("https://github.com/aws/serverless-application-model/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('258d3d1b389df1198fd8d37d7449536cd22c6b3863cb551ea152845db2c377aa')
+
+prepare() {
+ cd serverless-application-model-$pkgver
+ # skip pytest-coverage
+ sed -i -r 's#--cov\S*\s+\S+##g' pytest.ini
+}
+
+build() {
+ cd serverless-application-model-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd serverless-application-model-$pkgver
+ # See
https://github.com/aws/serverless-application-model/blob/v1.52.0/Makefile#L9
+ AWS_DEFAULT_REGION=us-east-1 pytest tests
+}
+
+package() {
+ cd serverless-application-model-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}