From debdf30d961bc920d77590ec9badffb36f6a1990 Mon Sep 17 00:00:00 2001 From: benoit Date: Thu, 4 Jun 2009 09:14:03 +0000 Subject: [PATCH] resolve conflict CVolve conflict: ---------------------------------------------------------------------- --- net/py-dnspython/Makefile | 31 +++++++++---------- net/py-dnspython/patches/patch-tests_Makefile | 12 ------- 2 files changed, 15 insertions(+), 28 deletions(-) delete mode 100644 net/py-dnspython/patches/patch-tests_Makefile diff --git a/net/py-dnspython/Makefile b/net/py-dnspython/Makefile index b375214d765..77e39c67ade 100644 --- a/net/py-dnspython/Makefile +++ b/net/py-dnspython/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2009/03/16 22:20:02 kili Exp $ +# $OpenBSD: Makefile,v 1.7 2009/06/04 09:14:03 benoit Exp $ COMMENT= DNS toolkit for Python @@ -7,29 +7,28 @@ DISTNAME= dnspython-${MODPY_EGG_VERSION} PKGNAME= py-${DISTNAME}p0 CATEGORIES= net -HOMEPAGE= http://www.dnspython.org/ +HOMEPAGE = http://www.dnspython.org/ MAINTAINER= Will Maier # BSD -PERMIT_PACKAGE_CDROM= Yes -PERMIT_PACKAGE_FTP= Yes -PERMIT_DISTFILES_CDROM= Yes -PERMIT_DISTFILES_FTP= Yes +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM =Yes +PERMIT_DISTFILES_FTP = Yes MASTER_SITES= ${HOMEPAGE}/kits/${MODPY_EGG_VERSION}/ -MODULES= lang/python +MODULES = lang/python + +NO_REGRESS = Yes + +pre-configure: + ${SUBST_CMD} ${WRKSRC}/tests/Makefile post-install: - @perl -pi -e "s,/usr/bin/env python,${MODPY_BIN}," \ - ${WRKSRC}/examples/*.py - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-dnspython - ${INSTALL_SCRIPT} ${WRKSRC}/examples/* \ - ${PREFIX}/share/examples/py-dnspython - -do-regress: - @cd ${WRKSRC}/tests && env PYTHONPATH=../ \ - make check PYTHON=${MODPY_BIN} + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-dnspython + ${INSTALL_DATA} ${WRKSRC}/examples/*.py \ + ${PREFIX}/share/examples/py-dnspython .include diff --git a/net/py-dnspython/patches/patch-tests_Makefile b/net/py-dnspython/patches/patch-tests_Makefile deleted file mode 100644 index 7cc8c87ba16..00000000000 --- a/net/py-dnspython/patches/patch-tests_Makefile +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-tests_Makefile,v 1.1.1.1 2009/06/04 08:04:28 benoit Exp $ ---- tests/Makefile.orig Wed Jun 3 14:49:40 2009 -+++ tests/Makefile Wed Jun 3 14:49:53 2009 -@@ -15,7 +15,7 @@ - - # $Id: patch-tests_Makefile,v 1.1.1.1 2009/06/04 08:04:28 benoit Exp $ - --PYTHON=python -+PYTHON=${MODPY_BIN} - - check: test -