1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Convert ports of graphics/ to new USES=python

Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-10-21 16:36:12 +00:00
parent f7a05e2b63
commit 734b61f327
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371326
61 changed files with 97 additions and 153 deletions

View File

@ -20,9 +20,8 @@ LICENSE= GPLv3
RUN_DEPENDS= box:${PORTSDIR}/graphics/box
USE_GNOME= pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
USE_LDCONFIG= yes
PLIST_FILES= share/pixmaps/${PORTNAME}.png

View File

@ -25,11 +25,10 @@ OPTIONS_DEFINE= OYRANOS PRINT
OYRANOS_DESC= ICC profile support via Oyranos
PRINT_DESC= Gutenprint (gimp-print) plugin
USES= desktop-file-utils gettext gmake libtool pkgconfig
USES= desktop-file-utils gettext gmake libtool pkgconfig python
USE_XORG= xmu
USE_GNOME= gtk20
USE_GHOSTSCRIPT_RUN=yes
USE_PYTHON= yes
USE_AUTOTOOLS= libtoolize aclocal automake autoconf
ACLOCAL_ARGS= -I aclocal
AUTOMAKE_ARGS= --copy --force-missing --foreign --add-missing

View File

@ -20,9 +20,8 @@ RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \
${PYTHON_PKGNAMEPREFIX}mechanize>=0.2:${PORTSDIR}/www/py-mechanize \
exiv2:${PORTSDIR}/graphics/exiv2
USES= perl5
USES= perl5 python
USE_PERL5= run
USE_PYTHON= yes
NO_BUILD= yes
PLIST_FILES= bin/commons-csv-creator bin/commons-upload

View File

@ -10,9 +10,8 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Static Image Gallery Generator for web or CD-ROM galleries
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= PIL
PIL_DESC= Use Python Imaging Library instead of ImageMagick

View File

@ -13,9 +13,8 @@ COMMENT= General drawing canvas from dia dialog editor
LICENSE= GPLv2
USES= gmake pathfix pkgconfig libtool
USES= gmake libtool pathfix pkgconfig python
USE_GNOME= pygnome2
USE_PYTHON= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes

View File

@ -15,10 +15,9 @@ COMMENT= Configuration program for DRI drivers
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2
USE_GL= glut
USE_PYTHON= yes
USE_PYTHON= distutils
NO_BUILD= yes
USES= gettext
USE_PYDISTUTILS= yes
USES= gettext python
PYDISTUTILS_EGGINFODIR= ${STAGEDIR}${PREFIX}/lib/driconf
pre-patch:

View File

@ -11,10 +11,9 @@ COMMENT= Application to view PDF files
LICENSE= GPLv2
USES= pkgconfig desktop-file-utils
USES= pkgconfig desktop-file-utils python:2
USE_BZIP2= yes
USE_GNOME= gtk20 glib20 intltool intlhack
USE_PYTHON= 2
CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX}

View File

@ -19,9 +19,8 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= qmake
USES= python qmake
USE_QT4= corelib gui xml moc_build
USE_PYTHON= yes
QMAKE_ARGS+= VERSION_NUMBER="${PORTVERSION}"
QMAKE_SOURCE_PATH= ${WRKSRC}/main.pro
MAKE_JOBS_UNSAFE= yes

View File

@ -28,8 +28,7 @@ CFLAGS+= -fPIC
#hack to get custom exactcode configure script to enable tiff support with
#broken headers on c++ in base system:
CPPFLAGS+= -fpermissive -I${LOCALBASE}/include/libpng15
USES= gmake perl5 pkgconfig tar:bzip2
USE_PYTHON= yes
USES= gmake perl5 pkgconfig python tar:bzip2
USE_XORG= x11
USE_EFL= evas
USE_EFL_EVAS_ENGINES= x11 opengl

View File

@ -12,7 +12,7 @@ COMMENT= Converts GIF images to a PNG format
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
USE_PYTHON_RUN= yes
USES= python:run
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} bin/web2png \

View File

