summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9fb27ba2f7c0178e6df1a3e694d2ad5731f2571 (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
#Maintainer: Dylan Delgado (dylan1496 at live dot com)

pkgname=python-transitions
pkgver=0.9.2
pkgrel=1
pkgdesc="A lightweight, object-oriented finite state machine implementation in Python"
url="http://github.com/tyarkoni/transitions"
arch=(any)
license=('MIT')
makedepends=('python-setuptools')
depends=('python-six')
source=("https://github.com/tyarkoni/transitions/archive/${pkgver}.tar.gz")
sha256sums=('d55cdb5ded548513a36eb745d762b2af304cfab5ee0b143ced3d94921eaa77e3')

prepare() {
  cd "${srcdir}"/transitions-$pkgver
}

build() {
  cd "${srcdir}"/transitions-$pkgver
  python setup.py build
}

package() {
  cd "${srcdir}/transitions-$pkgver"
  python setup.py install --root=${pkgdir} --optimize=1
}