Commit 1448e1a7 authored by Francesco Colista's avatar Francesco Colista
Browse files

community/py-rpigpio: remove useless comments and depends

parent 47adb451
...@@ -3,7 +3,7 @@ ...@@ -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() { ...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment