Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Oct 2014 10:18:45 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371109 - head/www/py-apachelog
Message-ID:  <201410181018.s9IAIj6p052477@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410181018.s9IAIj6p052477>