aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-12-29 14:30:24 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-12-29 14:30:29 +0000
commit1448e1a728884391d19c331e2d36c55a1d278a0e (patch)
treea6038752c8f56fdd0390243edfc3b001f6b4d53a
parent47adb451ff00e04c2af438f8dc46997c8b274049 (diff)
downloadaports-1448e1a728884391d19c331e2d36c55a1d278a0e.tar.gz
aports-1448e1a728884391d19c331e2d36c55a1d278a0e.tar.bz2
aports-1448e1a728884391d19c331e2d36c55a1d278a0e.tar.xz
community/py-rpigpio: remove useless comments and depends
-rw-r--r--community/py-rpigpio/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/community/py-rpigpio/APKBUILD b/community/py-rpigpio/APKBUILD
index cfac0a1235..a50e864f93 100644
--- a/community/py-rpigpio/APKBUILD
+++ b/community/py-rpigpio/APKBUILD
@@ -3,7 +3,7 @@
pkgname=py-rpigpio
_pkgname=RPi.GPIO
pkgver=0.6.3
-pkgrel=0
+pkgrel=1
pkgdesc="This package provides a class to control the GPIO on a Raspberry Pi."
url="https://pypi.python.org/pypi/RPi.GPIO"
arch="armhf"
@@ -31,19 +31,17 @@ package() {
_py2() {
replaces="$pkgname"
- depends="${depends//py-/py2-}"
_py python2
}
_py3() {
- depends="${depends//py-/py3-}"
_py python3
}
_py() {
local python="$1"
pkgdesc="$pkgdesc (for $python)"
- depends="$depends $python" ## remove if arch isn't noarch
+ depends="$depends $python"
install_if="$pkgname=$pkgver-r$pkgrel $python"
cd "$builddir"