pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-curses Fixed pkglint warnings.
details: https://anonhg.NetBSD.org/pkgsrc/rev/987d6b10c255
branches: trunk
changeset: 514733:987d6b10c255
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jun 17 17:31:08 2006 +0000
description:
Fixed pkglint warnings.
diffstat:
devel/py-curses/Makefile | 14 ++++++++------
devel/py-curses/buildlink3.mk | 7 +++----
2 files changed, 11 insertions(+), 10 deletions(-)
diffs (61 lines):
diff -r 714531c90bfc -r 987d6b10c255 devel/py-curses/Makefile
--- a/devel/py-curses/Makefile Sat Jun 17 17:29:12 2006 +0000
+++ b/devel/py-curses/Makefile Sat Jun 17 17:31:08 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/04/06 06:21:55 reed Exp $
+# $NetBSD: Makefile,v 1.31 2006/06/17 17:31:08 rillig Exp $
#
PKGNAME= ${PYPKGPREFIX}-curses-0
@@ -9,7 +9,8 @@
HOMEPAGE= http://www.python.org/doc/current/lib/module-curses.html
COMMENT= Curses module for Python
-USE_NCURSES= # filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
+USE_NCURSES= yes
+# needs: filter getsyx getwin has_key immedok mvwinsnstr mvwinsstr ...
# noqiflush pechochar putp putwin qiflush redrawwin setsyx syncok termattrs
# termname tigetflag tigetnum tigetstr tparm typeahead use_env wcursyncup
# wechochar winsnstr winsstr wredrawln wsyncdown wsyncup
@@ -24,10 +25,11 @@
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
do-patch:
- (cd ${WRKSRC}; \
- for f in ${PATCHDIR}/patch-*;do \
- ${PATCH} --batch <$$f || true; \
- done)
+ set -e; \
+ cd ${WRKSRC}; \
+ for f in ${PATCHDIR}/patch-*; do \
+ ${PATCH} --batch < "$$f" || ${TRUE}; \
+ done
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
diff -r 714531c90bfc -r 987d6b10c255 devel/py-curses/buildlink3.mk
--- a/devel/py-curses/buildlink3.mk Sat Jun 17 17:29:12 2006 +0000
+++ b/devel/py-curses/buildlink3.mk Sat Jun 17 17:31:08 2006 +0000
@@ -1,10 +1,8 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/04/12 10:27:13 rillig Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/06/17 17:31:08 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_CURSES_BUILDLINK3_MK:= ${PY_CURSES_BUILDLINK3_MK}+
-.include "../../lang/python/pyversion.mk"
-
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pycurses
.endif
@@ -13,8 +11,9 @@
BUILDLINK_PACKAGES+= pycurses
.if !empty(PY_CURSES_BUILDLINK3_MK:M+)
+. include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pycurses+= ${PYPKGPREFIX}-curses-[0-9]*
-BUILDLINK_ABI_DEPENDS.pycurses?= ${PYPKGPREFIX}-curses>=0nb4
+BUILDLINK_ABI_DEPENDS.pycurses+= ${PYPKGPREFIX}-curses>=0nb4
BUILDLINK_PKGSRCDIR.pycurses?= ../../devel/py-curses
.endif # PY_CURSES_BUILDLINK3_MK
Home |
Main Index |
Thread Index |
Old Index