summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt>2011-01-27 15:14:54 +0000
committergdt <gdt>2011-01-27 15:14:54 +0000
commit2afd54553f9340f6c2d3fdd58e7ee47ee612b1c5 (patch)
tree177c43151ed58c9bc051a259012675299a2ff835
parent8bc27dc575ffb4c92ec9cba803c9a2e3ad7fe57a (diff)
downloadpkgsrc-2afd54553f9340f6c2d3fdd58e7ee47ee612b1c5.tar.gz
Use distutils.mk instead of extension.mk, and add egg file to PLIST.
(distutils.mk includes extension; this change simply adds the egg metadata file that other python programs expect to find.)
-rw-r--r--databases/py-sqlite2/Makefile7
-rw-r--r--databases/py-sqlite2/PLIST3
2 files changed, 5 insertions, 5 deletions
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile
index bf73015624b..c7291c0edb9 100644
--- a/databases/py-sqlite2/Makefile
+++ b/databases/py-sqlite2/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2010/10/02 06:11:03 obache Exp $
+# $NetBSD: Makefile,v 1.21.4.1 2011/01/27 15:14:54 gdt Exp $
DISTNAME= pysqlite-2.6.0
PKGNAME= ${PYPKGPREFIX}-sqlite2-2.6.0
+PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= http://pysqlite.googlecode.com/files/
@@ -11,9 +12,7 @@ COMMENT= SQLite database adapter for Python
PKG_DESTDIR_SUPPORT= user-destdir
-PYDISTUTILSPKG= yes
-
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/distutils.mk"
.if !defined(PYPACKAGE) || ${PYPACKAGE} != "python24"
PLIST.python25= yes
diff --git a/databases/py-sqlite2/PLIST b/databases/py-sqlite2/PLIST
index 0178055ff69..c161a4a614f 100644
--- a/databases/py-sqlite2/PLIST
+++ b/databases/py-sqlite2/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.8 2010/10/02 06:11:03 obache Exp $
+@comment $NetBSD: PLIST,v 1.8.4.1 2011/01/27 15:14:54 gdt Exp $
+${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/pysqlite2/__init__.py
${PYSITELIB}/pysqlite2/__init__.pyc
${PYSITELIB}/pysqlite2/__init__.pyo