summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4cef94b46611afbf97bcd77cf2ec968f39595c44 (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
# Maintainer: GI_Jack <GI_Jack@hackermail.com>

pkgname=python-aadict
_pkgname=aadict
pkgver=0.2.3
pkgrel=2
_file=
pkgdesc="An auto-attribute dict (and a couple of other useful dict functions), for Python"
url="https://pypi.org/project/aadict/"
arch=('any')
license=('GPLv3')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('a77328ac55dbb5735da99441870251befe135f687ab707a7a178561363b27704')

build() {
    cd "${_pkgname}-${pkgver}"
    python -m build --wheel --no-isolation
}

package() {
    cd "${_pkgname}-${pkgver}"
    python -m installer --destdir="$pkgdir" dist/*.whl
}