diff options
author | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2013-03-01 20:12:01 +0000 |
---|---|---|
committer | Li-Wen Hsu <lwhsu@FreeBSD.org> | 2013-03-01 20:12:01 +0000 |
commit | 4e54190b40cb1ff1a2a891114bb7d3e3fe67fe80 (patch) | |
tree | 9e4d3fe5352ce6de3984761a86925f44ac9e3e62 /databases/py-gdbm/files/setup3.py | |
parent | - Update to 1.503 (diff) |
- Install standard libraries separated as other ports to the same place
with other standard libraries (${PYTHON_LIBDIR}/lib-dynload)
- Improve consistency of the Makefile(s)
- Whitespace cleanup for the patches
Notes
Notes:
svn path=/head/; revision=313167
Diffstat (limited to '')
-rw-r--r-- | databases/py-gdbm/files/setup3.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/py-gdbm/files/setup3.py b/databases/py-gdbm/files/setup3.py index 382264277fc6..8c2cea5ff32c 100644 --- a/databases/py-gdbm/files/setup3.py +++ b/databases/py-gdbm/files/setup3.py @@ -13,6 +13,8 @@ try: except: raise SystemExit("Distutils problem") +install.sub_commands = [x for x in install.sub_commands if 'egg' not in x[0]] + prefix = sysconfig.PREFIX inc_dirs = [prefix + "/include"] lib_dirs = [prefix + "/lib"] @@ -20,7 +22,7 @@ libs = ["gdbm"] setup(name = "gdbm", description = "GDBM Extension to Python", - + ext_modules = [Extension('gdbm', ['_gdbmmodule.c'], include_dirs = inc_dirs, libraries = libs, |