From 6c4a8bfcfce82d2689865e7f33fb73e2da1233a2 Mon Sep 17 00:00:00 2001 From: Leo Date: Sat, 7 Sep 2019 09:07:08 -0300 Subject: testing/py3-unicorn-hat: rename from py-unicorn-hat --- testing/py-unicorn-hat/APKBUILD | 42 ---------------------------------------- testing/py3-unicorn-hat/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 testing/py-unicorn-hat/APKBUILD create mode 100644 testing/py3-unicorn-hat/APKBUILD (limited to 'testing') diff --git a/testing/py-unicorn-hat/APKBUILD b/testing/py-unicorn-hat/APKBUILD deleted file mode 100644 index ec85874c54..0000000000 --- a/testing/py-unicorn-hat/APKBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Contributor: ScrumpyJack -# Maintainer: ScrumpyJack -pkgname=py-unicorn-hat -_pkgname=unicorn-hat-unicornhat -pkgver=2.1.2 -pkgrel=0 -pkgdesc="Python wrapper for driving ws2812 pixels from the Raspberry Pi" -url="http://shop.pimoroni.com/products/unicorn-hat" -arch="armhf armv7 aarch64" -license="GPL-2.0" -depends="python2" -depends_dev="" -makedepends="python2-dev py-setuptools" -install="" -subpackages="$pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/pimoroni/unicorn-hat/archive/unicornhat-${pkgver}.tar.gz" - -builddir=${srcdir}/${_pkgname}-${pkgver} - -prepare() { - local i - cd "$builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$builddir/python/UnicornHat" - python2 setup.py build || return 1 -} - -package() { - cd "$builddir/python/UnicornHat" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 - install -D -m0644 $builddir/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt -} -md5sums="63a61940a4ee469d0235454629ea60d3 py-unicorn-hat-2.1.2.tar.gz" -sha256sums="b19430964934412b6b76dfa7b6ed7924610bda0d10e2cba47a2c580baa10da8c py-unicorn-hat-2.1.2.tar.gz" -sha512sums="dee24ec570b8624792899fbf98fafea6565b939581ecce0adcf78c389cc0f2ec274466be31bf3e09c861a30a074f491f1366b0ac4a55529c259bfb3869d96bef py-unicorn-hat-2.1.2.tar.gz" diff --git a/testing/py3-unicorn-hat/APKBUILD b/testing/py3-unicorn-hat/APKBUILD new file mode 100644 index 0000000000..ec85874c54 --- /dev/null +++ b/testing/py3-unicorn-hat/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: ScrumpyJack +# Maintainer: ScrumpyJack +pkgname=py-unicorn-hat +_pkgname=unicorn-hat-unicornhat +pkgver=2.1.2 +pkgrel=0 +pkgdesc="Python wrapper for driving ws2812 pixels from the Raspberry Pi" +url="http://shop.pimoroni.com/products/unicorn-hat" +arch="armhf armv7 aarch64" +license="GPL-2.0" +depends="python2" +depends_dev="" +makedepends="python2-dev py-setuptools" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/pimoroni/unicorn-hat/archive/unicornhat-${pkgver}.tar.gz" + +builddir=${srcdir}/${_pkgname}-${pkgver} + +prepare() { + local i + cd "$builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$builddir/python/UnicornHat" + python2 setup.py build || return 1 +} + +package() { + cd "$builddir/python/UnicornHat" + python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + install -D -m0644 $builddir/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt +} +md5sums="63a61940a4ee469d0235454629ea60d3 py-unicorn-hat-2.1.2.tar.gz" +sha256sums="b19430964934412b6b76dfa7b6ed7924610bda0d10e2cba47a2c580baa10da8c py-unicorn-hat-2.1.2.tar.gz" +sha512sums="dee24ec570b8624792899fbf98fafea6565b939581ecce0adcf78c389cc0f2ec274466be31bf3e09c861a30a074f491f1366b0ac4a55529c259bfb3869d96bef py-unicorn-hat-2.1.2.tar.gz" -- cgit v1.2.3