* add python-automaton
This commit is contained in:
parent
a6a72d691c
commit
b7f2085162
23
python/python-automaton/.SRCINFO
Normal file
23
python/python-automaton/.SRCINFO
Normal file
@ -0,0 +1,23 @@
|
||||
pkgbase = python-automaton
|
||||
pkgdesc = Friendly state machines for python.
|
||||
pkgver = 3.0.1
|
||||
pkgrel = 1
|
||||
url = https://opendev.org/openstack/automaton
|
||||
arch = any
|
||||
license = Apache
|
||||
checkdepends = python-coverage
|
||||
checkdepends = python-oslotest
|
||||
checkdepends = python-stestr
|
||||
checkdepends = python-testtools
|
||||
checkdepends = python-reno
|
||||
makedepends = python
|
||||
makedepends = python-setuptools
|
||||
depends = python
|
||||
depends = python-pbr
|
||||
depends = python-prettytable
|
||||
source = https://pypi.io/packages/source/a/automaton/automaton-3.0.1.tar.gz
|
||||
md5sums = 7801dec36d78c9d532394366749e6a27
|
||||
sha256sums = 1004a4787c241a62ccab255c414207b93f5fdc8509a022590d05bdeb3807cb76
|
||||
sha512sums = b9c1c3a4a682604987004c2112d1e22b8ca713f173d2a1a70c5440adbcf42d1c30a41743cb732624f54d636f224d7619bf3b9142f6d310fb3884d987b96111dd
|
||||
|
||||
pkgname = python-automaton
|
10
python/python-automaton/.gitignore
vendored
Normal file
10
python/python-automaton/.gitignore
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
pkg
|
||||
src
|
||||
*.tar
|
||||
*.gz
|
||||
*.xz
|
||||
*.zst
|
||||
*.zip
|
||||
*.lz4
|
||||
*.lzo
|
||||
*.bz
|
50
python/python-automaton/PKGBUILD
Normal file
50
python/python-automaton/PKGBUILD
Normal file
@ -0,0 +1,50 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: zhullyb <zhullyb@outlook.com>
|
||||
# Contributor: BigfootACA <bigfoot@classfun.cn>
|
||||
|
||||
_pyname=automaton
|
||||
pkgname=python-$_pyname
|
||||
pkgver=3.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Friendly state machines for python."
|
||||
arch=(any)
|
||||
url="https://opendev.org/openstack/automaton"
|
||||
license=(Apache)
|
||||
depends=(
|
||||
python
|
||||
python-pbr
|
||||
python-prettytable
|
||||
)
|
||||
checkdepends=(
|
||||
python-coverage
|
||||
python-oslotest
|
||||
python-stestr
|
||||
python-testtools
|
||||
python-reno
|
||||
)
|
||||
makedepends=(
|
||||
python
|
||||
python-setuptools
|
||||
)
|
||||
source=(https://pypi.io/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz)
|
||||
md5sums=('7801dec36d78c9d532394366749e6a27')
|
||||
sha256sums=('1004a4787c241a62ccab255c414207b93f5fdc8509a022590d05bdeb3807cb76')
|
||||
sha512sums=('b9c1c3a4a682604987004c2112d1e22b8ca713f173d2a1a70c5440adbcf42d1c30a41743cb732624f54d636f224d7619bf3b9142f6d310fb3884d987b96111dd')
|
||||
|
||||
export PBR_VERSION=$pkgver
|
||||
|
||||
build(){
|
||||
pushd $_pyname-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
check(){
|
||||
pushd $_pyname-$pkgver
|
||||
stestr run
|
||||
}
|
||||
|
||||
package(){
|
||||
cd $_pyname-$pkgver
|
||||
python setup.py install --root "$pkgdir" --optimize=1
|
||||
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user