diff options
author | Jose Riha | 2019-07-11 15:42:38 +0200 |
---|---|---|
committer | Jose Riha | 2019-07-11 15:42:44 +0200 |
commit | 27e8d0b8d61db37f5d00d5db81a377baff97e731 (patch) | |
tree | 288475a1e0c6f31ccad71f5b5eab77a7d72a3c34 | |
download | aur-27e8d0b8d61db37f5d00d5db81a377baff97e731.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c272655bdff7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-pygatt + pkgdesc = Python Bluetooth LE (Low Energy) and GATT Library + pkgver = 4.0.3 + pkgrel = 1 + url = https://github.com/peplin/pygatt + arch = any + license = APACHE + makedepends = python-setuptools + depends = python + depends = python-pexpect + depends = python-pyserial + source = https://files.pythonhosted.org/packages/source/p/pygatt/pygatt-4.0.3.tar.gz + sha256sums = b1db8e294fc9c68f4dee66e7e2bdde3240c18c2495237059b83f3e7ca9897466 + +pkgname = python-pygatt + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5566178f2f95 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Jose Riha <jose1711 gmail com> + +pkgname=python-pygatt +_module=pygatt +pkgver=4.0.3 +pkgrel=1 +pkgdesc="Python Bluetooth LE (Low Energy) and GATT Library" +url="https://github.com/peplin/pygatt" +depends=('python' 'python-pexpect' 'python-pyserial') +makedepends=('python-setuptools') +license=('APACHE') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +sha256sums=('b1db8e294fc9c68f4dee66e7e2bdde3240c18c2495237059b83f3e7ca9897466') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |