Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Dec 2015 14:27:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403406 - head/devel/py-urwid
Message-ID:  <201512091427.tB9ERqdb002023@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec  9 14:27:52 2015
New Revision: 403406
URL: https://svnweb.freebsd.org/changeset/ports/403406

Log:
  - Update to 1.3.1
  - Add LICENSE_FILE
  - Sort USE_PYTHON
  - Strip shared library
  - Convert to new options target helper
  
  Changes:	http://urwid.org/changelog.html

Modified:
  head/devel/py-urwid/Makefile
  head/devel/py-urwid/distinfo

Modified: head/devel/py-urwid/Makefile
==============================================================================
--- head/devel/py-urwid/Makefile	Wed Dec  9 14:27:48 2015	(r403405)
+++ head/devel/py-urwid/Makefile	Wed Dec  9 14:27:52 2015	(r403406)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	urwid
-PORTVERSION=	1.2.1
+PORTVERSION=	1.3.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,31 +11,22 @@ MAINTAINER=	python@FreeBSD.org
 COMMENT=	Curses-based user interface library for Python
 
 LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 OPTIONS_DEFINE=	EXAMPLES
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist distutils
 
-PORTEXAMPLES=	bigtext.py \
-		browse.py \
-		calc.py \
-		dialog.py \
-		edit.py \
-		fib.py \
-		graph.py \
-		input_test.py \
-		lcd_cf635.py \
-		palette_test.py \
-		pop_up.py \
-		subproc.py \
-		tour.py \
-		treesample.py
+PORTEXAMPLES=	*
 EXAMPLESDIR=	${PREFIX}/share/examples/py-${PORTNAME}
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/urwid/str_util.so
+
+post-install-EXAMPLES-on:
 	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
-	(cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/)
+	(cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR}/)
 
 regression-test: build
 	@cd ${WRKSRC} && ${PYTHON_CMD} -m urwid.tests

Modified: head/devel/py-urwid/distinfo
==============================================================================
--- head/devel/py-urwid/distinfo	Wed Dec  9 14:27:48 2015	(r403405)
+++ head/devel/py-urwid/distinfo	Wed Dec  9 14:27:52 2015	(r403406)
@@ -1,2 +1,2 @@
-SHA256 (urwid-1.2.1.tar.gz) = 9b9b5dabb7df6c0f12e84feed488f9a9ddd5c2d66d1b7c7c087055720b87c68c
-SIZE (urwid-1.2.1.tar.gz) = 578088
+SHA256 (urwid-1.3.1.tar.gz) = cfcec03e36de25a1073e2e35c2c7b0cc6969b85745715c3a025a31d9786896a1
+SIZE (urwid-1.3.1.tar.gz) = 588549



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512091427.tB9ERqdb002023>