aboutsummaryrefslogtreecommitdiff
path: root/databases/py-sqlite3
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2006-08-07 02:23:05 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2006-08-07 02:23:05 +0000
commitf0f91e6954c245fbd16f5bf8553065b689db6dda (patch)
tree59639670747d0c990e1add7092c75cfa812cac3a /databases/py-sqlite3
parentefe02823d752711d2e392b45f8358cc48efbd1a5 (diff)
downloadports-f0f91e6954c245fbd16f5bf8553065b689db6dda.tar.gz
ports-f0f91e6954c245fbd16f5bf8553065b689db6dda.zip
Make setup not to install an egg info file which isn't needed for
standard modules.
Notes
Notes: svn path=/head/; revision=169882
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"]