@ -22,8 +22,7 @@ LICENSE_DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gimp-2.0.pc:${PORTSDIR}/graphics/gimp-app \
${LOCALBASE}/libexec/gimp/2.2/python/gimpfu.py:${PORTSDIR}/graphics/py-gimp
USES= zip
USE_PYTHON_RUN= yes
USES= python:run zip
NO_BUILD= yes
NO_WRKSUBDIR= yes

View File

@ -15,11 +15,9 @@ LICENSE= BSD3CLAUSE
LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \
libpng15.so:${PORTSDIR}/graphics/png
USES= desktop-file-utils pathfix pkgconfig shared-mime-info
USES= desktop-file-utils pathfix pkgconfig python shared-mime-info
USE_GNOME= gnomeprefix intlhack libgnomeui pygtk2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USE_PYTHON= distutils autoplist
USE_GCC= yes
CFLAGS+= -I${LOCALBASE}/include

View File

@ -19,11 +19,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opengl>0:${PORTSDIR}/graphics/py-opengl \
WRKSRC= ${WRKDIR}/${DISTNAME:S,-src,,}
USES= pkgconfig scons
USES= pkgconfig python:2 scons
USE_GNOME= pygtk2
USE_GL= glu
USE_XORG= x11
USE_PYTHON= 2
USE_LDCONFIG= ${PREFIX}/lib/gSculpt
DATADIR= ${PREFIX}/share/gSculpt

View File

@ -26,14 +26,13 @@ RUN_DEPENDS= enblend>=3.1.r20080615:${PORTSDIR}/graphics/enblend \
exiftool:${PORTSDIR}/graphics/p5-Image-ExifTool \
gmake:${PORTSDIR}/devel/gmake
USE_PYTHON= yes
OPTIONS_DEFINE= PANOMATIC AUTOPANOSIFTC
OPTIONS_DEFAULT= PANOMATIC AUTOPANOSIFTC
PANOMATIC_DESC= Install graphics/panomatic
AUTOPANOSIFTC_DESC= Install graphics/autopano-sift-c
USES= cmake gettext pkgconfig tar:bzip2 desktop-file-utils shared-mime-info
USES= cmake gettext pkgconfig tar:bzip2 desktop-file-utils python \
shared-mime-info
CMAKE_ARGS= -DwxWidgets_CONFIG_EXECUTABLE=${WX_CONFIG}

View File

@ -34,7 +34,7 @@ PNG_CFLAGS= -I${LOCALBASE}/include/libpng15
.if ${PORT_OPTIONS:MTESTS}
MASTER_SITES+= http://jbig2dec.sourceforge.net/ubc/:tests
DISTFILES+= jb2streams.zip:tests
USE_PYTHON_BUILD=yes
USES+= python:build
KNOWN_BAD_JB2S= 042_11 042_13 042_14 042_24 042_25 amb_1 amb_2
post-extract:

View File

@ -13,8 +13,7 @@ COMMENT= Simple 3D editor
LIB_DEPENDS= lib3ds-1.so:${PORTSDIR}/graphics/lib3ds \
libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext
USE_PYTHON= yes
USES= gmake pkgconfig
USES= gmake pkgconfig python
USE_GL= gl
USE_GNOME= gtk20
GNU_CONFIGURE= yes

View File

@ -17,7 +17,7 @@ LIB_DEPENDS= liblcms.so:${PORTSDIR}/graphics/lcms
BUILD_WRKSRC= ${WRKSRC}/python
INSTALL_WRKSRC= ${WRKSRC}/python
USE_PYTHON= 2
USES= python:2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-python
CONFIGURE_ENV= PYTHON="${PYTHON_CMD}"

View File

@ -15,8 +15,7 @@ BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libfreeimage.so:${PORTSDIR}/graphics/freeimage
USE_GCC= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -21,9 +21,8 @@ LIB_DEPENDS= libproj.so:${PORTSDIR}/graphics/proj \
BUILD_DEPENDS= ${LOCALBASE}/bin/freetype-config:${PORTSDIR}/print/freetype2 \
${PYTHON_PKGNAMEPREFIX}icu>=0.8.1:${PORTSDIR}/devel/py-icu
USES= pkgconfig scons tar:bzip2
USES= pkgconfig python scons tar:bzip2
USE_GNOME= libxml2
USE_PYTHON= yes
USE_LDCONFIG= yes
WARNING_CXXFLAGS?= -w

