Initial upload: python-simple-pid 0.2.3-1

This commit is contained in:
2019-10-04 10:09:15 +02:00
parent 63192f0e38
commit b8bc65dd41
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
pkgbase = python-simple-pid
pkgdesc = A simple and easy to use PID controller in Python
pkgver = 0.2.3
pkgrel = 1
url = https://github.com/m-lundberg/simple-pid
arch = any
license = MIT
makedepends = python-setuptools
source = https://github.com/m-lundberg/simple-pid/archive/v0.2.3.tar.gz
sha256sums = 385a0bae51525d1c0f132a12d385bdce0e604afb819c23fc3ad3088d72822147
pkgname = python-simple-pid

View File

@@ -0,0 +1,28 @@
# Maintainer: Giovanni Harting <539@idlegandalf.com>
pkgname=python-simple-pid
_name=${pkgname#python-}
pkgver=0.2.3
pkgrel=1
pkgdesc="A simple and easy to use PID controller in Python"
arch=('any')
url="https://github.com/m-lundberg/simple-pid"
license=('MIT')
depends=()
makedepends=('python-setuptools')
source=("https://github.com/m-lundberg/$_name/archive/v$pkgver.tar.gz")
sha256sums=('385a0bae51525d1c0f132a12d385bdce0e604afb819c23fc3ad3088d72822147')
build() {
cd $_name-$pkgver
python setup.py build
}
package() {
cd $_name-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}