www/py-blogofile: convert to USES=python

- convert to USES=python
- limit python version to 2.x: depends on beautifulsoup32
  that doesn't work with python3 + useing constructions, not
  compatible with 3.x

Approved by:	portmgr (blanket)
This commit is contained in:
Ruslan Makhmatkhanov 2014-10-18 11:36:10 +00:00
parent e5d21a11c8
commit 3771689024
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371113

View File

@ -5,8 +5,7 @@ PORTNAME= blogofile
PORTVERSION= 0.7.1
PORTREVISION= 3
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/B/Blogofile
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lwhsu@FreeBSD.org
@ -24,8 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mako>0:${PORTSDIR}/textproc/py-mako \
${PYTHON_PKGNAMEPREFIX}pygments>0:${PORTSDIR}/textproc/py-pygments \
${PYTHON_PKGNAMEPREFIX}docutils>0:${PORTSDIR}/textproc/py-docutils
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
USES= python:2
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>