View File

@ -23,10 +23,9 @@ RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}lxml>0:${PORTSDIR}/devel/py-lxml \
gtkspell3>0:${PORTSDIR}/textproc/gtkspell3 \
${BUILD_DEPENDS}
USES= desktop-file-utils gettext gmake pkgconfig tar:xz
USES= desktop-file-utils gettext gmake pkgconfig python tar:xz
USE_GNOME= gnomedocutils gnomehier gtk30 librsvg2 pygobject3
USE_GHOSTSCRIPT=yes
USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-silent-rules
CPPFLAGS+= -I${LOCALBASE}/include

View File

@ -40,7 +40,7 @@ CMAKE_ARGS+= -DOCIO_USE_SSE:BOOL=OFF
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= libtinyxml.so:${PORTSDIR}/textproc/tinyxml \
libyaml-cpp03.so:${PORTSDIR}/devel/yaml-cpp03
USE_PYTHON= yes
USES+= python
USE_LDCONFIG= yes
CMAKE_ARGS+= -DOCIO_BUILD_APPS:BOOL=OFF \
-DOCIO_BUILD_SHARED:BOOL=ON \

View File

@ -10,8 +10,7 @@ MASTER_SITES= http://www.mollux.org/projects/pecomato/download/sources/ \
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line picture metadata processor
USES= gmake
USE_PYTHON_BUILD= yes
USES= gmake python:build
MAKEFILE= Makefile.unix

View File

@ -11,9 +11,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical Drawing library for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
PORTDOCS= *

View File

@ -16,9 +16,8 @@ LICENSE= BSD2CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME}

View File

@ -11,8 +11,7 @@ COMMENT= Networking shapes for blockdiag designed by Cisco
RUN_DEPENDS= ${PKGNAMEPREFIX}blockdiag>=0.8.0:${PORTSDIR}/graphics/py-blockdiag
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python:2
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -13,8 +13,7 @@ DISTNAME= py2${PORTNAME}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python 2 bindings for Cairo
USE_PYTHON= 2
USES= pkgconfig shebangfix tar:bzip2
USES= pkgconfig python:2 shebangfix tar:bzip2
USE_GNOME= cairo
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -15,8 +15,7 @@ LICENSE= BSD
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django>=0:${PORTSDIR}/www/py-django
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -13,8 +13,8 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Create and display a Tkinter dialog box for editing any Python object
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USES+= python
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= EditObj
WRKSRC= ${WRKDIR}/EditObj-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-editobj

View File

@ -12,7 +12,7 @@ DISTNAME= pyexif-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python library to extract EXIF metadata from JPEG and TIFF image files
USE_PYTHON= yes
USES= python
WRKSRC= ${WRKDIR}/pyexif
DATADIR= ${PREFIX}/share/py-exif
DOCSDIR= ${PREFIX}/share/doc/py-exif

View File

@ -15,8 +15,7 @@ COMMENT= Python bindings for exiv2
LIB_DEPENDS= libexiv2.so:${PORTSDIR}/graphics/exiv2\
libboost_python.so:${PORTSDIR}/devel/boost-python-libs
USES= scons tar:bzip2
USE_PYTHON= 2
USES= python:2 scons tar:bzip2
USE_LDCONFIG= yes
CXXFLAGS+= -I${LOCALBASE}/include
MAKE_ARGS+= prefix=${PREFIX} use_env=1

View File

@ -14,9 +14,7 @@ COMMENT= FreeImage library python wrapper
LIB_DEPENDS= libfreeimage.so:${PORTSDIR}/graphics/freeimage
WRKSRC= ${WRKDIR}/FreeImagePy-${PORTVERSION}
USES= tar:bzip2
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
USES= python tar:bzip2
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -14,11 +14,9 @@ COMMENT= Python interface to the GD library
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist pythonprefix
PYSETUP= Setup.py
USE_PYTHON_PREFIX= yes
post-patch:
@${REINPLACE_CMD} -e \

View File

