python-Pillow: remove python3 subpackage
This commit is contained in:
parent
4369a3f689
commit
a03670fb18
@ -1,14 +1,14 @@
|
||||
# Template file for 'python-Pillow'
|
||||
pkgname=python-Pillow
|
||||
version=6.2.2
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="Pillow-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="PIL"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
makedepends="python-devel python3-devel libjpeg-turbo-devel libopenjpeg2-devel
|
||||
build_style=python2-module
|
||||
hostmakedepends="python-setuptools"
|
||||
makedepends="python-devel libjpeg-turbo-devel libopenjpeg2-devel
|
||||
tiff-devel freetype-devel lcms2-devel libwebp-devel libimagequant-devel"
|
||||
short_desc="Python Imaging Library (PIL) fork (Python2)"
|
||||
depends="python"
|
||||
short_desc="Python Imaging Library (PIL) fork for Python2"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
license="custom:PIL"
|
||||
homepage="https://python-pillow.org/"
|
||||
@ -19,12 +19,3 @@ checksum=db9ff0c251ed066d367f53b64827cc9e18ccea001b986d08c265e53625dab950
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-Pillow_package() {
|
||||
pycompile_module="PIL"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
1
srcpkgs/python-Pillow/update
Normal file
1
srcpkgs/python-Pillow/update
Normal file
@ -0,0 +1 @@
|
||||
pattern="Pillow-\K6\.[0-9.]+(?=.tar.gz)"
|
@ -1 +0,0 @@
|
||||
python-Pillow
|
Loading…
x
Reference in New Issue
Block a user