summaryrefslogtreecommitdiff
path: root/community/py3-braceexpand/APKBUILD
blob: 5d5382345727d6406f1106e96f36a00bbf98512b (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
# Contributor: Andy Hawkins <andy@gently.org.uk>
# Maintainer: Andy Hawkins <andy@gently.org.uk>
pkgname=py3-braceexpand
pkgver=0.1.7
pkgrel=2
pkgdesc="Bash-style brace expansion for Python"
url="https://github.com/trendels/braceexpand"
arch="noarch"
license="MIT"
depends="
	python3
	py3-pytest
	"
makedepends="py3-setuptools"
source="https://github.com/trendels/braceexpand/archive/v$pkgver/braceexpand-v$pkgver.tar.gz"
builddir="$srcdir/braceexpand-$pkgver"

build() {
	python3 setup.py build
}

check() {
	PYTHONPATH="$PWD/build/lib" pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
b3753d5c47e30398fe14114c452e7a0c02754dae64cb9e7b7061e3b2fcc46f579f6a40e3bb091c4ec8ea729d9487b2d5d794d6d02c63489f815c81ce502d2f0f  braceexpand-v0.1.7.tar.gz
"