@ -13,7 +13,7 @@ COMMENT= GIMP python plugin
GIMP_SLAVE= pygimp
USE_PYTHON= yes
USES= python
USE_GNOME= pygtk2
CONFIGURE_ARGS= --enable-python

View File

@ -18,9 +18,9 @@ COMMENT= Advanced OpenGL extensions to Python
BUILD_DEPENDS= pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex
USES= python
USE_GL= glew
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_PYTHON= distutils
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -18,11 +18,10 @@ LIB_DEPENDS= libgoocanvas.so:${PORTSDIR}/graphics/goocanvas
PLIST_FILES= %%PYTHON_SITELIBDIR%%/goocanvasmodule.so \
libdata/pkgconfig/pygoocanvas.pc
USE_PYTHON= yes
USE_GNOME= pygtk2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-docs
USES= gmake libtool pathfix pkgconfig tar:bzip2
USES= gmake libtool pathfix pkgconfig python tar:bzip2
INSTALL_TARGET= install-strip
post-patch:

View File

@ -13,8 +13,7 @@ MAINTAINER= demon@FreeBSD.org
COMMENT= Library for working with graphs in Python, core module
PROJECTHOST= python-graph
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -16,9 +16,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydot>=0:${PORTSDIR}/graphics/py-pydot \
${PYTHON_PKGNAMEPREFIX}graph-core>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-core
PROJECTHOST= python-graph
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
# post-stage and add-plist-post should not act as reference on how to fix
# egg-based conflicts.

View File

@ -15,8 +15,7 @@ COMMENT= Library for working with graphs in Python
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}graph-core>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-core \
${PYTHON_PKGNAMEPREFIX}graph-dot>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-dot
USE_PYTHON= yes
USES= python
NO_BUILD= yes
do-install:

View File

@ -16,8 +16,8 @@ COMMENT= Python interface to GraphViz agraph
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USES= python
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= pygraphviz
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}

View File

@ -12,10 +12,9 @@ COMMENT= Easy python interface to generate dot files
LICENSE= GPLv2
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
GH_ACCOUNT= stricaud
GH_TAGNAME= ${GH_COMMIT}
GH_COMMIT= 777ab06

View File

@ -15,12 +15,11 @@ COMMENT= Python module for ILM's OpenEXR image format and library
LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR
USES= python
USE_PYTHON= distutils autoplist
MASTER_SITE_SUBDIR=source/O/OpenEXR
post-extract:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/setup.py
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
MASTER_SITE_SUBDIR=source/O/OpenEXR
.include <bsd.port.mk>

View File

@ -15,9 +15,8 @@ COMMENT= Simple and flexible painting adaptor to libart for Python
LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png \
libttf.so:${PORTSDIR}/print/freetype
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
USE_GNOME= libartlgpl2
NO_WRKSUBDIR= yes
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libart-2.0 \

View File

@ -14,8 +14,7 @@ COMMENT= Python PNG encoder/decoder
PROJECTHOST= pypng
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -21,9 +21,7 @@ LIB_DEPENDS= libpoppler-qt4.so:${PORTSDIR}/graphics/poppler-qt4
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-gui \
${PYTHON_PKGNAMEPREFIX}qt4-xml>=0:${PORTSDIR}/textproc/py-qt4-xml
USES= pkgconfig
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= pkgconfig python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -16,9 +16,8 @@ COMMENT= Python bindings for the Poppler PDF rendering library
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
USE_PYTHON= yes
GNU_CONFIGURE= yes
USES= gmake libtool pkgconfig
USES= gmake libtool pkgconfig python
USE_GNOME= atk pygtk2
.include <bsd.port.mk>

View File

@ -12,9 +12,8 @@ COMMENT= Library for making charts with Python
LICENSE= LGPL3
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
OPTIONS_DEFINE= CAIRO
OPTIONS_DEFAULT= CAIRO

View File

@ -16,8 +16,7 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyparsing.py:${PORTSDIR}/devel/py-parsing \
dot:${PORTSDIR}/graphics/graphviz
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -15,8 +15,7 @@ LICENSE= LGPL3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.3.4:${PORTSDIR}/devel/py-lxml
# Python3 ready
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -12,9 +12,8 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Complete Python wrapper for the Google Chart API
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
PORTEXAMPLES= *
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}

