aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-sensehat
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 16:23:58 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 16:49:23 -0300
commit4e3325449e6b2e8be3890137b8bbe8b68fdc4047 (patch)
treee37a07e184e35b86669a3964d8665cd59f8e5890 /community/py-sensehat
parent23d2f24b877b8a8e34d5e386343b65f1a36e28d5 (diff)
downloadaports-4e3325449e6b2e8be3890137b8bbe8b68fdc4047.tar.bz2
aports-4e3325449e6b2e8be3890137b8bbe8b68fdc4047.tar.xz
community/py3-sensehat: rename from py-sensehat
Diffstat (limited to 'community/py-sensehat')
-rw-r--r--community/py-sensehat/APKBUILD54
1 files changed, 0 insertions, 54 deletions
diff --git a/community/py-sensehat/APKBUILD b/community/py-sensehat/APKBUILD
deleted file mode 100644
index cd6a13beeb..0000000000
--- a/community/py-sensehat/APKBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
-# Maintainer: ScrumpyJack <scrumpyjack@st.ilet.to>
-pkgname=py-sensehat
-_pkgname=python-sense-hat
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="Python module to control the Raspberry Pi Sense HAT"
-url="https://www.raspberrypi.org/products/sense-hat/"
-arch="armhf armv7"
-license="BSD-3-Clause"
-depends=""
-# Package doesn't provide tests
-options="!check"
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="$_pkgname-$pkgver.tar.gz::https://github.com/RPi-Distro/${_pkgname}/archive/v${pkgver}.tar.gz"
-builddir=${srcdir}/${_pkgname}-${pkgver}
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-#check() {
-# cd "$builddir"
-# python2 setup.py test
-# python3 setup.py test
-#}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_py3() {
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$depends $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="71914f6f22206cff23992a6908698978741a46bf9b98648388bac4550f39e8de73db6bd389b79585eba6e82160649a8c8da4217d515bbdbcb50d47218415f3ac python-sense-hat-2.2.0.tar.gz"