blob: 82f8e049b7620f89225a5890ee94219b58b131c3 (
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: Leo <thinkabit.ukim@gmail.com>
# Contributor: Tiago Ilieve <tiago.myhro@gmail.com>
# Maintainer: Tiago Ilieve <tiago.myhro@gmail.com>
pkgname=py3-automat
_pkgname=Automat
pkgver=0.7.0
pkgrel=2
pkgdesc="Self-service finite-state machines for the programmer on the go"
url="https://automat.readthedocs.io/"
arch="noarch"
license="MIT"
depends="py3-attrs py3-six"
makedepends="py3-setuptools py3-incremental pytest py3-graphviz py3-twisted"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-automat" # Backwards compatibility
provides="py-automat=$pkver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
py.test-3 automat/_test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="a6f307d312a3ceb721071b5212297c73d2306894b5fafd39265578041a2859bd6f041ac43a654bdda4175a70a4e90e0db1ee35cd43fa620cd5c594b5d1988a74 Automat-0.7.0.tar.gz"
|