pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/py-anita * no need to buildlink with py-pexpect, ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1adcc2e67e2d
branches:  trunk
changeset: 598624:1adcc2e67e2d
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Jan 28 08:43:05 2012 +0000

description:
* no need to buildlink with py-pexpect, simple DEPENDS is sufficient.
* sort Make blocks
* any of compiler languages are not required to build.
* distutils pkg, switch to use distutils.mk.

Bump PKGREVISION.

diffstat:

 misc/py-anita/Makefile |  16 +++++++++-------
 misc/py-anita/PLIST    |   3 ++-
 2 files changed, 11 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r e0b52d052d4c -r 1adcc2e67e2d misc/py-anita/Makefile
--- a/misc/py-anita/Makefile    Sat Jan 28 08:31:10 2012 +0000
+++ b/misc/py-anita/Makefile    Sat Jan 28 08:43:05 2012 +0000
@@ -1,22 +1,24 @@
-# $NetBSD: Makefile,v 1.17 2012/01/21 16:53:14 gson Exp $
+# $NetBSD: Makefile,v 1.18 2012/01/28 08:43:05 obache Exp $
 #
 
 DISTNAME=      anita-1.24
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  http://www.gson.org/netbsd/anita/download/
 
-PYDISTUTILSPKG= yes
-DEPENDS+=      qemu>=0.12.3nb2:../../emulators/qemu
-DEPENDS+=      cdrtools>=2.00.00.00:../../sysutils/cdrtools
-
 MAINTAINER=    gson%NetBSD.org@localhost
 HOMEPAGE=      http://www.gson.org/netbsd/anita/
 COMMENT=       Automated NetBSD Installation and Test Application
 LICENSE=       isc
 
+DEPENDS+=      qemu>=0.12.3nb2:../../emulators/qemu
+DEPENDS+=      cdrtools>=2.00.00.00:../../sysutils/cdrtools
+DEPENDS+=      ${PYPKGPREFIX}-pexpect>=2.1:../../devel/py-pexpect
+
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-.include "../../lang/python/extension.mk"
-.include "../../devel/py-pexpect/buildlink3.mk"
+USE_LANGUAGES= #none
+
+.include "../../lang/python/distutils.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e0b52d052d4c -r 1adcc2e67e2d misc/py-anita/PLIST
--- a/misc/py-anita/PLIST       Sat Jan 28 08:31:10 2012 +0000
+++ b/misc/py-anita/PLIST       Sat Jan 28 08:43:05 2012 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.2 2009/09/14 19:21:38 gson Exp $
+@comment $NetBSD: PLIST,v 1.3 2012/01/28 08:43:05 obache Exp $
 bin/anita
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
 ${PYSITELIB}/anita.py
 ${PYSITELIB}/anita.pyc
 ${PYSITELIB}/anita.pyo



Home | Main Index | Thread Index | Old Index