summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2014-10-18 10:18:44 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2014-10-18 10:18:44 +0000
commiteb93c4ceaf2a7d76f8cce0862f1b59a5de77dfa7 (patch)
treed77722071829436c6a99a64e17a86d3ef7f61406 /www
parentUnbreak (diff)
www/py-apachelog: convert to USES=python
- convert to USES=python - limit to python2: """ File "/usr/local/lib/python3.4/site-packages/apachelog.py", line 170 except Exception, e: ^ SyntaxError: invalid syntax """ Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=371109
Diffstat (limited to 'www')
-rw-r--r--www/py-apachelog/Makefile5
-rw-r--r--www/py-apachelog/pkg-descr2
2 files changed, 3 insertions, 4 deletions
diff --git a/www/py-apachelog/Makefile b/www/py-apachelog/Makefile
index 88ea7f559508..486f123fd364 100644
--- a/www/py-apachelog/Makefile
+++ b/www/py-apachelog/Makefile
@@ -12,8 +12,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= miwi@FreeBSD.org
COMMENT= Python access log parser
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_AUTOPLIST= yes
+USES= python:2
+USE_PYTHON= autoplist distutils
.include <bsd.port.mk>
diff --git a/www/py-apachelog/pkg-descr b/www/py-apachelog/pkg-descr
index 414a3a171e35..31e23efdfa62 100644
--- a/www/py-apachelog/pkg-descr
+++ b/www/py-apachelog/pkg-descr
@@ -4,4 +4,4 @@ g (should work for other servers conforming to the Common Log Format).
Create the parser with the log format from your server .conf file,
parse lines to get dict corresponding to fields defined in the log format.
-WWW: http://code.google.com/p/apachelog/
+WWW: http://code.google.com/p/apachelog/