- Remove PYTHON_REL < 250, since USE_PYTHON 2.5+
This commit is contained in:
parent
25d2a59c4c
commit
a2ee9211ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269677
15 changed files with 4 additions and 78 deletions
|
@ -58,12 +58,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-ps
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SYBASE)
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Sybase.py:${PORTSDIR}/databases/py-sybase
|
||||
|
|
|
@ -58,12 +58,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.0.8:${PORTSDIR}/databases/py-ps
|
|||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SYBASE)
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Sybase.py:${PORTSDIR}/databases/py-sybase
|
||||
|
|
|
@ -53,11 +53,6 @@ RUN_DEPENDS+= eog:${PORTSDIR}/graphics/eog
|
|||
CONFIGURE_ARGS+= --enable-eog-plugin
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
|
||||
${WRKSRC}/data/Makefile.in
|
||||
|
|
|
@ -48,11 +48,6 @@ CONFIGURE_ARGS+=--disable-evolution
|
|||
PLIST_SUB+= EVO="@comment "
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
|
||||
s|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
|
|
|
@ -29,10 +29,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
.endif
|
||||
|
||||
# avoid warning with Python > 2.5
|
||||
.if ${PYTHON_REL} > 250
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_atom-mock_service.py \
|
||||
|
|
|
@ -35,11 +35,4 @@ post-install:
|
|||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
BUILD_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -85,11 +85,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytz>0:${PORTSDIR}/devel/py-pytz
|
|||
.if defined(WITH_PGSQL)
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopg2/__init__.py:${PORTSDIR}/databases/py-psycopg2
|
||||
.else
|
||||
. if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
. else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_SUBVERSION)
|
||||
|
|
|
@ -17,7 +17,8 @@ COMMENT= A web-interface based binary newsgrabber in python, with nzb support
|
|||
|
||||
RUN_DEPENDS= cheetah:${PORTSDIR}/devel/py-cheetah \
|
||||
${PYTHON_SITELIBDIR}/cherrypy/__init__.py:${PORTSDIR}/www/py-cherrypy \
|
||||
${PYTHON_SITELIBDIR}/pythonutils/configobj.py:${PORTSDIR}/devel/py-utils
|
||||
${PYTHON_SITELIBDIR}/pythonutils/configobj.py:${PORTSDIR}/devel/py-utils \
|
||||
${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
|
@ -42,16 +43,6 @@ OPTIONS= PAR2CMDLINE "Required for postprocessing of par files." on \
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_PAR2CMDLINE)
|
||||
RUN_DEPENDS+= par2repair:${PORTSDIR}/archivers/par2cmdline
|
||||
.endif
|
||||
|
|
|
@ -21,12 +21,4 @@ PYEASYINSTALL_ARCHDEP= yes
|
|||
|
||||
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/uuid.py:${PORTSDIR}/devel/py-uuid
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/fpconst.py:${PORTSDIR}/math/py-fpconst
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -60,12 +60,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MyS
|
|||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FASTCGI)
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
|
||||
|
|
|
@ -53,12 +53,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MyS
|
|||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FASTCGI)
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
|
||||
|
|
|
@ -55,12 +55,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MyS
|
|||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FASTCGI)
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
|
||||
|
|
|
@ -53,12 +53,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MyS
|
|||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FASTCGI)
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
|
||||
|
|
|
@ -53,12 +53,8 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MyS
|
|||
.endif
|
||||
|
||||
.if defined(WITH_SQLITE)
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
|
||||
.else
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FASTCGI)
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
|
||||
|
|
|
@ -38,10 +38,6 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}django-threaded-multihost>=0:${PORTSDIR}/ww
|
|||
${PYTHON_PKGNAMEPREFIX}django-app-plugins>=0:${PORTSDIR}/www/py-django-app-plugins \
|
||||
${PYTHON_PKGNAMEPREFIX}django-signals-ahoy>=0:${PORTSDIR}/www/py-django-signals-ahoy
|
||||
|
||||
.if ${PYTHON_REL} < 250
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DOCS)
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
|
||||
BUILD_DEPENDS+= rst2xml>0:${PORTSDIR}/textproc/py-docutils
|
||||
|
|
Loading…
Reference in a new issue