Date: Thu, 22 Nov 2012 20:35:36 +1100 (EST) From: Kubilay Kocak <koobs.freebsd@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: python@FreeBSD.org Subject: ports/173834: [PATCH] devel/py27-urwid: update to 1.1.1, Add OPTIONSFILE, regression-test target Message-ID: <20121122093536.8B15E39FA1@freebsd-9-amd64.localdomain> Resent-Message-ID: <201211220940.qAM9e0tb084015@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173834 >Category: ports >Synopsis: [PATCH] devel/py27-urwid: update to 1.1.1, Add OPTIONSFILE, regression-test target >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Nov 22 09:40:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Kubilay Kocak >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD freebsd-9-amd64 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Sat Jul 7 21:26:56 EST >Description: - Update to 1.1.1 - Add OPTIONSFILE to save OPTIONS properly - Fix source directory for installing EXAMPLES - Add regression-test target for unit tests - Trim Makefile header - Silence @cd calls - Whitespace alignment ====[QA]==== portlint: WARN: Makefile: only one MASTER_SITE configured porttest: OK (GCC & CLANG 9.0-RELEASE amd64) unittest: Ran 283 tests in 0.490s - FAILED (failures=5, errors=4) Note: The same tests fail for previous version (1.0.2). Failures are for doctests, are due to missing gobject import and fail on: evl = GLibEventLoop() ============ Port maintainer (python@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- py27-urwid-1.1.1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/py-urwid/Makefile ./Makefile --- /usr/ports/devel/py-urwid/Makefile 2012-11-17 16:56:51.000000000 +1100 +++ ./Makefile 2012-11-22 20:20:12.000000000 +1100 @@ -1,12 +1,8 @@ -# New ports collection makefile for: py-urwid -# Date created: 7 December 2004 -# Whom: Hye-Shik Chang <perky@FreeBSD.org> -# +# Created by: Hye-Shik Chang <perky@FreeBSD.org> # $FreeBSD: ports/devel/py-urwid/Makefile,v 1.24 2012/11/17 05:56:51 svnexp Exp $ -# PORTNAME= urwid -PORTVERSION= 1.0.2 +PORTVERSION= 1.1.1 CATEGORIES= devel python MASTER_SITES= http://excess.org/urwid/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,8 +13,10 @@ LICENSE= LGPL21 OPTIONS_DEFINE= EXAMPLES +# Bypass ports infrastructure bug +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options -USE_PYTHON= yes +USE_PYTHON= yes USE_PYDISTUTILS= yes PORTEXAMPLES= bigtext.py \ @@ -46,7 +44,10 @@ post-install: .if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR}/ - cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ + @cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ .endif +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} -m urwid.tests + .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/devel/py-urwid/distinfo ./distinfo --- /usr/ports/devel/py-urwid/distinfo 2012-07-18 22:48:22.000000000 +1000 +++ ./distinfo 2012-11-22 20:18:07.000000000 +1100 @@ -1,2 +1,2 @@ -SHA256 (urwid-1.0.2.tar.gz) = 2e13bd98dc8162caeb768263b6805f98a468ccb3bc28f6eed54770c80a514b37 -SIZE (urwid-1.0.2.tar.gz) = 285489 +SHA256 (urwid-1.1.1.tar.gz) = b301b4e0c2cd1634390cda80149d8aa2a07365af81a281ecf258770e47d30e99 +SIZE (urwid-1.1.1.tar.gz) = 482432 --- py27-urwid-1.1.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121122093536.8B15E39FA1>