Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2014 08:55:08 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364518 - in head: accessibility/py-papi audio/py-al devel/py-astroid devel/py-dynrules devel/py-game devel/py-logilab-common devel/py-ocempgui devel/py-ply devel/py-sdl2 devel/pychecke...
Message-ID:  <53e7336d.2c4d.2257f090@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Sun Aug 10 08:55:08 2014
New Revision: 364518
URL: http://svnweb.freebsd.org/changeset/ports/364518
QAT: https://qat.redports.org/buildarchive/r364518/

Log:
  - Convert my ports to USES=python

Modified:
  head/accessibility/py-papi/Makefile
  head/audio/py-al/Makefile
  head/devel/py-astroid/Makefile
  head/devel/py-dynrules/Makefile
  head/devel/py-game/Makefile
  head/devel/py-logilab-common/Makefile
  head/devel/py-ocempgui/Makefile
  head/devel/py-ply/Makefile
  head/devel/py-sdl2/Makefile
  head/devel/pychecker/Makefile
  head/devel/pylint/Makefile
  head/devel/pyrex/Makefile
  head/devel/winpdb/Makefile
  head/games/pysolfc/Makefile
  head/graphics/blender/Makefile
  head/graphics/py-PyX/Makefile
  head/graphics/py-PyX12/Makefile
  head/lang/micropython/Makefile

Modified: head/accessibility/py-papi/Makefile
==============================================================================
--- head/accessibility/py-papi/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/accessibility/py-papi/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -10,11 +10,9 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	mva@FreeBSD.org
 COMMENT=	ATK accessibility wrapper for python
 
-USES=		pkgconfig
+USES=		pkgconfig python:2
 USE_GNOME=	atk
-USE_PYTHON=	2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST=	yes
+PYTHON_FEATURES=autoplist distutils
 
 EXAMPLES=	atkaction.py atkapplication.py atkcapi.c atktext.py atkvalue.py \
 		msaaapplication.py msaacapi.cpp

Modified: head/audio/py-al/Makefile
==============================================================================
--- head/audio/py-al/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/audio/py-al/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -10,10 +10,7 @@ DISTNAME=	PyAL-${PORTVERSION}
 MAINTAINER=	mva@FreeBSD.org
 COMMENT=	PyAL is a binding of OpenAL for Python
 
-USES=		openal:al
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
-PYDISTUTILS_PKGNAME=	PyAL
+USES=		openal:al python
+PYTHON_FEATURES=autoplist distutils
 
 .include <bsd.port.mk>

Modified: head/devel/py-astroid/Makefile
==============================================================================
--- head/devel/py-astroid/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-astroid/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -15,10 +15,10 @@ LICENSE=	LGPL21
 
 RUN_DEPENDS=	pytest:${PORTSDIR}/devel/py-logilab-common
 
-WRKSRC=			${WRKDIR}/logilab-astroid-e003574ae51b
-MAKE_ENV=		NO_SETUPTOOLS=1
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
+USES=		python
+WRKSRC=		${WRKDIR}/logilab-astroid-e003574ae51b
+MAKE_ENV=	NO_SETUPTOOLS=1
+PYTHON_FEATURES=distutils
 
 .include <bsd.port.pre.mk>
 

Modified: head/devel/py-dynrules/Makefile
==============================================================================
--- head/devel/py-dynrules/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-dynrules/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -12,9 +12,8 @@ COMMENT=	Dynamic Scripting for adaptive 
 
 LICENSE=	ZLIB
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+PYTHON_FEATURES=autoplist distutils
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/devel/py-game/Makefile
==============================================================================
--- head/devel/py-game/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-game/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -17,11 +17,10 @@ LICENSE=	LGPL21
 LIB_DEPENDS=	libsmpeg.so:${PORTSDIR}/multimedia/smpeg
 RUN_DEPENDS=	${PYNUMPY}
 
+USES=		python
 USE_SDL=	ttf image mixer sdl
 USE_GCC=	any
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST=	yes
+PYTHON_FEATURES=autoplist distutils
 
 SDLNOX11=	sdl-nox11-[0-9]*
 

Modified: head/devel/py-logilab-common/Makefile
==============================================================================
--- head/devel/py-logilab-common/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-logilab-common/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -13,8 +13,8 @@ COMMENT=	Common low-level libraries shar
 
 LICENSE=	LGPL20
 
+USES=		python
 MAKE_ENV=	NO_SETUPTOOLS=1
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
+PYTHON_FEATURES=distutils
 
 .include <bsd.port.mk>

