Date: Sun, 15 Apr 2018 12:58:49 +0000 (UTC) From: "Danilo G. Baio" <dbaio@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r467389 - head/devel/py-cfgparse Message-ID: <201804151258.w3FCwnUc067902@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbaio Date: Sun Apr 15 12:58:49 2018 New Revision: 467389 URL: https://svnweb.freebsd.org/changeset/ports/467389 Log: devel/py-cfgparse: Use only Python 2.7 This port doesn't work with Python 3. While here: Add LICENSE. Switch to options helper (DOCS). Set architecture neutral (qa warning) Approved by: portmgr (blanket) Modified: head/devel/py-cfgparse/Makefile Modified: head/devel/py-cfgparse/Makefile ============================================================================== --- head/devel/py-cfgparse/Makefile Sun Apr 15 12:56:41 2018 (r467388) +++ head/devel/py-cfgparse/Makefile Sun Apr 15 12:58:49 2018 (r467389) @@ -3,6 +3,7 @@ PORTNAME= cfgparse PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,14 +11,19 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jdferrell3@yahoo.com COMMENT= Python module for parsing configuration files -USES= dos2unix python zip +LICENSE= MIT + +USES= dos2unix python:2.7 zip DOS2UNIX_FILES= cfgparse.py -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils +NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOCS= * -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804151258.w3FCwnUc067902>