diff options
author | perky <perky@FreeBSD.org> | 2006-08-07 10:23:05 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2006-08-07 10:23:05 +0800 |
commit | 63368741a49545a849e93ab9d5218cfce946b63d (patch) | |
tree | 840700a261718c3ea4bfdb0ba737b8be88182db1 /databases/py-sqlite3 | |
parent | 6d7d1ed3cfe051695bee2375cb8f2ec6798e6409 (diff) | |
download | freebsd-ports-gnome-63368741a49545a849e93ab9d5218cfce946b63d.tar.gz freebsd-ports-gnome-63368741a49545a849e93ab9d5218cfce946b63d.tar.zst freebsd-ports-gnome-63368741a49545a849e93ab9d5218cfce946b63d.zip |
Make setup not to install an egg info file which isn't needed for
standard modules.
Diffstat (limited to 'databases/py-sqlite3')
-rw-r--r-- | databases/py-sqlite3/Makefile | 1 | ||||
-rw-r--r-- | databases/py-sqlite3/files/setup.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/databases/py-sqlite3/Makefile b/databases/py-sqlite3/Makefile index d742e1b47ef9..a7232d5c0775 100644 --- a/databases/py-sqlite3/Makefile +++ b/databases/py-sqlite3/Makefile @@ -7,6 +7,7 @@ PORTNAME= sqlite3 PORTVERSION= ${PYTHON_PORTVERSION} +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= ${PYTHON_MASTER_SITES} MASTER_SITE_SUBDIR= ${PYTHON_MASTER_SITE_SUBDIR} diff --git a/databases/py-sqlite3/files/setup.py b/databases/py-sqlite3/files/setup.py index ec0fd9ccc197..3805fc5afe8f 100644 --- a/databases/py-sqlite3/files/setup.py +++ b/databases/py-sqlite3/files/setup.py @@ -13,6 +13,9 @@ try: except: raise SystemExit, "Distutils problem" +install.sub_commands = filter(lambda (cmd, avl): 'egg' not in cmd, + install.sub_commands) + prefix = sysconfig.PREFIX inc_dirs = [prefix + "/include", "Modules/_sqlite"] lib_dirs = [prefix + "/lib"] |