mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
create bsd12 branch
This commit is contained in:
44
python/py-pillow/Makefile
Normal file
44
python/py-pillow/Makefile
Normal file
@@ -0,0 +1,44 @@
|
||||
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
|
||||
# $FreeBSD: head/graphics/py-pillow/Makefile 455210 2017-11-30 15:50:30Z mat $
|
||||
|
||||
PORTNAME= pillow
|
||||
PORTVERSION= 3.4.2
|
||||
CATEGORIES= graphics python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= koobs@FreeBSD.org
|
||||
COMMENT= Fork of the Python Imaging Library (PIL)
|
||||
|
||||
|
||||
PYDISTUTILS_BUILDARGS+= --disable-jpeg2000
|
||||
PYDISTUTILS_BUILDARGS+= --disable-lcms
|
||||
PYDISTUTILS_BUILDARGS+= --disable-webp --disable-webpmux
|
||||
PYDISTUTILS_BUILDARGS+= --enable-zlib
|
||||
PYDISTUTILS_BUILDARGS+= --enable-freetype
|
||||
PYDISTUTILS_BUILDARGS+= --enable-jpeg
|
||||
PYDISTUTILS_BUILDARGS+= --enable-tiff
|
||||
|
||||
USES= python
|
||||
USE_GITHUB= yes
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
GH_ACCOUNT= python-${PORTNAME}
|
||||
GH_PROJECT= ${PORTNAME:C/p/P/}
|
||||
|
||||
CONFLICTS_INSTALL= py*-imaging-*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PYDISTUTILS_BUILD_TARGET= build build_ext
|
||||
PYDISTUTILS_BUILDARGS+= saveopts
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PIL/*.so
|
||||
|
||||
do-test:
|
||||
@cd ${WRKSRC} && \
|
||||
${PYTHON_CMD} ${PYSETUP} build_ext -i && \
|
||||
${PYTHON_CMD} selftest.py && \
|
||||
${PYTHON_CMD} -m nose -vx Tests/test_*.py
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-pillow/distinfo
Normal file
3
python/py-pillow/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1482579087
|
||||
SHA256 (python-pillow-Pillow-3.4.2_GH0.tar.gz) = 0ee762ab924e004b7e69643b44e82cf65e0fa1f16862e11bd821950dbbc5f3d3
|
||||
SIZE (python-pillow-Pillow-3.4.2_GH0.tar.gz) = 10746584
|
||||
5
python/py-pillow/pkg-descr
Normal file
5
python/py-pillow/pkg-descr
Normal file
@@ -0,0 +1,5 @@
|
||||
Pillow is the "friendly" PIL fork. PIL is the Python Imaging Library. Pillow
|
||||
was started for and is currently maintained by the Plone community. But it is
|
||||
used by many other folks in the Python web community.
|
||||
|
||||
WWW: https://python-pillow.github.io/
|
||||
Reference in New Issue
Block a user