From 718ae7c89a3a74c2135eb295e439a4fbb0788e23 Mon Sep 17 00:00:00 2001 From: drochner Date: Thu, 17 Jan 2002 13:10:00 +0000 Subject: nuke python-mk, it's not needed anymore --- pkgtools/Makefile | 3 +-- pkgtools/python-mk/DESCR | 1 - pkgtools/python-mk/Makefile | 27 ----------------------- pkgtools/python-mk/PLIST | 2 -- pkgtools/python-mk/files/bsd.python.mk | 39 ---------------------------------- 5 files changed, 1 insertion(+), 71 deletions(-) delete mode 100644 pkgtools/python-mk/DESCR delete mode 100644 pkgtools/python-mk/Makefile delete mode 100644 pkgtools/python-mk/PLIST delete mode 100644 pkgtools/python-mk/files/bsd.python.mk (limited to 'pkgtools') diff --git a/pkgtools/Makefile b/pkgtools/Makefile index d432fd99fc5..f3a4e20ddf6 100644 --- a/pkgtools/Makefile +++ b/pkgtools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2002/01/15 13:21:46 agc Exp $ +# $NetBSD: Makefile,v 1.37 2002/01/17 13:10:00 drochner Exp $ # COMMENT= Tools for use in the packages collection @@ -20,7 +20,6 @@ SUBDIR+= pkglint SUBDIR+= pkgmanpages SUBDIR+= pkgsurvey SUBDIR+= port2pkg -SUBDIR+= python-mk SUBDIR+= rpm2pkg SUBDIR+= shlock SUBDIR+= url2pkg diff --git a/pkgtools/python-mk/DESCR b/pkgtools/python-mk/DESCR deleted file mode 100644 index a8335aa6f2c..00000000000 --- a/pkgtools/python-mk/DESCR +++ /dev/null @@ -1 +0,0 @@ -common functions for python "distutils" packages diff --git a/pkgtools/python-mk/Makefile b/pkgtools/python-mk/Makefile deleted file mode 100644 index 41af1a100cd..00000000000 --- a/pkgtools/python-mk/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2001/07/13 15:00:02 tv Exp $ -# - -DISTNAME= python-mk-1.0 -CATEGORIES= pkgtools -MASTER_SITES= # empty -DISTFILES= # empty - -MAINTAINER= packages@netbsd.org -COMMENT= common functions for python "distutils" packages - -# not strictly needed -DEPENDS+= python>=1.6:../../lang/python - -EXTRACT_ONLY= # empty -NO_CHECKSUM= # defined -NO_CONFIGURE= # defined -NO_PATCH= # defined -NO_BUILD= # defined -NO_PACKAGE= # defined - -PYMKFILE= ${FILESDIR}/bsd.python.mk - -do-install: - ${INSTALL_SCRIPT} ${PYMKFILE} ${PREFIX}/share/mk - -.include "../../mk/bsd.pkg.mk" diff --git a/pkgtools/python-mk/PLIST b/pkgtools/python-mk/PLIST deleted file mode 100644 index 1c83b246fb7..00000000000 --- a/pkgtools/python-mk/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 21:19:08 zuntum Exp $ -share/mk/bsd.python.mk diff --git a/pkgtools/python-mk/files/bsd.python.mk b/pkgtools/python-mk/files/bsd.python.mk deleted file mode 100644 index 15d759cd598..00000000000 --- a/pkgtools/python-mk/files/bsd.python.mk +++ /dev/null @@ -1,39 +0,0 @@ -# $NetBSD: bsd.python.mk,v 1.1.1.1 2001/05/14 13:41:32 drochner Exp $ -# - -.if defined(PYBINMODULE) -.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "vax" -IGNORE="${PKGNAME} needs dynamic loading" -.endif -.endif - -PYINC!= ${PYTHON} -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_inc(0, \"\")" -PYSITELIB!= ${PYTHON} -c "import distutils.sysconfig; \ - print distutils.sysconfig.get_python_lib(0, 0, \"\")" - -.if defined(PYDISTUTILSPKG) -PYSETUP?= setup.py -PYSETUPBUILDARGS?= #empty -PYSETUPINSTALLARGS?= #empty -PY_PATCHPLIST?= yes - -do-build: - (cd ${WRKSRC} && ${PYTHON} ${PYSETUP} ${PYSETUPBUILDARGS} build) - -do-install: - (cd ${WRKSRC} && ${PYTHON} ${PYSETUP} ${PYSETUPINSTALLARGS} install) -.endif - -PY_PLIST_TEMPLATE?= ${PKGDIR}/PLIST -PY_PLIST_SRC?= ${WRKDIR}/.PLIST_SRC - -py_patchplist: - ${SED} "s|PYINC|${PYINC}|g;s|PYSITELIB|${PYSITELIB}|g" \ - <${PY_PLIST_TEMPLATE} >${PY_PLIST_SRC} - -.if defined(PY_PATCHPLIST) -PLIST_SRC?= ${PY_PLIST_SRC} - -pre-install: py_patchplist -.endif -- cgit v1.2.3