mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/py-rpigpio: remove useless comments and depends
This commit is contained in:
parent
47adb451ff
commit
1448e1a728
@ -3,7 +3,7 @@
|
|||||||
pkgname=py-rpigpio
|
pkgname=py-rpigpio
|
||||||
_pkgname=RPi.GPIO
|
_pkgname=RPi.GPIO
|
||||||
pkgver=0.6.3
|
pkgver=0.6.3
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="This package provides a class to control the GPIO on a Raspberry Pi."
|
pkgdesc="This package provides a class to control the GPIO on a Raspberry Pi."
|
||||||
url="https://pypi.python.org/pypi/RPi.GPIO"
|
url="https://pypi.python.org/pypi/RPi.GPIO"
|
||||||
arch="armhf"
|
arch="armhf"
|
||||||
@ -31,19 +31,17 @@ package() {
|
|||||||
|
|
||||||
_py2() {
|
_py2() {
|
||||||
replaces="$pkgname"
|
replaces="$pkgname"
|
||||||
depends="${depends//py-/py2-}"
|
|
||||||
_py python2
|
_py python2
|
||||||
}
|
}
|
||||||
|
|
||||||
_py3() {
|
_py3() {
|
||||||
depends="${depends//py-/py3-}"
|
|
||||||
_py python3
|
_py python3
|
||||||
}
|
}
|
||||||
|
|
||||||
_py() {
|
_py() {
|
||||||
local python="$1"
|
local python="$1"
|
||||||
pkgdesc="$pkgdesc (for $python)"
|
pkgdesc="$pkgdesc (for $python)"
|
||||||
depends="$depends $python" ## remove if arch isn't noarch
|
depends="$depends $python"
|
||||||
install_if="$pkgname=$pkgver-r$pkgrel $python"
|
install_if="$pkgname=$pkgver-r$pkgrel $python"
|
||||||
|
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
|
Loading…
Reference in New Issue
Block a user