summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d528a76c3baf0d9f0b969e27e302533f9141bc62 (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
27
28
29
30
31
# Maintainer: David Markey <david@dmarkey.com>

pkgname=python-op-aws-vault
_pyname=${pkgname#python-}
pkgver=0.0.7
pkgrel=1
pkgdesc='aws-vault like utility for 1Password'
arch=(any)
url="https://github.com/dmarkey/$_pyname"
license=(MIT)
depends=(python python-boto3 python-pytimeparse2 python-requests python-typer)
makedepends=(python-{build,installer,wheel,hatchling} python-setuptools)
_archive="op_aws_vault-$pkgver"
source=("https://pypi.python.org/packages/source/o/op-aws-vault/op_aws_vault-${pkgver}.tar.gz")
sha256sums=('ced4e862b263d4768bed9bfc122bf433ff3146def3f26d1742024ff893e2b6fa')

build() {
    cd "$_archive"
    python -m build -wn
}

check() {
    cd "$_archive"
}


package() {
    cd "$_archive"
    python -m installer -d "$pkgdir" dist/*.whl
}