python-picamera: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 20:56:36 +07:00
parent 242ca2a706
commit c5383047dc
3 changed files with 21 additions and 35 deletions

View file

@ -1,34 +0,0 @@
# Template file for 'python-picamera'
pkgname=python-picamera
version=1.13
revision=2
archs=noarch
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=890815aa01e4d855a6a95dd3ad0953b872a6b954982106407df0c5a31a163e50
# Skip hardware check
export READTHEDOCS=True
post_install() {
vlicense LICENSE.txt
}
python3-picamera_package() {
archs=noarch
depends="python3"
pycompile_module="picamera"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

View file

@ -1 +0,0 @@
python-picamera

View file

@ -0,0 +1,21 @@
# Template file for 'python3-picamera'
pkgname=python3-picamera
version=1.13
revision=3
wrksrc="picamera-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Pure Python3 interface for the Raspberry Pi camera module"
maintainer="cipr3s <cipr3s@gmx.com>"
license="BSD-3-Clause"
homepage="https://github.com/waveform80/picamera"
distfiles="${PYPI_SITE}/p/picamera/picamera-${version}.tar.gz"
checksum=890815aa01e4d855a6a95dd3ad0953b872a6b954982106407df0c5a31a163e50
# Skip hardware check
export READTHEDOCS=True
post_install() {
vlicense LICENSE.txt
}