diff options
author | Kyle Laker | 2021-03-03 18:47:24 -0500 |
---|---|---|
committer | Kyle Laker | 2021-03-03 18:47:24 -0500 |
commit | 8f1e18193dd10c2040f443c6f4c66d6f783423c7 (patch) | |
tree | 0d706114bb772d4122788555bfdb1ffcb75cfc3d | |
download | aur-8f1e18193dd10c2040f443c6f4c66d6f783423c7.tar.gz |
Initial package upload
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..caabf533d752 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +pkgbase = chalice + pkgdesc = Python Serverless Microframework for AWS + pkgver = 1.22.1 + pkgrel = 1 + url = https://github.com/aws/chalice + arch = any + license = Apache + makedepends = python-setuptools + makedepends = mypy + depends = python + depends = python-click + depends = python-botocore + depends = python-mypy_extensions + depends = python-six + depends = python-pip + depends = python-attrs + depends = python-jmespath + depends = python-yaml + depends = python-inquirer + depends = python-wheel + depends = python-setuptools + optdepends = python-watchdog: server auto-reload support + optdepends = aws-cdk: AWS CDK support + source = chalice-1.22.1.tar.gz::https://github.com/aws/chalice/archive/1.22.1.tar.gz + sha512sums = 07e9f222b95d4ccae37b6e06537ad8171e9fa10a7781761367b7cdcf9689214b8c7ba59574ec4e16a3046c77c4e2f94bbef159bb0d4dbdfae2020afd89f663d6 + +pkgname = chalice + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a4ad4b61167e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Kyle Laker <kyle+aur@laker.email> + +pkgname=chalice +pkgver=1.22.1 +pkgrel=1 +pkgdesc="Python Serverless Microframework for AWS" +arch=("any") +url="https://github.com/aws/chalice" +license=("Apache") +depends=(\ + "python" + "python-click" + "python-botocore" + "python-mypy_extensions" + "python-six" + "python-pip" + "python-attrs" + "python-jmespath" + "python-yaml" + "python-inquirer" + "python-wheel" + "python-setuptools" +) +makedepends=("python-setuptools" "mypy") +optdepends=('python-watchdog: server auto-reload support' + 'aws-cdk: AWS CDK support') +source=("$pkgname-$pkgver.tar.gz::https://github.com/aws/$pkgname/archive/$pkgver.tar.gz") +sha512sums=('07e9f222b95d4ccae37b6e06537ad8171e9fa10a7781761367b7cdcf9689214b8c7ba59574ec4e16a3046c77c4e2f94bbef159bb0d4dbdfae2020afd89f663d6') + +prepare() { + cd "${srcdir}/$pkgname-$pkgver" + # Fix the tests getting included in the package + sed -i' ' -e "s/'tests'/'tests*'/" setup.py +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + python setup.py install --skip-build --root="${pkgdir}" --optimize=1 +} |