1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

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)
This commit is contained in:
Kubilay Kocak 2013-11-29 07:22:49 +00:00
parent c015469ec6
commit b263eb7f70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335150
3 changed files with 9 additions and 13 deletions

View File

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

View File

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

View File

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