diff --git a/srcpkgs/python-picamera/template b/srcpkgs/python-picamera/template deleted file mode 100644 index e3c9a17bfd..0000000000 --- a/srcpkgs/python-picamera/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-picamera b/srcpkgs/python3-picamera deleted file mode 120000 index baaaa4fdc8..0000000000 --- a/srcpkgs/python3-picamera +++ /dev/null @@ -1 +0,0 @@ -python-picamera \ No newline at end of file diff --git a/srcpkgs/python3-picamera/template b/srcpkgs/python3-picamera/template new file mode 100644 index 0000000000..07bb4e7bb4 --- /dev/null +++ b/srcpkgs/python3-picamera/template @@ -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 " +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 +}