mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
parent
aaf5688e17
commit
6950080a2f
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-picamera/template
Normal file
31
srcpkgs/python-picamera/template
Normal file
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-picamera
Symbolic link
1
srcpkgs/python3-picamera
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-picamera
|
Loading…
Add table
Reference in a new issue