svn commit: r371109 - head/www/py-apachelog

Ruslan Makhmatkhanov rm at FreeBSD.org
Sat Oct 18 10:18:45 UTC 2014


Author: rm
Date: Sat Oct 18 10:18:44 2014
New Revision: 371109
URL: https://svnweb.freebsd.org/changeset/ports/371109
QAT: https://qat.redports.org/buildarchive/r371109/

Log:
  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)

Modified:
  head/www/py-apachelog/Makefile
  head/www/py-apachelog/pkg-descr

Modified: head/www/py-apachelog/Makefile
==============================================================================
--- head/www/py-apachelog/Makefile	Sat Oct 18 10:06:58 2014	(r371108)
+++ head/www/py-apachelog/Makefile	Sat Oct 18 10:18:44 2014	(r371109)
@@ -12,8 +12,7 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	miwi at 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>

Modified: head/www/py-apachelog/pkg-descr
==============================================================================
--- head/www/py-apachelog/pkg-descr	Sat Oct 18 10:06:58 2014	(r371108)
+++ head/www/py-apachelog/pkg-descr	Sat Oct 18 10:18:44 2014	(r371109)
@@ -4,4 +4,4 @@ g (should work for other servers conform
 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/


More information about the svn-ports-head mailing list