python-imagesize: drop package
This commit is contained in:
parent
ab1c22bb24
commit
b4c5ab7dae
3 changed files with 18 additions and 32 deletions
|
@ -1,31 +0,0 @@
|
|||
# Template file for 'python-imagesize'
|
||||
pkgname=python-imagesize
|
||||
version=1.1.0
|
||||
revision=2
|
||||
archs=noarch
|
||||
wrksrc="imagesize-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="imagesize.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
short_desc="Python2 library to get image size from png/jpeg/jpeg2000/gif file"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/shibukawa/imagesize_py"
|
||||
license="MIT"
|
||||
distfiles="${PYPI_SITE}/i/imagesize/imagesize-${version}.tar.gz"
|
||||
checksum=f3832918bc3c66617f92e35f5d70729187676313caa60c187eb0f28b8fe5e3b5
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
|
||||
python3-imagesize_package() {
|
||||
archs=noarch
|
||||
depends="python3"
|
||||
pycompile_module="imagesize.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-imagesize
|
18
srcpkgs/python3-imagesize/template
Normal file
18
srcpkgs/python3-imagesize/template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'python3-imagesize'
|
||||
pkgname=python3-imagesize
|
||||
version=1.1.0
|
||||
revision=3
|
||||
wrksrc="imagesize-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
short_desc="Python3 library to get image size from png/jpeg/jpeg2000/gif file"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/shibukawa/imagesize_py"
|
||||
distfiles="${PYPI_SITE}/i/imagesize/imagesize-${version}.tar.gz"
|
||||
checksum=f3832918bc3c66617f92e35f5d70729187676313caa60c187eb0f28b8fe5e3b5
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.rst
|
||||
}
|
Loading…
Reference in a new issue