diff options
author | rm <rm@FreeBSD.org> | 2014-10-18 18:18:44 +0800 |
---|---|---|
committer | rm <rm@FreeBSD.org> | 2014-10-18 18:18:44 +0800 |
commit | f47505e579d7aeb77c5741e00fc796bc8eedc169 (patch) | |
tree | d77722071829436c6a99a64e17a86d3ef7f61406 /www/py-apachelog | |
parent | 6d606d078bde292fc7c4693ad03639b35170c691 (diff) | |
download | freebsd-ports-gnome-f47505e579d7aeb77c5741e00fc796bc8eedc169.tar.gz freebsd-ports-gnome-f47505e579d7aeb77c5741e00fc796bc8eedc169.tar.zst freebsd-ports-gnome-f47505e579d7aeb77c5741e00fc796bc8eedc169.zip |
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)
Diffstat (limited to 'www/py-apachelog')
-rw-r--r-- | www/py-apachelog/Makefile | 5 | ||||
-rw-r--r-- | www/py-apachelog/pkg-descr | 2 |
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/ |