mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
graphics/py-pyggel: switch from py-imaging to py-pillow
- USES python With hat: python Approved by: portmgr (bdrewery, implicit)
This commit is contained in:
parent
062e11b164
commit
c2c0afc656
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370367
@ -4,7 +4,7 @@
|
||||
PORTNAME= pyggel
|
||||
PORTVERSION= 0.08
|
||||
DISTVERSIONSUFFIX= -alpha4c
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
DISTNAME= ${PORTNAME:tu}-V${DISTVERSION}${DISTVERSIONSUFFIX}
|
||||
@ -23,14 +23,12 @@ LICENSE_PERMS_Public_Domain=dist-mirror dist-sell pkg-mirror pkg-sell auto-accep
|
||||
RUN_DEPENDS= ${PYNUMPY} \
|
||||
${PYGAME} \
|
||||
${PYTHON_PKGNAMEPREFIX}opengl>=0:${PORTSDIR}/graphics/py-opengl \
|
||||
${PYTHON_PKGNAMEPREFIX}imaging>=0:${PORTSDIR}/graphics/py-imaging
|
||||
${PYTHON_PKGNAMEPREFIX}pillow>=0:${PORTSDIR}/graphics/py-pillow
|
||||
|
||||
USES= dos2unix zip
|
||||
USES= dos2unix python:2 zip
|
||||
DOS2UNIX_GLOB= *.mtl *.py *.txt
|
||||
USE_PYTHON= 2
|
||||
USE_PYTHON= autoplist distutils
|
||||
NO_BUILD= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
PORTDOCS= Readme.txt
|
||||
PORTEXAMPLES= *
|
||||
|
11
graphics/py-pyggel/files/patch-pyggel__include.py
Normal file
11
graphics/py-pyggel/files/patch-pyggel__include.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- pyggel/include.py.orig 2014-10-07 16:52:11 UTC
|
||||
+++ pyggel/include.py
|
||||
@@ -27,7 +27,7 @@
|
||||
ANI_AVAILABLE = False
|
||||
|
||||
try:
|
||||
- import Image as PIL
|
||||
+ from PIL import Image as PIL
|
||||
PIL_AVAILABLE = True
|
||||
except:
|
||||
PIL_AVAILABLE = False
|
Loading…
Reference in New Issue
Block a user