aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-urwid
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2009-03-20 15:42:17 +0800
committerlwhsu <lwhsu@FreeBSD.org>2009-03-20 15:42:17 +0800
commitea9a0f7d64d37f99446d860951b7df88e6a1189c (patch)
tree4076ae9a7ce9883ef218fd735e3097ad3dada749 /devel/py-urwid
parentdee00bda9cd02cb717df5c9c30b0891cbb7b5f45 (diff)
downloadfreebsd-ports-gnome-ea9a0f7d64d37f99446d860951b7df88e6a1189c.tar.gz
freebsd-ports-gnome-ea9a0f7d64d37f99446d860951b7df88e6a1189c.tar.zst
freebsd-ports-gnome-ea9a0f7d64d37f99446d860951b7df88e6a1189c.zip
- Update to 0.9.8.4
PR: ports/132720 Submitted by: Yi-Jheng Lin <yzlin AT cs.nctu.edu.tw>
Diffstat (limited to 'devel/py-urwid')
-rw-r--r--devel/py-urwid/Makefile20
-rw-r--r--devel/py-urwid/distinfo6
2 files changed, 22 insertions, 4 deletions
diff --git a/devel/py-urwid/Makefile b/devel/py-urwid/Makefile
index 3068e184109f..72ff5c4f7ebc 100644
--- a/devel/py-urwid/Makefile
+++ b/devel/py-urwid/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= urwid
-PORTVERSION= 0.9.8.3
+PORTVERSION= 0.9.8.4
CATEGORIES= devel python
MASTER_SITES= http://excess.org/urwid/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,8 +16,26 @@ COMMENT= Curses-based user interface library for Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PORTEXAMPLES= bigtext.py \
+ browse.py \
+ calc.py \
+ dialog.py \
+ edit.py \
+ fib.py \
+ graph.py \
+ input_test.py \
+ test_urwid.py \
+ tour.py
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+
post-patch:
@# disable setuptools for now
${REINPLACE_CMD} 's/setuptools/xxsetuptools/g' ${WRKSRC}/setup.py
+post-install:
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR}
+ @${INSTALL_DATA} ${PORTEXAMPLES:S,^,${WRKSRC}/,} ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/devel/py-urwid/distinfo b/devel/py-urwid/distinfo
index 5c70038f170f..63c48c391de5 100644
--- a/devel/py-urwid/distinfo
+++ b/devel/py-urwid/distinfo
@@ -1,3 +1,3 @@
-MD5 (urwid-0.9.8.3.tar.gz) = 52a7e6d15e12a12b1ae62c0c901b2c20
-SHA256 (urwid-0.9.8.3.tar.gz) = ee85b32f33114048dde3b782f8f42ff8a62ea08783b59fd7208c635eb9af8a71
-SIZE (urwid-0.9.8.3.tar.gz) = 179752
+MD5 (urwid-0.9.8.4.tar.gz) = 28f918c66887d4e470ae0c3535579ad7
+SHA256 (urwid-0.9.8.4.tar.gz) = 143c6183ba221ade64958a62272306e1a78e4dbd9cbb651c8302f2463fdeb979
+SIZE (urwid-0.9.8.4.tar.gz) = 184002