aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-pysqlite20
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-11 00:11:34 +0800
committerpav <pav@FreeBSD.org>2004-05-11 00:11:34 +0800
commitdca871161c3821b1b9b78f23d3eeb1f4d09b5af5 (patch)
tree879f8793338d7cdcddd92d64f8fac6784e0bc2b7 /databases/py-pysqlite20
parent6c2c267470858f78f2c9da2cf8bf7f6f745a9dd7 (diff)
downloadfreebsd-ports-gnome-dca871161c3821b1b9b78f23d3eeb1f4d09b5af5.tar.gz
freebsd-ports-gnome-dca871161c3821b1b9b78f23d3eeb1f4d09b5af5.tar.zst
freebsd-ports-gnome-dca871161c3821b1b9b78f23d3eeb1f4d09b5af5.zip
- Update to 0.5.0
PR: ports/66364 Submitted by: Radim Kolar <hsn@netmag.cz> Approved by: maintainer
Diffstat (limited to 'databases/py-pysqlite20')
-rw-r--r--databases/py-pysqlite20/Makefile9
-rw-r--r--databases/py-pysqlite20/distinfo4
-rw-r--r--databases/py-pysqlite20/pkg-plist4
3 files changed, 11 insertions, 6 deletions
diff --git a/databases/py-pysqlite20/Makefile b/databases/py-pysqlite20/Makefile
index 96294269b42c..754820a663b9 100644
--- a/databases/py-pysqlite20/Makefile
+++ b/databases/py-pysqlite20/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-pysqlite20/distinfo b/databases/py-pysqlite20/distinfo
index 65309ca58305..d671f151651f 100644
--- a/databases/py-pysqlite20/distinfo
+++ b/databases/py-pysqlite20/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-pysqlite20/pkg-plist b/databases/py-pysqlite20/pkg-plist
index 14358a8698f5..a39b4c426ff5 100644
--- a/databases/py-pysqlite20/pkg-plist
+++ b/databases/py-pysqlite20/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%%