aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-sqlite3
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2006-08-07 10:23:05 +0800
committerperky <perky@FreeBSD.org>2006-08-07 10:23:05 +0800
commit63368741a49545a849e93ab9d5218cfce946b63d (patch)
tree840700a261718c3ea4bfdb0ba737b8be88182db1 /databases/py-sqlite3
parent6d7d1ed3cfe051695bee2375cb8f2ec6798e6409 (diff)
downloadfreebsd-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/Makefile1
-rw-r--r--databases/py-sqlite3/files/setup.py3
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"]