parent
aaf5688e17
commit
6950080a2f
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-picamera'
|
||||
pkgname=python-picamera
|
||||
version=1.12
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="picamera-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="picamera"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="A pure Python2 interface for the Raspberry Pi camera module"
|
||||
maintainer="cipr3s <cipr3s@gmx.com>"
|
||||
license="3-clause-BSD"
|
||||
homepage="https://github.com/waveform80/picamera"
|
||||
distfiles="${PYPI_SITE}/p/picamera/picamera-${version}.tar.gz"
|
||||
checksum="c1d28e578385eac49bdb5f53bdb83c1075c400231593aa7fa246cdb04c67ad00"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
python3-picamera_package() {
|
||||
noarch=yes
|
||||
depends="python3"
|
||||
pycompile_module="picamera"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
python-picamera
|
Loading…
Reference in New Issue