aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-07-18 20:48:22 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-07-18 20:48:22 +0800
commit62614dec6acae0c5c8d1f8c34f427b0b48df6931 (patch)
tree705318f071ee008e7f2000a3b544e404d9d2e5b2
parent7799f16ad0325be0e58c3629e1d2b95c097c8bd7 (diff)
downloadfreebsd-ports-gnome-62614dec6acae0c5c8d1f8c34f427b0b48df6931.tar.gz
freebsd-ports-gnome-62614dec6acae0c5c8d1f8c34f427b0b48df6931.tar.zst
freebsd-ports-gnome-62614dec6acae0c5c8d1f8c34f427b0b48df6931.zip
- Update to 1.0.2
- Add LICENSE - Convert to new options framework Changes: http://excess.org/urwid/wiki/ChangeLog
-rw-r--r--devel/py-urwid/Makefile12
-rw-r--r--devel/py-urwid/distinfo4
2 files changed, 11 insertions, 5 deletions
diff --git a/devel/py-urwid/Makefile b/devel/py-urwid/Makefile
index ffe17dfb5977..1fb1dac213a5 100644
--- a/devel/py-urwid/Makefile
+++ b/devel/py-urwid/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= urwid
-PORTVERSION= 1.0.1
+PORTVERSION= 1.0.2
CATEGORIES= devel python
MASTER_SITES= http://excess.org/urwid/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +14,10 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Curses-based user interface library for Python
+LICENSE= LGPL21
+
+OPTIONS_DEFINE= EXAMPLES
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
@@ -33,12 +37,14 @@ PORTEXAMPLES= bigtext.py \
treesample.py
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+.include <bsd.port.options.mk>
+
post-patch:
# disable setuptools for now
- @${REINPLACE_CMD} 's/setuptools/xxx/g' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} 's/setuptools/do_not_use_&/g' ${WRKSRC}/setup.py
post-install:
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/
.endif
diff --git a/devel/py-urwid/distinfo b/devel/py-urwid/distinfo
index 85eb0266698c..cb68abff401c 100644
--- a/devel/py-urwid/distinfo
+++ b/devel/py-urwid/distinfo
@@ -1,2 +1,2 @@
-SHA256 (urwid-1.0.1.tar.gz) = 14fe06fe6d584293885b78d95bfca2666986c974f111d7197e4f3d4d9a52c034
-SIZE (urwid-1.0.1.tar.gz) = 284592
+SHA256 (urwid-1.0.2.tar.gz) = 2e13bd98dc8162caeb768263b6805f98a468ccb3bc28f6eed54770c80a514b37
+SIZE (urwid-1.0.2.tar.gz) = 285489