Subject: pkg/14523: lang/python/ is out of date (breaks 9 packges)
To: None <>
From: Jarkko Torppa <>
List: netbsd-bugs
Date: 11/10/2001 17:32:06
>Number:         14523
>Category:       pkg
>Synopsis:       lang/python/ is out of date (breaks 9 packges)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 10 07:33:00 PST 2001
>Originator:     Jarkko Torppa
>Release:        NetBSD 1.5.1
Cute Communications
System: NetBSD 1.5.2 NetBSD 1.5.2 (TUHNU) #3: Wed Nov 7 20:31:29 EET 2001 root@:/foo/1.5.2/src/sys/arch/i386/compile/TUHNU i386


lang/python/ is out of date, this breaks building of 9
python extension. Intention of this file seems to be that stuff that
is shipped with python but not build by the main-package are handled
in this.

databases/py-gdbm/Makefile:.include "../../lang/python/"
devel/py-curses/Makefile:.include "../../lang/python/"
devel/py-idle/Makefile:.include "../../lang/python/"
lang/py-extclass/Makefile:.include "../../lang/python/"
print/py-reportlab/Makefile:.include "../../lang/python/"
textproc/py-dtml/Makefile:.include "../../lang/python/"
www/py-pcgi/Makefile:.include "../../lang/python/"
www/py-zpublisher/Makefile:.include "../../lang/python/"
x11/py-Tk/Makefile:.include "../../lang/python/"


Build python-2.0.1 from lang/python and try to build one of the above
packges after it. It tries to use python-2.0 sources for these packages.


This is a stop-gag path for the problem, real fix should take into
account that there are now two python's in the pkgsrc.

Index: lang/python/
RCS file: /cvsroot/pkgsrc/lang/python/,v
retrieving revision 1.2
diff -u -r1.2
---        2001/05/30 04:59:36     1.2
+++        2001/11/10 15:28:26
@@ -2,12 +2,14 @@
 PY_VERSION=    2.0
 DIST_SUBDIR?=  python
-PY_WRKSRC=     ${WRKDIR}/Python-${PY_VERSION}/Modules
-PY_MODULES=    Python-${PY_VERSION}/Modules
+PY_WRKSRC=     ${WRKDIR}/Python-${PY_MINORVER}/Modules
+PY_MODULES=    Python-${PY_MINORVER}/Modules
 PY_CONFIGDIR=  ${LOCALBASE}/lib/python${PY_VERSION}/config
 PY_LIBPATH=    lib/python${PY_VERSION}
@@ -19,7 +21,7 @@
-DEPENDS+=      python-${PY_VERSION}*:../../lang/python
+DEPENDS+=      python-${PY_MINORVER}*:../../lang/python
 ALL_TARGET?=   default