svn commit: r403406 - head/devel/py-urwid
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Dec 9 14:27:53 UTC 2015
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 at 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
More information about the svn-ports-head
mailing list