diff options
author | Christian Schwarz | 2015-10-19 23:12:43 +0200 |
---|---|---|
committer | Christian Schwarz | 2015-10-19 23:12:43 +0200 |
commit | da929e24b09c970e7172fb63d6e1eb7070dbc3f5 (patch) | |
tree | b21e66a9a170fe4d8a37811d22f688fb3f65f663 | |
download | aur-da929e24b09c970e7172fb63d6e1eb7070dbc3f5.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7c9fc914258d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = python-yoctopuce + pkgdesc = Yoctopuce Python API + pkgver = 1.10.21816 + pkgrel = 1 + url = https://pypi.python.org/pypi/yoctopuce + arch = any + license = unknown + makedepends = python-setuptools + makedepends = python2-setuptools + options = !emptydirs + source = https://pypi.python.org/packages/source/y/yoctopuce/yoctopuce-1.10.21816.tar.gz + md5sums = ff246bacbc10f672e6b23f342d282326 + +pkgname = python-yoctopuce + depends = python + +pkgname = python2-yoctopuce + depends = python2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..82e242d4e9a9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Christian Schwarz <me@cschwarz.com> +pkgbase=python-yoctopuce +pkgname=("python-yoctopuce" "python2-yoctopuce") +pkgver=1.10.21816 +pkgrel=1 +pkgdesc="Yoctopuce Python API" +arch=('any') +url="https://pypi.python.org/pypi/yoctopuce" +license=('unknown') +makedepends=('python-setuptools' 'python2-setuptools') +options=(!emptydirs) +source=("https://pypi.python.org/packages/source/y/yoctopuce/yoctopuce-$pkgver.tar.gz") +md5sums=("ff246bacbc10f672e6b23f342d282326") + +package_python-yoctopuce() { + depends=("python") + cd "$srcdir/yoctopuce-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} + +package_python2-yoctopuce() { + depends=("python2") + cd "$srcdir/yoctopuce-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} + + +# vim:set ts=2 sw=2 et: |