aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoobs <koobs@FreeBSD.org>2013-11-29 15:22:49 +0800
committerkoobs <koobs@FreeBSD.org>2013-11-29 15:22:49 +0800
commit2c1dc1519defb6b454a05ebc2c2396dc5f842e77 (patch)
treef30e8b12a72e7ff6bcdc7772cffbea091dd54191
parent3d21ffdca474c80d336185f2ae7b4af0c78efef9 (diff)
downloadfreebsd-ports-gnome-2c1dc1519defb6b454a05ebc2c2396dc5f842e77.tar.gz
freebsd-ports-gnome-2c1dc1519defb6b454a05ebc2c2396dc5f842e77.tar.zst
freebsd-ports-gnome-2c1dc1519defb6b454a05ebc2c2396dc5f842e77.zip
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)
-rw-r--r--devel/py-argparse/Makefile16
-rw-r--r--devel/py-argparse/distinfo4
-rw-r--r--devel/py-argparse/pkg-descr2
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 <bsd.port.mk>
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/