summaryrefslogblamecommitdiff
path: root/user/py3-transitions/APKBUILD
blob: d59df486f22c0f49aa8f78e827f794da181a81de (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                  

                      
            

                                      
                                           





                                             
                                                                                              














                                                               
                                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=py3-transitions
_pkgname=${pkgname#py3-}
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=0.7.2
pkgrel=0
pkgdesc="Python state machine library"
url="https://pypi.org/project/transitions/"
arch="noarch"
options="!check"  # requires nose, pygraphviz
license="MIT"
depends="python3"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	mkdir -p "$pkgdir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c33eaec3e338b6febd924d803b85436df3ec3ab728315290fe81c73fb328aedcdb15e8f19f0e3d9d3a7d62750671686ae65bad560c48cfd113481dfe702a4204  transitions-0.7.2.tar.gz"