Bug 182084 - devel/py-pyutil: update to 1.9.7
Summary: devel/py-pyutil: update to 1.9.7
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 11:40 UTC by Ruslan Makhmatkhanov
Modified: 2013-09-14 12:20 UTC (History)
0 users

See Also:


Attachments
file.diff (8.03 KB, patch)
2013-09-14 11:40 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 2013-09-14 11:40:00 UTC
- update to 1.9.7
- trim Makefile header
- remove leading article from COMMENT
- all the build dependencies are, actually, run dependencies (install_requires in setup.py)
- remove unconditional dependency on py-argparse (only needed for python2.6 and 3.1, that are deprecated and will gone soon)
- limit python version to 2.x only
- remove temporary *.py~ files in all directories
- remove BROKEN for sparc64, let's see if this still the issue
- update WWW to avoid redirection

buildlog: https://redports.org/~rm/20130914101000-42589-144558/py27-pyutil-1.9.7.log

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-14 11:40:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-09-14 12:12:02 UTC
Author: rm
Date: Sat Sep 14 11:11:53 2013
New Revision: 327274
URL: http://svnweb.freebsd.org/changeset/ports/327274

Log:
  - update to 1.9.7
  - trim Makefile header
  - remove leading article from COMMENT
  - all the build dependencies are, actually, run dependencies (install_requires
    in setup.py)
  - remove unconditional dependency on py-argparse (only needed for python2.6
    and 3.1, that are deprecated and will gone soon)
  - limit python version to 2.x only
  - remove temporary *.py~ files in all directories
  - remove BROKEN for sparc64, let's see if this still the issue
  - update WWW to avoid redirection
  
  PR:		182084
  Submitted by:	rm (myself)
  Approved by:	wen (maintainer)

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

Modified: head/devel/py-pyutil/Makefile
==============================================================================
--- head/devel/py-pyutil/Makefile	Sat Sep 14 11:09:16 2013	(r327273)
+++ head/devel/py-pyutil/Makefile	Sat Sep 14 11:11:53 2013	(r327274)
@@ -1,33 +1,22 @@
-# New ports collection makefile for:	py-pyutil
-# Date created:		2007-5-31
-# Whom:			Chao Shin <quakelee@cn.FreeBSD.org>
-#
+# Created by: Chao Shin <quakelee@cn.FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	pyutil
-PORTVERSION=	1.9.3
+PORTVERSION=	1.9.7
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	wen@FreeBSD.org
-COMMENT=	A collection of mature utilities for Python programmers
+COMMENT=	Collection of mature utilities for Python programmers
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argparse>=0.8.0:${PORTSDIR}/devel/py-argparse \
-		${PYTHON_PKGNAMEPREFIX}simplejson>=2.1.1:${PORTSDIR}/devel/py-simplejson \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}simplejson>=2.1.1:${PORTSDIR}/devel/py-simplejson \
 		${PYTHON_PKGNAMEPREFIX}zbase32>=1.1.0:${PORTSDIR}/converters/zbase32
 
-USE_PYTHON=	2.5+
+USE_PYTHON=	-2.7
 USE_PYDISTUTILS=easy_install
 
 post-extract:
-	${RM} -f ${WRKSRC}/pyutil/*.py~
+	@${FIND} ${WRKSRC} -type f -name "*.py~" -delete
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN=		Does not configure on sparc64
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/devel/py-pyutil/distinfo
==============================================================================
--- head/devel/py-pyutil/distinfo	Sat Sep 14 11:09:16 2013	(r327273)
+++ head/devel/py-pyutil/distinfo	Sat Sep 14 11:11:53 2013	(r327274)
@@ -1,2 +1,2 @@
-SHA256 (pyutil-1.9.3.tar.gz) = b7b6be306cd0b654546951f740896acdc6d71535924a001e9a23313c62c42fc8
-SIZE (pyutil-1.9.3.tar.gz) = 118766
+SHA256 (pyutil-1.9.7.tar.gz) = 0aaa2dad8f280bc26311799622d5fdda392a0ecd7ad1a1b80ec79fbf2fcfbd74
+SIZE (pyutil-1.9.7.tar.gz) = 206717

Modified: head/devel/py-pyutil/pkg-descr
==============================================================================
--- head/devel/py-pyutil/pkg-descr	Sat Sep 14 11:09:16 2013	(r327273)
+++ head/devel/py-pyutil/pkg-descr	Sat Sep 14 11:11:53 2013	(r327274)
@@ -7,4 +7,4 @@ been obsoleted by new features added to 
 language or its standard library, thus showing that
 we're not alone in wanting tools like these.
 
-WWW:	http://pypi.python.org/pypi/pyutil/
+WWW: https://pypi.python.org/pypi/pyutil/

Modified: head/devel/py-pyutil/pkg-plist
==============================================================================
--- head/devel/py-pyutil/pkg-plist	Sat Sep 14 11:09:16 2013	(r327273)
+++ head/devel/py-pyutil/pkg-plist	Sat Sep 14 11:11:53 2013	(r327274)
@@ -1,8 +1,9 @@
-bin/try_decoding
-bin/randfile
 bin/lines
+bin/passphrase
 bin/randcookie
+bin/randfile
 bin/tailx
+bin/try_decoding
 bin/unsort
 bin/verinfo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
@@ -25,18 +26,19 @@ bin/verinfo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/assertutil.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/assertutil.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/assertutil.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_xor.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_xor.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_xor.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_json.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_json.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_json.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_xor.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_xor.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks/bench_xor.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchutil.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchutil.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchutil.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/cache.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/cache.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/cache.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/data/wordlist.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/dictutil.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/dictutil.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/dictutil.pyo
@@ -100,6 +102,9 @@ bin/verinfo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/memdump2dot.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/memdump2dot.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/memdump2dot.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/passphrase.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/passphrase.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/passphrase.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/randcookie.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/randcookie.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/randcookie.pyo
@@ -109,6 +114,9 @@ bin/verinfo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/tailx.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/tailx.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/tailx.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/time_comparisons.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/time_comparisons.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/time_comparisons.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/try_decoding.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/try_decoding.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts/try_decoding.pyo
@@ -226,9 +234,6 @@ bin/verinfo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/testutil.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/testutil.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/testutil.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/time_comparisons.py
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/time_comparisons.pyc
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/time_comparisons.pyo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/time_format.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/time_format.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/time_format.pyo
@@ -253,22 +258,23 @@ bin/verinfo
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/zlibutil.py
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/zlibutil.pyc
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/zlibutil.pyo
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/COPYING.SPL.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/COPYING.GPL
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/COPYING.SPL.txt
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/COPYING.TGPPL.html
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/README.rst
 %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/CREDITS
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil/README.rst
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc/pyutil
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share/doc
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/share
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/xor
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test/out_of_shape
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test/deprecated
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test/current/json_tests
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test/current
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test/deprecated
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test/out_of_shape
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/test
-@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/xor
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/scripts
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/data
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil/benchmarks
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/pyutil
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
 @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
_______________________________________________
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"
Comment 3 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-09-14 12:13:45 UTC
State Changed
From-To: open->closed

Committed, thank you!