diff --git a/buildout/patches/README.txt b/buildout/patches/README.txt deleted file mode 100644 index f7764a653946613dcae8b99441fefdbde92938ec..0000000000000000000000000000000000000000 --- a/buildout/patches/README.txt +++ /dev/null @@ -1 +0,0 @@ -python2.4-dbm.patch took from http://bugs.gentoo.org/165268 diff --git a/buildout/patches/python2.4-dbm.patch b/buildout/patches/python2.4-dbm.patch deleted file mode 100644 index 82a5f833586241918570482282a818f9d5781dc2..0000000000000000000000000000000000000000 --- a/buildout/patches/python2.4-dbm.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- setup.py.orig 2007-02-04 03:04:59.000000000 +0100 -+++ setup.py 2007-02-04 03:09:46.000000000 +0100 -@@ -684,7 +684,7 @@ - and find_file("gdbm/ndbm.h", inc_dirs, []) is not None): - exts.append( Extension('dbm', ['dbmmodule.c'], - define_macros=[('HAVE_GDBM_NDBM_H',None)], -- libraries = ['gdbm'] ) ) -+ libraries = ['gdbm_compat', 'gdbm'] ) ) - elif db_incs is not None: - exts.append( Extension('dbm', ['dbmmodule.c'], - library_dirs=dblib_dir, diff --git a/buildout/software-profiles/python-2.4.cfg b/buildout/software-profiles/python-2.4.cfg index acd1eef1fb51815fdf0ca3c11f3d0ae6041bf23d..b89a4c6d67dd15babc47f3d3f46af67757d1d216 100644 --- a/buildout/software-profiles/python-2.4.cfg +++ b/buildout/software-profiles/python-2.4.cfg @@ -6,6 +6,12 @@ parts = python pythonbin +[python2.4-dbm-patch] +recipe = hexagonit.recipe.download +url = http://bugs.gentoo.org/attachment.cgi?id=109117 +download-only = true +filename = attachment.cgi + [python] recipe = hexagonit.recipe.cmmi python_version_minor = 6 @@ -22,7 +28,7 @@ configure-options = --with-ssl --with-bz2 -patches = ${buildout:directory}/patches/python2.4-dbm.patch +patches = ${python2.4-dbm-patch:location}/${python2.4-dbm-patch:filename} [pythonbin] depends = ${python:recipe}