svn commit: r390061 - head/www/web2ldap

Ruslan Makhmatkhanov rm at FreeBSD.org
Thu Jun 18 20:02:32 UTC 2015


Author: rm
Date: Thu Jun 18 20:02:32 2015
New Revision: 390061
URL: https://svnweb.freebsd.org/changeset/ports/390061

Log:
  www/web2ldap: chase py-ldap rename
  
  - chase py-ldap rename
  - compile to bytecode another way to get optimised files too. This is what
  was done by upstream maintainer in version 1.2.32

Modified:
  head/www/web2ldap/Makefile

Modified: head/www/web2ldap/Makefile
==============================================================================
--- head/www/web2ldap/Makefile	Thu Jun 18 19:56:52 2015	(r390060)
+++ head/www/web2ldap/Makefile	Thu Jun 18 20:02:32 2015	(r390061)
@@ -3,7 +3,7 @@
 
 PORTNAME=	web2ldap
 PORTVERSION=	1.2.19
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://www.web2ldap.de/download/ \
 		http://www.sfr-fresh.com/unix/www/ \
@@ -14,7 +14,7 @@ COMMENT=	Python-based WWW gateway to LDA
 
 LICENSE=	GPLv2
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ldap2>=2.4.0:${PORTSDIR}/net/py-ldap2 \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ldap>=2.4.0:${PORTSDIR}/net/py-ldap \
 		${PYTHON_SITELIBDIR}/pyweblib/__init__.py:${PORTSDIR}/www/pyweblib \
 		${PYTHON_PKGNAMEPREFIX}ipaddr>0:${PORTSDIR}/devel/py-ipaddr \
 		${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
@@ -35,7 +35,8 @@ post-patch:
 	@${FIND} ${WRKSRC} -name '*.orig' -delete -o -name '*.bak' -delete
 
 do-build:
-	@(cd ${WRKSRC} && ${PYTHON_CMD} ./sbin/compile.py)
+	${PYTHON_CMD} -m compileall ${WRKSRC}
+	${PYTHON_CMD} -O -m compileall ${WRKSRC}
 
 do-install:
 	@${ECHO_MSG} "==> Installing program files..."


More information about the svn-ports-all mailing list