blob: da08ff291c313125a14bfdbe7cc8f601f416c880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Radu Potop <radu@wooptoo.com>
pkgname=python-aws-lambda-powertools
upstream_name=powertools-lambda-python
pkgver=3.4.0
pkgrel=1
pkgdesc='A developer toolkit to implement Serverless best practices and increase velocity'
arch=(any)
url="https://github.com/aws-powertools/$upstream_name"
license=("MIT")
depends=("python")
conflicts=('aws-lambda-powertools-python') # old package name
makedepends=("python-build" "python-installer" "python-poetry")
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
build() {
cd "$upstream_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$upstream_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
sha256sums=('0761f950f687dc1acfa45ab1d0f3d81a24fe587693e0ac07de2a02528e0f7ac0')
|