Bug 185564 - [patch] devel/py-cfgparse: update to 1.3
Summary: [patch] devel/py-cfgparse: update to 1.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-07 22:20 UTC by Ruslan Makhmatkhanov
Modified: 2014-02-12 12:50 UTC (History)
0 users

See Also:


Attachments
file.diff (4.26 KB, patch)
2014-01-07 22:20 UTC, Ruslan Makhmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2014-01-07 22:20:00 UTC
- 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

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-07 22:20:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-07 22:20:16 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2014-01-07 22:20:16 UTC
Maintainer of devel/py-cfgparse,

Please note that PR ports/185564 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185564

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 4 jdferrell3 2014-01-09 02:54:29 UTC
Looks good to me, although I have not had a chance to test it.


On Tue, Jan 7, 2014 at 5:20 PM, Edwin Groothuis <edwin@freebsd.org> wrote:

> Maintainer of devel/py-cfgparse,
>
> Please note that PR ports/185564 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/185564
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2014-02-02 12:18:29 UTC
State Changed
From-To: feedback->open

Maintainer has approved. Assign to submitter (is committer)
Comment 6 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2014-02-12 12:43:32 UTC
Responsible Changed
From-To: freebsd-python->rm

I will take it.
Comment 7 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2014-02-12 12:43:38 UTC
State Changed
From-To: open->closed

Committed, thank you!
Comment 8 dfilter service freebsd_committer freebsd_triage 2014-02-12 12:43:41 UTC
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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"