Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 12:43:33 +0000 (UTC)
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343916 - head/devel/py-cfgparse
Message-ID:  <201402121243.s1CChXS0085820@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Wed Feb 12 12:43:32 2014
New Revision: 343916
URL: http://svnweb.freebsd.org/changeset/ports/343916
QAT: https://qat.redports.org/buildarchive/r343916/

Log:
  - 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)

Deleted:
  head/devel/py-cfgparse/pkg-plist
Modified:
  head/devel/py-cfgparse/Makefile
  head/devel/py-cfgparse/distinfo
  head/devel/py-cfgparse/pkg-descr

Modified: head/devel/py-cfgparse/Makefile
==============================================================================
--- head/devel/py-cfgparse/Makefile	Wed Feb 12 12:42:54 2014	(r343915)
+++ head/devel/py-cfgparse/Makefile	Wed Feb 12 12:43:32 2014	(r343916)
@@ -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>

Modified: head/devel/py-cfgparse/distinfo
==============================================================================
--- head/devel/py-cfgparse/distinfo	Wed Feb 12 12:42:54 2014	(r343915)
+++ head/devel/py-cfgparse/distinfo	Wed Feb 12 12:43:32 2014	(r343916)
@@ -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

Modified: head/devel/py-cfgparse/pkg-descr
==============================================================================
--- head/devel/py-cfgparse/pkg-descr	Wed Feb 12 12:42:54 2014	(r343915)
+++ head/devel/py-cfgparse/pkg-descr	Wed Feb 12 12:43:32 2014	(r343916)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402121243.s1CChXS0085820>