mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
use USE_PYDISTUTILS
This commit is contained in:
parent
795697e909
commit
91cb80d943
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58331
@ -17,18 +17,12 @@ MAINTAINER= perky@fallin.lv
|
||||
LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \
|
||||
s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,13 +19,6 @@ MAINTAINER= ports@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
|
||||
|
||||
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,13 +16,6 @@ DISTNAME= IPy-${PORTVERSION}
|
||||
MAINTAINER= drt@un.bewaff.net
|
||||
|
||||
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>
|
||||
|
@ -19,14 +19,7 @@ BUILD_DEPENDS= ${PYXML}
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
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
|
||||
|
||||
post-install:
|
||||
@${MV} ${PREFIX}/bin/fngrab.py ${PREFIX}/bin/fngrab
|
||||
|
@ -17,18 +17,12 @@ MAINTAINER= perky@fallin.lv
|
||||
LIB_DEPENDS= adns.1:${PORTSDIR}/net/adns
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e 's|^(include_dirs = ).*$$|\1\["${LOCALBASE}/include"\]|g; \
|
||||
s|^(library_dirs = ).*$$|\1\["${LOCALBASE}/lib"\]|g' \
|
||||
${WRKSRC}/setup.py
|
||||
|
||||
do-build:
|
||||
@${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -19,14 +19,7 @@ BUILD_DEPENDS= ${PYXML}
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
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
|
||||
|
||||
post-install:
|
||||
@${MV} ${PREFIX}/bin/fngrab.py ${PREFIX}/bin/fngrab
|
||||
|
@ -16,13 +16,6 @@ DISTNAME= IPy-${PORTVERSION}
|
||||
MAINTAINER= drt@un.bewaff.net
|
||||
|
||||
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>
|
||||
|
@ -19,13 +19,6 @@ MAINTAINER= ports@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat
|
||||
|
||||
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>
|
||||
|
@ -15,10 +15,9 @@ DISTNAME= Python-LDAP-${PORTVERSION}
|
||||
MAINTAINER= dinoex@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= ldap.2:${PORTSDIR}/net/openldap2
|
||||
BUILD_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
RUN_DEPENDS= python:${PORTSDIR}/lang/python
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME:S=-src==}
|
||||
|
||||
#class = OpenLDAP2
|
||||
@ -33,10 +32,4 @@ do-configure:
|
||||
${WRKSRC}/setup.cfg
|
||||
@${PERL5} -pi -e "s=lber ldap resolv=lber ldap=" ${WRKSRC}/setup.cfg
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} setup.py build
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${PYTHON_CMD} setup.py install
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -14,19 +14,15 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
MAINTAINER= perky@fallin.lv
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
DOCFILES= CHANGES.txt INSTALL.txt LICENSE.txt README.txt TODO.txt
|
||||
EXAMPLEDIRS= demo test thread
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-medusa
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-medusa
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
|
||||
do-build:
|
||||
${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}/docs
|
||||
@cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}/docs
|
||||
|
@ -19,6 +19,6 @@ MAINTAINER= perky@fallin.lv
|
||||
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,18 +15,12 @@ DISTNAME= py-${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= perky@fallin.lv
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
|
||||
USE_PYTHON= yes
|
||||
SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
|
||||
USE_PYDISTUTILS= yes
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-xmlrpc
|
||||
|
||||
do-build:
|
||||
${SETUP_CMD} build
|
||||
|
||||
do-install:
|
||||
${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${TAR} -C ${WRKSRC}/examples -cf- . | ${TAR} -C ${EXAMPLESDIR} -xpf-
|
||||
.endif
|
||||
|
@ -18,19 +18,12 @@ MAINTAINER= wjv@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYXML}
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
|
||||
|
||||
do-build:
|
||||
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
|
||||
setup.py build
|
||||
|
||||
pre-install:
|
||||
@ ${SH} ${PKGREQ} INSTALL
|
||||
|
||||
do-install:
|
||||
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
|
||||
setup.py install -c -O1 --prefix=${PREFIX}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${DOCSDIR}
|
||||
|
@ -18,19 +18,12 @@ MAINTAINER= wjv@FreeBSD.org
|
||||
RUN_DEPENDS= ${PYXML}
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME:U}-${PORTVERSION}
|
||||
|
||||
do-build:
|
||||
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
|
||||
setup.py build
|
||||
|
||||
pre-install:
|
||||
@ ${SH} ${PKGREQ} INSTALL
|
||||
|
||||
do-install:
|
||||
@ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
|
||||
setup.py install -c -O1 --prefix=${PREFIX}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${DOCSDIR}
|
||||
|
@ -16,8 +16,7 @@ DISTNAME= fonttools-${PORTVERSION}
|
||||
|
||||
MAINTAINER= jkoshy@freebsd.org
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS} \
|
||||
xmlproc_val:${PORTSDIR}/textproc/py-xml \
|
||||
BUILD_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
|
||||
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
|
||||
RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
|
||||
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
|
||||
@ -25,14 +24,11 @@ RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
|
||||
WRKSRC= ${WRKDIR}/fonttools
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
DOCDIR= ${PREFIX}/share/doc/py-fonttools
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttDump.py ${PREFIX}/bin/
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/ttCompile.py ${PREFIX}/bin/
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -15,10 +15,10 @@ EXTRACT_SUFX= .tgz
|
||||
|
||||
MAINTAINER= perky@fallin.lv
|
||||
|
||||
BUILD_DEPENDS= ${PYDISTUTILS}
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_imaging.so:${PORTSDIR}/graphics/py-imaging
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
WRKSRC= ${WRKDIR}/reportlab
|
||||
CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
|
||||
ALL_TARGET= sharedmods
|
||||
@ -31,14 +31,7 @@ EXAMPLEDIR= ${PREFIX}/share/examples/reportlab
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/lib/setup.py ${WRKDIR}
|
||||
|
||||
do-build:
|
||||
@(cd ${WRKDIR}; \
|
||||
${PYTHON_CMD} setup.py build)
|
||||
|
||||
do-install:
|
||||
@(cd ${WRKDIR}; \
|
||||
${PYTHON_CMD} setup.py install -c -O1 --prefix="${PREFIX}")
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${REPORTLABDIR}/fonts
|
||||
.for fontfile in LeERC___.AFM LeERC___.PFB
|
||||
(cd ${WRKDIR}/reportlab/fonts; \
|
||||
|
@ -19,15 +19,8 @@ BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkin
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
USE_MESA= yes
|
||||
PLIST_SUB= PYTHON_SITELIBDIR=lib/${PYTHON_VERSION}/site-packages
|
||||
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user