1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- strict python version to 2.x only

- convert to using PYTHON_PKGNAMEPREFIX in dependency entry
This commit is contained in:
Ruslan Makhmatkhanov 2012-05-13 20:11:10 +00:00
parent 1ff9d3deac
commit f51aca5402
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296558
5 changed files with 8 additions and 8 deletions

View File

@ -14,9 +14,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}webware-
MAINTAINER= ports@FreeBSD.org
COMMENT= Webware servlet component extension
RUN_DEPENDS= ${LOCALBASE}/share/webware/__init__.py:${PORTSDIR}/www/py-webware
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webware>0:${PORTSDIR}/www/py-webware
USE_PYTHON= yes
USE_PYTHON= -2.7
do-build:
@${ECHO_MSG} -n ">> Compiling ..."

View File

@ -15,9 +15,9 @@ DISTNAME= Webware-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A versatile web application server written in Python
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/DateTime:${PORTSDIR}/lang/py-mx-base
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mx-base>0:${PORTSDIR}/lang/py-mx-base
USE_PYTHON= yes
USE_PYTHON= -2.7
NO_BUILD= yes
WEBWARE_USER?= webkit

View File

@ -10,4 +10,4 @@ patterns and includes popular features such as:
- User manager with authentication
- CGI wrapper
WWW: http://webware.sourceforge.net/
WWW: http://webware.sourceforge.net/

View File

@ -16,7 +16,7 @@ DISTNAME= session2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A quixote session manager with persistence support
USE_PYTHON= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= 0.6
@ -30,7 +30,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
.endif
.if defined(WITH_POSTGRESQL)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg>0:${PORTSDIR}/databases/py-psycopg
.endif
post-install:

View File

@ -2,4 +2,4 @@ The session2 package provides simple session handling for Quixote 2.0,
together with persistence mechanisms that can store sessions in a
variety of backends, including MySQL and PostgreSQL databases.
WWW: http://quixote.idyll.org/session2/
WWW: http://quixote.idyll.org/session2/