From b263eb7f70f3d5c6c9dc787371ddcc99719006ad Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Fri, 29 Nov 2013 07:22:49 +0000 Subject: [PATCH] devel/py-argparse: Update to 1.2.1 - Update to 1.2.1 - Enable STAGE support - Enable AUTOPLIST, remove PLIST_FILES accordingly - Upstream uses setuptools, update USE_PYDISTUTILS accordingly - Remove USE_ZIP, distribution files is now tar.gz - QA: Add LICENSE (PSFL) - QA: Remove indefinite article from COMMENT - QA: Whitespace alignment - QA: Tab->space for WWW: in pkg-descr Changes: argparse 1.2.1: - fixed Issue #82: argparse 1.2 incompatible with Python 3.1 - hacked the tests so they don't have the minor failures that were caused by the compatibility stuff for python 2.3 and 3.1 argparse 1.2: - fixed Issue #79: re-licensed argparse package under same license as py 2.7 stdlib argparse code - fixed Issue #80: argparse 1.2 is now same archive on pypi / on google code Approved by: lwhsu (maintainer) --- devel/py-argparse/Makefile | 16 ++++++---------- devel/py-argparse/distinfo | 4 ++-- devel/py-argparse/pkg-descr | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/devel/py-argparse/Makefile b/devel/py-argparse/Makefile index 9fdeea001b4e..c6a05354ca26 100644 --- a/devel/py-argparse/Makefile +++ b/devel/py-argparse/Makefile @@ -2,22 +2,18 @@ # $FreeBSD$ PORTNAME= argparse -PORTVERSION= 1.1 +PORTVERSION= 1.2.1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org -COMMENT= An optparse-inspired command-line parsing library +COMMENT= Optparse-inspired command-line parsing library -USE_ZIP= yes +LICENSE= PSFL -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_AUTOPLIST= yes -PLIST_FILES= %%PYTHON_SITELIBDIR%%/argparse.py \ - %%PYTHON_SITELIBDIR%%/argparse.pyc \ - %%PYTHON_SITELIBDIR%%/argparse.pyo - -NO_STAGE= yes .include diff --git a/devel/py-argparse/distinfo b/devel/py-argparse/distinfo index 45669c58b319..fb2b472150b8 100644 --- a/devel/py-argparse/distinfo +++ b/devel/py-argparse/distinfo @@ -1,2 +1,2 @@ -SHA256 (argparse-1.1.zip) = 9b1615ad6ccf568c690e7c68a9f2ccf9cd54d3c4c1e0cd8cdd0ebbde682949a2 -SIZE (argparse-1.1.zip) = 151471 +SHA256 (argparse-1.2.1.tar.gz) = ddaf4b0a618335a32b6664d4ae038a1de8fbada3b25033f9021510ed2b3941a4 +SIZE (argparse-1.2.1.tar.gz) = 69297 diff --git a/devel/py-argparse/pkg-descr b/devel/py-argparse/pkg-descr index 5aa89d40c80a..2b888feccc53 100644 --- a/devel/py-argparse/pkg-descr +++ b/devel/py-argparse/pkg-descr @@ -4,4 +4,4 @@ ability to create parsers for sub-commands, more informative help and usage messages, and much more. At the same time, it retains the ease and flexibility of use that made optparse so popular. -WWW: http://code.google.com/p/argparse/ +WWW: http://code.google.com/p/argparse/