svn commit: r467389 - head/devel/py-cfgparse
Danilo G. Baio
dbaio at FreeBSD.org
Sun Apr 15 12:58:50 UTC 2018
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 at 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}
More information about the svn-ports-all
mailing list