pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/biology/pymol Fix path to python. Use postive PYTHON_V...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4b932c6e5e79
branches:  trunk
changeset: 532112:4b932c6e5e79
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Aug 11 18:13:13 2007 +0000

description:
Fix path to python. Use postive PYTHON_VERSIONS_ACCEPTED.
Bump revision.

XXX Should be renamed to follow python module naming convention.

diffstat:

 biology/pymol/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r d77e5f18951b -r 4b932c6e5e79 biology/pymol/Makefile
--- a/biology/pymol/Makefile    Sat Aug 11 17:31:22 2007 +0000
+++ b/biology/pymol/Makefile    Sat Aug 11 18:13:13 2007 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2007/02/15 22:37:05 perry Exp $
+# $NetBSD: Makefile,v 1.8 2007/08/11 18:13:13 joerg Exp $
 
 DISTNAME=      pymol-0_98-src
 PKGNAME=       pymol-0.98
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    biology
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=pymol/}
 EXTRACT_SUFX=  .tgz
@@ -11,13 +11,15 @@
 HOMEPAGE=      http://pymol.sourceforge.net/
 COMMENT=       Molecular Visualization System
 
-PYTHON_VERSIONS_INCOMPATIBLE=  15 20 21 22
+PYTHON_VERSIONS_ACCEPTED=      24 23
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}
 PYDISTUTILSPKG=        yes
 PYBINMODULE=   yes
 PYSETUP=       setup.py
 
+REPLACE_PYTHON=        test/cyg test/run test/show test/win.py
+
 post-install:
        cd ${WRKSRC} && env ${MAKE_ENV} ${PYTHONBIN} setup2.py
        ${INSTALL_SCRIPT} ${WRKSRC}/pymol.com ${PREFIX}/bin/pymol
@@ -38,5 +40,6 @@
 # However, the package seems to link with "glut" and not with "freeglut",
 # and no other pkgsrc packages seem to use freeglut.
 
+.include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index