aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2014-02-12 20:43:32 +0800
committerrm <rm@FreeBSD.org>2014-02-12 20:43:32 +0800
commit6f8602e7c42b27e8c39cbaf639d7a3b982b74454 (patch)
tree292bdc573f4cd04a4ba86bd7776a7a7e7767ee37
parentdae9831b0ce3eba321cd03bd681d9a1419c2c8fa (diff)
downloadfreebsd-ports-gnome-6f8602e7c42b27e8c39cbaf639d7a3b982b74454.tar.gz
freebsd-ports-gnome-6f8602e7c42b27e8c39cbaf639d7a3b982b74454.tar.zst
freebsd-ports-gnome-6f8602e7c42b27e8c39cbaf639d7a3b982b74454.zip
- update to 1.3
- change mastersites to PYPI (it hold more fresh version - 1.3) - switch to using PYDISTUTILS_AUTOPLIST, so remove no more needed PYDISTUTILS_PKGNAME and PYDISTUTILS_EGGINFO - use DOS2UNIX to clean up cfgparse code - support stage, by install port docs unconditionally to stage area - remove PLIST_SUB that wasn't used anywhere in pkg-plist - whitespace fix in pkg-descr PR: 185564 Submitted by: rm (myself) Approved by: John Ferrell <jdferrell3@gmail.com> (maintainer)
-rw-r--r--devel/py-cfgparse/Makefile26
-rw-r--r--devel/py-cfgparse/distinfo4
-rw-r--r--devel/py-cfgparse/pkg-descr2
-rw-r--r--devel/py-cfgparse/pkg-plist52
4 files changed, 14 insertions, 70 deletions
diff --git a/devel/py-cfgparse/Makefile b/devel/py-cfgparse/Makefile
index fd625540ba2c..bc67af1e8ee0 100644
--- a/devel/py-cfgparse/Makefile
+++ b/devel/py-cfgparse/Makefile
@@ -2,30 +2,26 @@
# $FreeBSD$
PORTNAME= cfgparse
-PORTVERSION= 1.2
-PORTREVISION= 1
+PORTVERSION= 1.3
CATEGORIES= devel python
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v01_02
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= cfgparse-v01_02
MAINTAINER= jdferrell3@yahoo.com
COMMENT= Python module for parsing configuration files
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME= cfgparse
-PYDISTUTILS_EGGINFO= ${PYDISTUTILS_PKGNAME:C/[^A-Za-z0-9.]+/_/g}-v01_02-${PYTHON_VERSION:S/thon//}.egg-info
+USES= dos2unix
+DOS2UNIX_FILES= cfgparse.py
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+USE_ZIP= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+PORTDOCS= *
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/docs/cfgparse/* ${DOCSDIR}
-.endif
-
-PLIST_SUB= PYTHONVER=${PYTHON_VERSION:S/python//}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/devel/py-cfgparse/distinfo b/devel/py-cfgparse/distinfo
index a73641eff116..5c74cb835747 100644
--- a/devel/py-cfgparse/distinfo
+++ b/devel/py-cfgparse/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cfgparse-v01_02.tar.gz) = 59189e3886be58f344c2b85956ff97089aaa546f7a342bd26144ed94c991a61c
-SIZE (cfgparse-v01_02.tar.gz) = 128803
+SHA256 (cfgparse-1.3.zip) = adc830323e4d9872af1a81364dd18e958b5550c3cc2d1f05929ec2634147f2f9
+SIZE (cfgparse-1.3.zip) = 98401
diff --git a/devel/py-cfgparse/pkg-descr b/devel/py-cfgparse/pkg-descr
index 1a7ce9fc3bcc..89110f58485e 100644
--- a/devel/py-cfgparse/pkg-descr
+++ b/devel/py-cfgparse/pkg-descr
@@ -1,3 +1,3 @@
-cfgparse is Python module for parsing configuration files.
+cfgparse is Python module for parsing configuration files.
WWW: http://cfgparse.sourceforge.net/
diff --git a/devel/py-cfgparse/pkg-plist b/devel/py-cfgparse/pkg-plist
deleted file mode 100644
index 03d3509a9e1b..000000000000
--- a/devel/py-cfgparse/pkg-plist
+++ /dev/null
@@ -1,52 +0,0 @@
-%%PYTHON_SITELIBDIR%%/cfgparse.py
-%%PYTHON_SITELIBDIR%%/cfgparse.pyc
-%%PYTHON_SITELIBDIR%%/cfgparse.pyo
-%%PORTDOCS%%%%DOCSDIR%%/about.html
-%%PORTDOCS%%%%DOCSDIR%%/blank.png
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-adding-files.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-adding-options.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-cmd-line-coop.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-coop-files.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-coop-help.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-coop-keys.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-coop-option.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-create-parser.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-default-keys.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-env-keys.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-groups.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-help-notes.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-keys.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-option-check.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-option-help.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-option-name.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-option-type.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-parsing.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-printing-help.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-python.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-round-trip-set-option.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-round-trip-set.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-round-trip-write.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-section-keys.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-sections.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse-text-sub.html
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse.css
-%%PORTDOCS%%%%DOCSDIR%%/cfgparse.html
-%%PORTDOCS%%%%DOCSDIR%%/contents.png
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/index.png
-%%PORTDOCS%%%%DOCSDIR%%/modules.png
-%%PORTDOCS%%%%DOCSDIR%%/next.png
-%%PORTDOCS%%%%DOCSDIR%%/node1.html
-%%PORTDOCS%%%%DOCSDIR%%/node10.html
-%%PORTDOCS%%%%DOCSDIR%%/node18.html
-%%PORTDOCS%%%%DOCSDIR%%/node2.html
-%%PORTDOCS%%%%DOCSDIR%%/node22.html
-%%PORTDOCS%%%%DOCSDIR%%/node23.html
-%%PORTDOCS%%%%DOCSDIR%%/node24.html
-%%PORTDOCS%%%%DOCSDIR%%/node28.html
-%%PORTDOCS%%%%DOCSDIR%%/node33.html
-%%PORTDOCS%%%%DOCSDIR%%/node36.html
-%%PORTDOCS%%%%DOCSDIR%%/previous.png
-%%PORTDOCS%%%%DOCSDIR%%/pyfav.png
-%%PORTDOCS%%%%DOCSDIR%%/up.png
-%%PORTDOCS%%@dirrm %%DOCSDIR%%