summaryrefslogblamecommitdiff
path: root/user/py3-transitions/APKBUILD
blob: b877992d3d11c6ffeb9122b77c485748b6c6f9a2 (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.1
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="4802e6a914270a183f66e70cf648c5f09c25b63e9233fdeb65b231ad24847d023182c6a45eaa1d47780d1f5d7f6f23695a6e578d4eaae55bf7a7ff121561e06b  transitions-0.7.1.tar.gz"