Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 07:32:17 +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: r374444 - in head/www: py-flask-admin py-flask-cache py-flask-flatpages
Message-ID:  <201412100732.sBA7WHOX008300@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Dec 10 07:32:17 2014
New Revision: 374444
URL: https://svnweb.freebsd.org/changeset/ports/374444
QAT: https://qat.redports.org/buildarchive/r374444/

Log:
  - convert flask ports to USES=python
  - limit python version to 2 for www/py-flask-flatpages because of:
  
  ===>  Configuring for py34-Flask-FlatPages-0.5_1
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "setup.py", line 10, in <module>
      INIT_PY = open(os.path.join(ROOT, 'flask_flatpages', '__init__.py')).read()
    File "/usr/local/lib/python3.4/encodings/ascii.py", line 26, in decode
      return codecs.ascii_decode(input, self.errors)[0]
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 164: ordinal not in range(128)
  *** Error code 1
  
  Approved by:    portmgr (blanket)

Modified:
  head/www/py-flask-admin/Makefile
  head/www/py-flask-cache/Makefile
  head/www/py-flask-flatpages/Makefile

Modified: head/www/py-flask-admin/Makefile
==============================================================================
--- head/www/py-flask-admin/Makefile	Wed Dec 10 07:19:28 2014	(r374443)
+++ head/www/py-flask-admin/Makefile	Wed Dec 10 07:32:17 2014	(r374444)
@@ -13,8 +13,7 @@ LICENSE=	MIT
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0.10:${PORTSDIR}/www/py-flask
 
-USE_PYTHON=	2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:2
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>

Modified: head/www/py-flask-cache/Makefile
==============================================================================
--- head/www/py-flask-cache/Makefile	Wed Dec 10 07:19:28 2014	(r374443)
+++ head/www/py-flask-cache/Makefile	Wed Dec 10 07:32:17 2014	(r374444)
@@ -15,8 +15,7 @@ LICENSE=	BSD3CLAUSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0.8:${PORTSDIR}/www/py-flask
 
-USE_PYTHON=		2
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:2
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>

Modified: head/www/py-flask-flatpages/Makefile
==============================================================================
--- head/www/py-flask-flatpages/Makefile	Wed Dec 10 07:19:28 2014	(r374443)
+++ head/www/py-flask-flatpages/Makefile	Wed Dec 10 07:32:17 2014	(r374444)
@@ -15,8 +15,7 @@ LICENSE=	BSD3CLAUSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0:${PORTSDIR}/www/py-flask
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python:2
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>



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