pkgsrc-Bugs archive

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

pkg/42070: lang/python26 fails to prevent from being installed

>Number:         42070
>Category:       pkg
>Synopsis:       lang/python26 fails to prevent from being installed
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 15 21:50:00 +0000 2009
>Originator:     Brian de Alwis
>Release:        pkgsrc-current, MacOSX 10.5.8
Darwin chiclet.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 
2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

lang/python2[56] patch the script to add a series of modules to the 
disabled list to prevent their installation.  These modules are installed by 
separate packages such as textproc/py-expat.  

Python 2.6 apparently now includes sqlite3 module.  As the patch is 
missing _sqlite3 from the disabled list, the module is built and 
installed, which could conflict with databases/py-sqlite3.
$ cd .../pkgsrc/lang/python26
$ make install >/dev/null
$ ls /usr/pkg/lib/python2.6/lib-dynload/
Add _sqlite3 to the disabled modules list.

=== modified file 'lang/python26/patches/patch-am'
--- lang/python26/patches/patch-am      2009-08-19 21:09:46 +0000
+++ lang/python26/patches/patch-am      2009-09-15 21:33:49 +0000
@@ -7,7 +7,7 @@
  # This global variable is used to hold the list of modules to be disabled.
 -disabled_module_list = []
-+disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_elementtree", 
"_sqlite", "_tkinter", "bsddb", "cjkcodecs" "gdbm", "mpz", "expat", "readline"]
++disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_elementtree", 
"_sqlite", "_sqlite3", "_tkinter", "bsddb", "cjkcodecs" "gdbm", "mpz", "expat", 
  def add_dir_to_list(dirlist, dir):
      """Add the directory 'dir' to the list 'dirlist' (at the front) if

=== modified file 'lang/python26/distinfo'
--- lang/python26/distinfo      2009-08-19 21:09:46 +0000
+++ lang/python26/distinfo      2009-09-15 21:33:49 +0000
@@ -13,7 +13,7 @@
 SHA1 (patch-aj) = a75d680a6b8b1ad3c9222dcb841f4fb10db6d16d
 SHA1 (patch-ak) = 948362c15ad59abeef46971f9b870b70655a62c7
 SHA1 (patch-al) = c39144cfa4a540900fac879b5faa990628fcee3e
-SHA1 (patch-am) = 591bca1e2b5c7fb612f07354cb18e0bcd2b08549
+SHA1 (patch-am) = 1a008add276b56ef3c3fc4274466a918b00c465f
 SHA1 (patch-an) = 17b4e17b3b562c29a050e9bb20447084ce82b8ab
 SHA1 (patch-ao) = 9bbd5561c010e0a1ab8e0a70d27a5f77fd2089d2
 SHA1 (patch-ap) = 39d81b01fa9e1b894be9ae0922881337bb4d17da

Home | Main Index | Thread Index | Old Index