pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang Follow grant@'s lead and use Makefile.common for ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f469873f9619
branches: trunk
changeset: 466949:f469873f9619
user: recht <recht%pkgsrc.org@localhost>
date: Sat Jan 24 19:48:11 2004 +0000
description:
Follow grant@'s lead and use Makefile.common for python23 and python23-pth.
diffstat:
lang/python23-pth/Makefile | 95 +-
lang/python23-pth/PLIST.Linux | 11 -
lang/python23-pth/PLIST.NetBSD | 1 -
lang/python23-pth/PLIST.common | 2563 ------------------
lang/python23-pth/PLIST.common_end | 29 -
lang/python23/Makefile | 96 +-
lang/python23/Makefile.common | 104 +
lang/python23/PLIST.common | 5126 ++++++++++++++++++------------------
8 files changed, 2674 insertions(+), 5351 deletions(-)
diffs (truncated from 8074 to 300 lines):
diff -r 46a7fd3358e9 -r f469873f9619 lang/python23-pth/Makefile
--- a/lang/python23-pth/Makefile Sat Jan 24 19:45:36 2004 +0000
+++ b/lang/python23-pth/Makefile Sat Jan 24 19:48:11 2004 +0000
@@ -1,21 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2004/01/24 18:17:54 recht Exp $
+# $NetBSD: Makefile,v 1.15 2004/01/24 19:48:11 recht Exp $
#
-DISTNAME= Python-2.3.3
PKGNAME= python23-pth-2.3.3
-CATEGORIES= lang
-MASTER_SITES= ftp://ftp.python.org/pub/python/2.3.3/
-EXTRACT_SUFX= .tgz
-
-MAINTAINER= recht%NetBSD.org@localhost
-HOMEPAGE= http://www.python.org/
-COMMENT= Interpreted, interactive, object-oriented programming language
-
-USE_DB185= yes
-USE_BUILDLINK2= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --enable-shared
-CONFIGURE_ARGS+= OPT="${CFLAGS}"
PTHREAD_OPTS= require
.include "../../mk/pthread.buildlink2.mk"
@@ -23,81 +9,6 @@
CONFIGURE_ARGS+= --with-pth
.endif
-INSTALL_TARGET= altinstall
-TEST_TARGET= test
-
-post-extract:
- ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc2p3
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} == "SunOS"
-LOWER_OPSYS= sunos
-.endif
-
-.if ${OPSYS} == "Darwin" || ${OPSYS} == "IRIX"
-PY_PLATNAME=${LOWER_OPSYS}
-.else
-PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//}
-.endif
-PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME}
-
-# the dl module isn't built for 64 bit archs and Darwin
-.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" \
- || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64" \
- || ${OPSYS} == "Darwin"
-PLIST_SUBST+= DLMODULE="@comment "
-.else
-PLIST_SUBST+= DLMODULE=
-.endif
+PY_VER_SUFFIX= 2p3
-X86_SUBST= "@comment "
-OSSAUDIODEV_SUBST= "@comment "
-.if ${MACHINE_ARCH} == "i386"
-# activate X86_ONLY modules
-X86_SUBST=
-# ossaudiodev is only available on x86 for the following platforms
-.if ${PY_PLATNAME} == "linux2" || ${PY_PLATNAME} == "freebsd4" \
- || ${PY_PLATNAME} == "freebsd5"
-OSSAUDIODEV_SUBST=
-.endif
-.endif
-PLIST_SUBST+= X86_ONLY=${X86_SUBST}
-PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST}
-
-# ensure that the bsddb185 module is built on all platforms
-.include "../../databases/db/buildlink2.mk"
-
-SUBST_CLASSES+= setup
-SUBST_MESSAGE.setup= "Fixing paths for db 1.85."
-SUBST_STAGE.setup= post-patch
-SUBST_FILES.setup= setup.py
-SUBST_SED.setup= -e 's,%%DB185_H%%,${DB185_H},g'
-SUBST_SED.setup+= -e 's,%%DB185_INCS%%,${DB185_INCS},g'
-SUBST_SED.setup+= -e 's,%%DB185_LIBS%%,${DB185_LIBS},g'
-SUBST_SED.setup+= -e 's,%%DB185_LIBDIR%%,${DB185_LIBDIR},g'
-
-DB185_LIBDIR= ${BUILDLINK_PREFIX.db}/lib
-
-.if !empty(BUILDLINK_CPPFLAGS.db)
-LDFLAGS+= ${BUILDLINK_LDFLAGS.db}
-DBINCDIR= ${BUILDLINK_CPPFLAGS.db:S/-I//}
-DB185_INCS= ${DBINCDIR}
-DB185_LIBS= ${BUILDLINK_LIBS.db:S/-l//}
-
-.if ${_NEED_DB2} == "YES"
-DB185_H= ${DBINCDIR}/db_185.h
-.else
-DB185_H= ${DBINCDIR}/db.h
-.endif
-.else
-DB185_H= /usr/include/db.h
-DB185_INCS= /usr/include
-DB185_LIBS=
-.endif
-
-.include "../../archivers/bzip2/buildlink2.mk"
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
-.include "../../mk/ossaudio.buildlink2.mk"
-.include "../../mk/bsd.pkg.mk"
+.include "../../lang/python23/Makefile.common"
diff -r 46a7fd3358e9 -r f469873f9619 lang/python23-pth/PLIST.Linux
--- a/lang/python23-pth/PLIST.Linux Sat Jan 24 19:45:36 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-@comment $NetBSD: PLIST.Linux,v 1.2 2003/12/08 21:13:56 recht Exp $
-lib/python2p3/lib-dynload/${LOWER_OPSYS}audiodev.so
-lib/python2p3/plat-${LOWER_OPSYS}2/CDROM.py
-lib/python2p3/plat-${LOWER_OPSYS}2/CDROM.pyc
-lib/python2p3/plat-${LOWER_OPSYS}2/CDROM.pyo
-lib/python2p3/plat-${LOWER_OPSYS}2/DLFCN.py
-lib/python2p3/plat-${LOWER_OPSYS}2/DLFCN.pyc
-lib/python2p3/plat-${LOWER_OPSYS}2/DLFCN.pyo
-lib/python2p3/plat-${LOWER_OPSYS}2/TYPES.py
-lib/python2p3/plat-${LOWER_OPSYS}2/TYPES.pyc
-lib/python2p3/plat-${LOWER_OPSYS}2/TYPES.pyo
diff -r 46a7fd3358e9 -r f469873f9619 lang/python23-pth/PLIST.NetBSD
--- a/lang/python23-pth/PLIST.NetBSD Sat Jan 24 19:45:36 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-@comment $NetBSD: PLIST.NetBSD,v 1.2 2003/12/08 21:13:56 recht Exp $
diff -r 46a7fd3358e9 -r f469873f9619 lang/python23-pth/PLIST.common
--- a/lang/python23-pth/PLIST.common Sat Jan 24 19:45:36 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2563 +0,0 @@
-@comment $NetBSD: PLIST.common,v 1.3 2003/12/08 21:13:56 recht Exp $
-bin/pydoc2p3
-bin/python2p3
-include/python2p3/Python.h
-include/python2p3/abstract.h
-include/python2p3/bitset.h
-include/python2p3/boolobject.h
-include/python2p3/bufferobject.h
-include/python2p3/cStringIO.h
-include/python2p3/cellobject.h
-include/python2p3/ceval.h
-include/python2p3/classobject.h
-include/python2p3/cobject.h
-include/python2p3/codecs.h
-include/python2p3/compile.h
-include/python2p3/complexobject.h
-include/python2p3/datetime.h
-include/python2p3/descrobject.h
-include/python2p3/dictobject.h
-include/python2p3/enumobject.h
-include/python2p3/errcode.h
-include/python2p3/eval.h
-include/python2p3/fileobject.h
-include/python2p3/floatobject.h
-include/python2p3/frameobject.h
-include/python2p3/funcobject.h
-include/python2p3/graminit.h
-include/python2p3/grammar.h
-include/python2p3/import.h
-include/python2p3/intobject.h
-include/python2p3/intrcheck.h
-include/python2p3/iterobject.h
-include/python2p3/listobject.h
-include/python2p3/longintrepr.h
-include/python2p3/longobject.h
-include/python2p3/marshal.h
-include/python2p3/metagrammar.h
-include/python2p3/methodobject.h
-include/python2p3/modsupport.h
-include/python2p3/moduleobject.h
-include/python2p3/node.h
-include/python2p3/object.h
-include/python2p3/objimpl.h
-include/python2p3/opcode.h
-include/python2p3/osdefs.h
-include/python2p3/parsetok.h
-include/python2p3/patchlevel.h
-include/python2p3/pgen.h
-include/python2p3/pgenheaders.h
-include/python2p3/py_curses.h
-include/python2p3/pyconfig.h
-include/python2p3/pydebug.h
-include/python2p3/pyerrors.h
-include/python2p3/pyfpe.h
-include/python2p3/pygetopt.h
-include/python2p3/pymactoolbox.h
-include/python2p3/pymem.h
-include/python2p3/pyport.h
-include/python2p3/pystate.h
-include/python2p3/pythonrun.h
-include/python2p3/pythread.h
-include/python2p3/rangeobject.h
-include/python2p3/sliceobject.h
-include/python2p3/stringobject.h
-include/python2p3/structmember.h
-include/python2p3/structseq.h
-include/python2p3/symtable.h
-include/python2p3/sysmodule.h
-include/python2p3/token.h
-include/python2p3/traceback.h
-include/python2p3/tupleobject.h
-include/python2p3/ucnhash.h
-include/python2p3/unicodeobject.h
-include/python2p3/weakrefobject.h
-lib/libpython2p3.so
-lib/libpython2p3.so.1.0
-lib/python2p3/BaseHTTPServer.py
-lib/python2p3/BaseHTTPServer.pyc
-lib/python2p3/BaseHTTPServer.pyo
-lib/python2p3/Bastion.py
-lib/python2p3/Bastion.pyc
-lib/python2p3/Bastion.pyo
-lib/python2p3/CGIHTTPServer.py
-lib/python2p3/CGIHTTPServer.pyc
-lib/python2p3/CGIHTTPServer.pyo
-lib/python2p3/ConfigParser.py
-lib/python2p3/ConfigParser.pyc
-lib/python2p3/ConfigParser.pyo
-lib/python2p3/Cookie.py
-lib/python2p3/Cookie.pyc
-lib/python2p3/Cookie.pyo
-lib/python2p3/DocXMLRPCServer.py
-lib/python2p3/DocXMLRPCServer.pyc
-lib/python2p3/DocXMLRPCServer.pyo
-lib/python2p3/FCNTL.py
-lib/python2p3/FCNTL.pyc
-lib/python2p3/FCNTL.pyo
-lib/python2p3/HTMLParser.py
-lib/python2p3/HTMLParser.pyc
-lib/python2p3/HTMLParser.pyo
-lib/python2p3/LICENSE.txt
-lib/python2p3/MimeWriter.py
-lib/python2p3/MimeWriter.pyc
-lib/python2p3/MimeWriter.pyo
-lib/python2p3/Queue.py
-lib/python2p3/Queue.pyc
-lib/python2p3/Queue.pyo
-lib/python2p3/SimpleHTTPServer.py
-lib/python2p3/SimpleHTTPServer.pyc
-lib/python2p3/SimpleHTTPServer.pyo
-lib/python2p3/SimpleXMLRPCServer.py
-lib/python2p3/SimpleXMLRPCServer.pyc
-lib/python2p3/SimpleXMLRPCServer.pyo
-lib/python2p3/SocketServer.py
-lib/python2p3/SocketServer.pyc
-lib/python2p3/SocketServer.pyo
-lib/python2p3/StringIO.py
-lib/python2p3/StringIO.pyc
-lib/python2p3/StringIO.pyo
-lib/python2p3/TERMIOS.py
-lib/python2p3/TERMIOS.pyc
-lib/python2p3/TERMIOS.pyo
-lib/python2p3/UserDict.py
-lib/python2p3/UserDict.pyc
-lib/python2p3/UserDict.pyo
-lib/python2p3/UserList.py
-lib/python2p3/UserList.pyc
-lib/python2p3/UserList.pyo
-lib/python2p3/UserString.py
-lib/python2p3/UserString.pyc
-lib/python2p3/UserString.pyo
-lib/python2p3/__future__.py
-lib/python2p3/__future__.pyc
-lib/python2p3/__future__.pyo
-lib/python2p3/__phello__.foo.py
-lib/python2p3/__phello__.foo.pyc
-lib/python2p3/__phello__.foo.pyo
-lib/python2p3/_strptime.py
-lib/python2p3/_strptime.pyc
-lib/python2p3/_strptime.pyo
-lib/python2p3/aifc.py
-lib/python2p3/aifc.pyc
-lib/python2p3/aifc.pyo
-lib/python2p3/anydbm.py
-lib/python2p3/anydbm.pyc
-lib/python2p3/anydbm.pyo
-lib/python2p3/asynchat.py
-lib/python2p3/asynchat.pyc
-lib/python2p3/asynchat.pyo
-lib/python2p3/asyncore.py
-lib/python2p3/asyncore.pyc
-lib/python2p3/asyncore.pyo
-lib/python2p3/atexit.py
-lib/python2p3/atexit.pyc
-lib/python2p3/atexit.pyo
-lib/python2p3/audiodev.py
-lib/python2p3/audiodev.pyc
-lib/python2p3/audiodev.pyo
-lib/python2p3/base64.py
-lib/python2p3/base64.pyc
-lib/python2p3/base64.pyo
-lib/python2p3/bdb.py
-lib/python2p3/bdb.pyc
-lib/python2p3/bdb.pyo
-lib/python2p3/binhex.py
-lib/python2p3/binhex.pyc
Home |
Main Index |
Thread Index |
Old Index