1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- 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)
This commit is contained in:
Ruslan Makhmatkhanov 2014-02-12 12:43:32 +00:00
parent 65a0080c94
commit 7952f750f5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343916
4 changed files with 14 additions and 70 deletions

View File

@ -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>

View File

@ -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

View File

@ -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/

View File

@ -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%%