aboutsummaryrefslogtreecommitdiff
path: root/databases/py-PySQLite2
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-10 16:11:34 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-10 16:11:34 +0000
commit727fc149fa32b032f6400ca6ccca86c91a2e5062 (patch)
treef3ad2a4fcdd5d9630402be1a4397675030e689fc /databases/py-PySQLite2
parent205f24310683cb8d8a21ecc5ae3c4805dd832d0e (diff)
downloadports-727fc149fa32b032f6400ca6ccca86c91a2e5062.tar.gz
ports-727fc149fa32b032f6400ca6ccca86c91a2e5062.zip
Notes
Diffstat (limited to 'databases/py-PySQLite2')
-rw-r--r--databases/py-PySQLite2/Makefile9
-rw-r--r--databases/py-PySQLite2/distinfo4
-rw-r--r--databases/py-PySQLite2/pkg-plist4
3 files changed, 11 insertions, 6 deletions
diff --git a/databases/py-PySQLite2/Makefile b/databases/py-PySQLite2/Makefile
index 96294269b42c..754820a663b9 100644
--- a/databases/py-PySQLite2/Makefile
+++ b/databases/py-PySQLite2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= PySQLite
-PORTVERSION= 0.4.3
+PORTVERSION= 0.5.0
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pysqlite
@@ -19,14 +19,13 @@ COMMENT= A DB-API v2 Python library for the SQLite embedded SQL engine
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
-WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
+WRKSRC= ${WRKDIR}/pysqlite
+EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
USE_PYTHON= yes
USE_PYDISTUTILS= yes
DOCS= README
-PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S/^${LOCALBASE}\///g}
-
DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
@@ -37,6 +36,8 @@ post-install:
.for file in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
diff --git a/databases/py-PySQLite2/distinfo b/databases/py-PySQLite2/distinfo
index 65309ca58305..d671f151651f 100644
--- a/databases/py-PySQLite2/distinfo
+++ b/databases/py-PySQLite2/distinfo
@@ -1,2 +1,2 @@
-MD5 (pysqlite-0.4.3.tar.gz) = a55ae9b6f1968a5fe0df10731a5b5a7c
-SIZE (pysqlite-0.4.3.tar.gz) = 85594
+MD5 (pysqlite-0.5.0.tar.gz) = ecda08cd4e6d8c2af774a0f74a183122
+SIZE (pysqlite-0.5.0.tar.gz) = 47362
diff --git a/databases/py-PySQLite2/pkg-plist b/databases/py-PySQLite2/pkg-plist
index 14358a8698f5..a39b4c426ff5 100644
--- a/databases/py-PySQLite2/pkg-plist
+++ b/databases/py-PySQLite2/pkg-plist
@@ -8,3 +8,7 @@
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
%%PORTDOCS%%share/doc/py-PySQLite/README
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
+%%PORTDOCS%%%%EXAMPLESDIR%%/converters.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/dbapi_transactions.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/manual_transactions.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%