mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
use USE_PYDISTUTILS
This commit is contained in:
parent
3815d264a3
commit
be17dde214
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58314
@ -14,17 +14,11 @@ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/beta/g}
|
||||
MAINTAINER= perky@fallin.lv
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,${LOCALBASE}/,,g}
|
||||
DISTUTIL_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 's,/usr/bin/env python2,${PYTHON_CMD},' \
|
||||
${WRKSRC}/scripts/decompyle
|
||||
|
||||
do-build:
|
||||
${DISTUTIL_CMD} build
|
||||
|
||||
do-install:
|
||||
${DISTUTIL_CMD} install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,14 +16,7 @@ DISTNAME= HappyDoc_r${PORTVERSION:S/./_/g}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S/_r/-r/}
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,17 +16,14 @@ MAINTAINER= sobomax@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PREFIX}/lib/${PYTHON_VERSION}/site-packages/idlelib/idle.pyc\n" \
|
||||
pre-install:
|
||||
@printf "#!/bin/sh\nexec ${PYTHON_CMD} ${PYTHON_SITELIBDIR}/idlelib/idle.pyc\n" \
|
||||
> ${WRKSRC}/idle
|
||||
${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/[^c]*.txt ${DOCSDIR}
|
||||
.endif
|
||||
|
@ -16,13 +16,6 @@ DISTNAME= ANSIStyle-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,14 +18,9 @@ MAINTAINER= ports@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
post-install:
|
||||
@${MV} -f ${PREFIX}/bin/ciphon.py ${PREFIX}/bin/ciphon
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,13 +17,7 @@ DISTNAME= PyCXX-V${PORTVERSION:S/r/-rc/}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
|
@ -16,13 +16,6 @@ DISTNAME= FileUtils-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,8 +13,7 @@ DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS} \
|
||||
${PYNUMERIC}
|
||||
BUILD_DEPENDS= ${PYNUMERIC}
|
||||
LIB_DEPENDS= SDL_ttf.3:${PORTSDIR}/graphics/sdl_ttf \
|
||||
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
|
||||
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
|
||||
@ -24,7 +23,7 @@ RUN_DEPENDS= ${PYNUMERIC}
|
||||
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
|
||||
|
||||
USE_PYTHON= yes
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD}
|
||||
USE_PYDISTUTILS= yes
|
||||
MAKE_ENV= SDL_CONFIG="${SDL_CONFIG}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
@ -38,12 +37,8 @@ PYNUMERIC= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric17
|
||||
do-configure:
|
||||
@${SETUP_CMD} config.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} setup.py build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} setup.py install
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${PREFIX}/share/examples/py-game
|
||||
${TAR} -C ${WRKSRC}/examples -cf - . | \
|
||||
${TAR} --unlink -C ${PREFIX}/share/examples/py-game -xf -
|
||||
|
@ -14,10 +14,8 @@ DISTNAME= Grouch-${PORTVERSION}
|
||||
|
||||
MAINTAINER= wjv@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
|
||||
USE_PYTHON= yes
|
||||
PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -25,15 +23,9 @@ PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/compiler/__init__.py:${PORTSDIR}/lang/py-compiler
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@ cd ${WRKSRC} && ${PYTHON_SETUP} build
|
||||
|
||||
pre-install:
|
||||
@ ${SH} ${PKGREQ} INSTALL
|
||||
|
||||
do-install:
|
||||
@ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 --prefix=${PREFIX}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${DOCSDIR}
|
||||
|
@ -16,15 +16,10 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
.endif
|
||||
|
@ -16,21 +16,13 @@ DISTNAME= egenix-${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS} \
|
||||
${PREFIX}/include/gmp.h:${PORTSDIR}/math/libgmp4
|
||||
BUILD_DEPENDS= ${PREFIX}/include/gmp.h:${PORTSDIR}/math/libgmp4
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/BeeBase/BeeBase.py:${PORTSDIR}/lang/py-mx-base
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|LIBGMPH|${PREFIX}/include|" ${WRKSRC}/mxEXPERIMENTAL.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -14,16 +14,7 @@ DISTNAME= ${PORTNAME:S/-//}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= adsharma@sharmas.dhs.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,17 +16,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Optik-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@geeksrus.net
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
@ -17,14 +17,7 @@ DISTNAME= Pyro-${PORTVERSION}
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
|
@ -15,13 +15,12 @@ DISTNAME= Twisted-${PORTVERSION}
|
||||
|
||||
MAINTAINER= wjv@FreeBSD.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/unittest.py:${PORTSDIR}/devel/py-unit \
|
||||
${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_PYTHON= yes
|
||||
PYTHON_SETUP= ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
USE_PYDISTUTILS= yes
|
||||
CPIO= cpio --quiet -pdum -R
|
||||
MAN1= coil.1 im.1 manhole.1 mktap.1 t-im.1 twistd.1
|
||||
|
||||
@ -29,20 +28,13 @@ post-patch:
|
||||
@ ${PERL} -pi -e 's/from pyunit import/import/g' \
|
||||
${WRKSRC}/admin/runtests ${WRKSRC}/twisted/test/*.py
|
||||
|
||||
do-build:
|
||||
@ cd ${WRKSRC} && ${PYTHON_SETUP} build
|
||||
|
||||
do-install:
|
||||
@ cd ${WRKSRC} && ${PYTHON_SETUP} install -c -O1 \
|
||||
--prefix=${PREFIX}
|
||||
post-install:
|
||||
@ ${MKDIR} ${DATADIR}/admin
|
||||
@ ${INSTALL_SCRIPT} ${WRKSRC}/admin/accepttests \
|
||||
${WRKSRC}/admin/runtests ${DATADIR}/admin
|
||||
.for manpage in ${MAN1}
|
||||
@ ${INSTALL_MAN} ${WRKSRC}/doc/man/${manpage} ${MANPREFIX}/man/man1
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${DOCSDIR}/api
|
||||
@ cd ${WRKSRC}/doc/api && find * \
|
||||
|
@ -15,18 +15,9 @@ DISTNAME= pyunit-${PORTVERSION}
|
||||
|
||||
MAINTAINER= shell@shellhung.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} \
|
||||
${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,15 +17,10 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Vmaps.html ${DOCSDIR}
|
||||
.endif
|
||||
|
@ -14,17 +14,12 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= sobomax@FreeBSD.org
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
DOCS= CHANGELOG COPYRIGHT KNOWN_BUGS MAINTAINERS README TODO \
|
||||
VERSION
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
|
@ -14,13 +14,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
MAINTAINER= perky@fallin.lv
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
${SETUP_CMD} install -c -O1 --prefix ${PREFIX}
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -16,14 +16,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter
|
||||
|
||||
USE_PYTHON= yes
|
||||
|
||||
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user