[arch-commits] Commit in python-aws-sam-translator/repos/community-any (2 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sat Jan 30 10:43:18 UTC 2021
Date: Saturday, January 30, 2021 @ 10:43:18
Author: yan12125
Revision: 835862
archrelease: copy trunk to community-any
Added:
python-aws-sam-translator/repos/community-any/PKGBUILD
(from rev 835861, python-aws-sam-translator/trunk/PKGBUILD)
Deleted:
python-aws-sam-translator/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-30 10:42:39 UTC (rev 835861)
+++ PKGBUILD 2021-01-30 10:43:18 UTC (rev 835862)
@@ -1,39 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-aws-sam-translator
-pkgver=1.33.0
-pkgrel=1
-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-boto3 python-jsonschema python-six)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-yaml python-mock 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=('426a83c0bb2c096899639d12d05be11cf1855d324a8243d0fbeea83dc26e9e5d')
-
-prepare() {
- cd serverless-application-model-$pkgver
- # skip pytest-coverage
- sed -i '/addopts/d' pytest.ini
-}
-
-build() {
- cd serverless-application-model-$pkgver
- python setup.py build
-}
-
-check() {
- cd serverless-application-model-$pkgver
- pytest tests
-}
-
-package() {
- cd serverless-application-model-$pkgver
- # Work around https://bugs.python.org/issue34033
- export PYTHONHASHSEED=0
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
Copied: python-aws-sam-translator/repos/community-any/PKGBUILD (from rev 835861, python-aws-sam-translator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-30 10:43:18 UTC (rev 835862)
@@ -0,0 +1,39 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-aws-sam-translator
+pkgver=1.34.0
+pkgrel=1
+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-boto3 python-jsonschema python-six)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-yaml python-mock 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=('ea9128cdbe7e06cf3983f3516a768d85ccd522f27c0b4ad34475d1cbb0c60267')
+
+prepare() {
+ cd serverless-application-model-$pkgver
+ # skip pytest-coverage
+ sed -i '/addopts/d' pytest.ini
+}
+
+build() {
+ cd serverless-application-model-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd serverless-application-model-$pkgver
+ pytest tests
+}
+
+package() {
+ cd serverless-application-model-$pkgver
+ # Work around https://bugs.python.org/issue34033
+ export PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
More information about the arch-commits
mailing list