View File

@ -11,9 +11,8 @@ MAINTAINER= fmysh@iijmio-mail.jp
COMMENT= Pyrex wrapper to provide python interfaces to PROJ.4
WRKSRC= ${WRKDIR}/${DISTNAME:C/[a-z]$//}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
PORTDOCS= Changelog README LICENSE_proj4
PORTEXAMPLES= datum_shift.py geodtest.py sample.out \

View File

@ -17,8 +17,8 @@ LIB_DEPENDS= libsane.so:${PORTSDIR}/graphics/sane-backends
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USES= python
USE_PYTHON= distutils
WRKSRC= ${WRKDIR}/${DISTNAME}/Sane

View File

@ -12,9 +12,8 @@ COMMENT= Library working with the sRGB color space as used in the HTML and CSS
LICENSE= BSD3CLAUSE
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
PORTDOCS= README

View File

@ -13,8 +13,7 @@ DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Python 3 bindings for Cairo
USE_PYTHON= 3
USES= pkgconfig shebangfix tar:bzip2
USES= pkgconfig python:3 shebangfix tar:bzip2
USE_GNOME= cairo
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

View File

@ -14,8 +14,7 @@ BUILD_DEPENDS= ${PYNUMPY}
RUN_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libgts.so:${PORTSDIR}/graphics/gts
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USES= pkgconfig
USE_PYTHON= distutils
USES= pkgconfig python
.include <bsd.port.mk>

View File

@ -14,8 +14,7 @@ LICENSE= BSD
RUN_DEPENDS+= ${PYNUMPY}
USE_PYTHON= 2
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python:2
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View File

@ -28,8 +28,7 @@ GH_ACCOUNT= qgis
GH_COMMIT= 00ab94f
GH_TAGNAME= ${GH_COMMIT}
USES= bison cmake gmake
USE_PYTHON= yes
USES= bison cmake gmake python
USE_SQLITE= yes
USE_QT4= gui svg xml network sql designer testlib linguist_build \
qmake_build moc_build rcc_build uic_build

View File

@ -22,11 +22,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}alpha
USES= tk desktop-file-utils
USES= tk desktop-file-utils python
USE_XORG= x11 xext
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USE_PYTHON= distutils autoplist
PYDISTUTILS_EGGINFO= ${PORTNAME}-${PORTVERSION:R}alpha-py${PYTHON_VER}.egg-info
CFLAGS+= -I${TK_INCLUDEDIR} -I${LOCALBASE}/include \

View File

@ -14,9 +14,8 @@ COMMENT= Draw mathematical figures in SVG using Python
WRKSRC= ${WRKDIR}/${PORTNAME:tl}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} -e 's|1.1.2|${PORTVERSION}|' ${WRKSRC}/setup.py

View File

@ -15,9 +15,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup \
LICENSE= BSD
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python
USE_PYTHON= distutils autoplist
FILES_ETC= TileCache/Service.py setup.py tilecache_install_config.py

View File

@ -18,10 +18,9 @@ LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USES= desktop-file-utils gettext gmake libtool pathfix pkgconfig \
shared-mime-info tar:bzip2
python shared-mime-info tar:bzip2
USE_GNOME= gnomeprefix intlhack libgnomeui
USE_GL= gl
USE_PYTHON= yes
GNU_CONFIGURE= yes
CPPFLAGS+= $$(pkg-config --cflags gtkglext-1.0) \

View File

@ -50,8 +50,7 @@ CMAKE_ARGS+= -DWITH_OPENEXR=0
# Should ignore Python3 since commit f51b0b5
#CONFLICTS_BUILD= python3*
CMAKE_ARGS+= -DWITH_VIGRANUMPY=1
USES+= compiler:gcc-c++11-lib
USE_PYTHON= 2
USES+= compiler:gcc-c++11-lib python:2
BUILD_DEPENDS+= nosetests:${PORTSDIR}/devel/py-nose
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy
#BUILD_DEPENDS+= sphinx-build:${PORTSDIR}/textproc/py-sphinx