Modified: head/devel/py-ocempgui/Makefile
==============================================================================
--- head/devel/py-ocempgui/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-ocempgui/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -17,9 +17,9 @@ LICENSE=	BSD2CLAUSE
 BUILD_DEPENDS=	${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game
 RUN_DEPENDS=	${LOCALBASE}/include/${PYTHON_VERSION}/pygame/pygame.h:${PORTSDIR}/devel/py-game
 
+USES=		python:2
 USE_GNOME=	atk
-USE_PYTHON=	2
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST=	yes
+
+PYTHON_FEATURES=	autoplist distutils
 
 .include <bsd.port.mk>

Modified: head/devel/py-ply/Makefile
==============================================================================
--- head/devel/py-ply/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-ply/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -12,9 +12,8 @@ COMMENT=	Python Lex-Yacc
 
 LICENSE=	BSD3CLAUSE
 
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+PYTHON_FEATURES=autoplist distutils
 
 PORTDOCS=	ply.html internal.html README
 

Modified: head/devel/py-sdl2/Makefile
==============================================================================
--- head/devel/py-sdl2/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/py-sdl2/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -12,10 +12,9 @@ COMMENT=	Python bindings to the SDL2 lib
 
 LICENSE=	ZLIB
 
+USES=			python
 USE_SDL=		sdl2 gfx2 image2 ttf2 mixer2
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+PYTHON_FEATURES=	autoplist distutils
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/devel/pychecker/Makefile
==============================================================================
--- head/devel/pychecker/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/pychecker/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -11,9 +11,8 @@ COMMENT=	Python source code checking too
 
 LICENSE=	BSD3CLAUSE
 
-USE_PYTHON=		2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+PYTHON_FEATURES=autoplist distutils
 
 DOCS=		ChangeLog COPYRIGHT KNOWN_BUGS MAINTAINERS README TODO VERSION
 

Modified: head/devel/pylint/Makefile
==============================================================================
--- head/devel/pylint/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/pylint/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -15,8 +15,8 @@ LICENSE=	LGPL21
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=1.1.0:${PORTSDIR}/devel/py-astroid
 
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
+USES=		python
+PYTHON_FEATURES=distutils
 
 OPTIONS_DEFINE=	GUI
 

Modified: head/devel/pyrex/Makefile
==============================================================================
--- head/devel/pyrex/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/pyrex/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -13,9 +13,8 @@ COMMENT=	Programming Language for writin
 
 LICENSE=	APACHE20
 
-USE_PYTHON=		2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:2
+PYTHON_FEATURES=autoplist distutils
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/Manual

Modified: head/devel/winpdb/Makefile
==============================================================================
--- head/devel/winpdb/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/devel/winpdb/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -15,9 +15,8 @@ LICENSE=	GPLv2
 
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
 
-USE_PYTHON=		yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+PYTHON_FEATURES=autoplist distutils
 USE_WX=		3.0+
 WX_COMPS=	python
 

Modified: head/games/pysolfc/Makefile
==============================================================================
--- head/games/pysolfc/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/games/pysolfc/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -17,10 +17,8 @@ LICENSE=	GPLv3
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:${PORTSDIR}/x11-toolkits/py-tkinter \
 		${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
 
-USES=	tar:bzip2
-USE_PYTHON=	yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python tar:bzip2
+PYTHON_FEATURES=autoplist distutils
 
 PLIST_FILES=	share/pixmaps/pysolfc.png
 DATADIR=	${PREFIX}/share/PySolFC

Modified: head/graphics/blender/Makefile
==============================================================================
--- head/graphics/blender/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/graphics/blender/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -19,8 +19,7 @@ LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/grap
 
 USE_XORG=	x11 xext xmu
 USE_GL=		glew
-USES=		cmake:outsource compiler:features shebangfix
-USE_PYTHON=	3.4
+USES=		cmake:outsource compiler:features python:3.4 shebangfix
 CMAKE_ARGS+=	-DWITH_PYTHON_INSTALL:BOOL=OFF \
 		-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF
 

Modified: head/graphics/py-PyX/Makefile
==============================================================================
--- head/graphics/py-PyX/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/graphics/py-PyX/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -12,11 +12,11 @@ COMMENT=	Python package for creating enc
 
 LICENSE=	GPLv2
 
-USE_PYTHON=		3
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:3
 USE_TEX=	latex:build
 
+PYTHON_FEATURES=	autoplist distutils
+
 OPTIONS_DEFINE=		T1CODE KPATHSEA
 OPTIONS_DEFAULT=	T1CODE KPATHSEA
 T1CODE_DESC=		Fast t1 font encoding/decoding

Modified: head/graphics/py-PyX12/Makefile
==============================================================================
--- head/graphics/py-PyX12/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/graphics/py-PyX12/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -13,11 +13,11 @@ COMMENT=	Python package for creating enc
 
 LICENSE=	GPLv2
 
-USE_PYTHON=		2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:2
 USE_TEX=	latex:build
 
+PYTHON_FEATURES=	autoplist distutils
+
 OPTIONS_DEFINE=		T1CODE KPATHSEA
 OPTIONS_DEFAULT=	T1CODE KPATHSEA
 T1CODE_DESC=		Fast t1 font encoding/decoding

Modified: head/lang/micropython/Makefile
==============================================================================
--- head/lang/micropython/Makefile	Sun Aug 10 08:48:41 2014	(r364517)
+++ head/lang/micropython/Makefile	Sun Aug 10 08:55:08 2014	(r364518)
@@ -11,8 +11,7 @@ LICENSE=	MIT
 
 LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
 
-USE_PYTHON_BUILD=	yes
-USES=			gmake shebangfix pkgconfig readline
+USES=			gmake pkgconfig python:build readline shebangfix
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	micropython



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e7336d.2c4d.2257f090>