diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-10 16:11:34 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-10 16:11:34 +0000 |
commit | 727fc149fa32b032f6400ca6ccca86c91a2e5062 (patch) | |
tree | f3ad2a4fcdd5d9630402be1a4397675030e689fc /databases | |
parent | 205f24310683cb8d8a21ecc5ae3c4805dd832d0e (diff) | |
download | ports-727fc149fa32b032f6400ca6ccca86c91a2e5062.tar.gz ports-727fc149fa32b032f6400ca6ccca86c91a2e5062.zip |
- Update to 0.5.0
PR: ports/66364
Submitted by: Radim Kolar <hsn@netmag.cz>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=108854
Diffstat (limited to 'databases')
24 files changed, 88 insertions, 48 deletions
diff --git a/databases/py-PySQLite/Makefile b/databases/py-PySQLite/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-PySQLite/Makefile +++ b/databases/py-PySQLite/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-PySQLite/distinfo b/databases/py-PySQLite/distinfo index 65309ca58305..d671f151651f 100644 --- a/databases/py-PySQLite/distinfo +++ b/databases/py-PySQLite/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-PySQLite/pkg-plist b/databases/py-PySQLite/pkg-plist index 14358a8698f5..a39b4c426ff5 100644 --- a/databases/py-PySQLite/pkg-plist +++ b/databases/py-PySQLite/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%% diff --git a/databases/py-PySQLite10/Makefile b/databases/py-PySQLite10/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-PySQLite10/Makefile +++ b/databases/py-PySQLite10/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-PySQLite10/distinfo b/databases/py-PySQLite10/distinfo index 65309ca58305..d671f151651f 100644 --- a/databases/py-PySQLite10/distinfo +++ b/databases/py-PySQLite10/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-PySQLite10/pkg-plist b/databases/py-PySQLite10/pkg-plist index 14358a8698f5..a39b4c426ff5 100644 --- a/databases/py-PySQLite10/pkg-plist +++ b/databases/py-PySQLite10/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%% diff --git a/databases/py-PySQLite11/Makefile b/databases/py-PySQLite11/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-PySQLite11/Makefile +++ b/databases/py-PySQLite11/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-PySQLite11/distinfo b/databases/py-PySQLite11/distinfo index 65309ca58305..d671f151651f 100644 --- a/databases/py-PySQLite11/distinfo +++ b/databases/py-PySQLite11/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-PySQLite11/pkg-plist b/databases/py-PySQLite11/pkg-plist index 14358a8698f5..a39b4c426ff5 100644 --- a/databases/py-PySQLite11/pkg-plist +++ b/databases/py-PySQLite11/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%% 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%% 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%% diff --git a/databases/py-pysqlite21/Makefile b/databases/py-pysqlite21/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-pysqlite21/Makefile +++ b/databases/py-pysqlite21/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-pysqlite21/distinfo b/databases/py-pysqlite21/distinfo index 65309ca58305..d671f151651f 100644 --- a/databases/py-pysqlite21/distinfo +++ b/databases/py-pysqlite21/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-pysqlite21/pkg-plist b/databases/py-pysqlite21/pkg-plist index 14358a8698f5..a39b4c426ff5 100644 --- a/databases/py-pysqlite21/pkg-plist +++ b/databases/py-pysqlite21/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%% diff --git a/databases/py-pysqlite22/Makefile b/databases/py-pysqlite22/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-pysqlite22/Makefile +++ b/databases/py-pysqlite22/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-pysqlite22/distinfo b/databases/py-pysqlite22/distinfo index 65309ca58305..d671f151651f 100644 --- a/databases/py-pysqlite22/distinfo +++ b/databases/py-pysqlite22/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-pysqlite22/pkg-plist b/databases/py-pysqlite22/pkg-plist index 14358a8698f5..a39b4c426ff5 100644 --- a/databases/py-pysqlite22/pkg-plist +++ b/databases/py-pysqlite22/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%% diff --git a/databases/py-pysqlite23/Makefile b/databases/py-pysqlite23/Makefile index 96294269b42c..754820a663b9 100644 --- a/databases/py-pysqlite23/Makefile +++ b/databases/py-pysqlite23/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-pysqlite23/distinfo b/databases/py-pysqlite23/distinfo index 65309ca58305..d671f151651f 100644 --- a/databases/py-pysqlite23/distinfo +++ b/databases/py-pysqlite23/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-pysqlite23/pkg-plist b/databases/py-pysqlite23/pkg-plist index 14358a8698f5..a39b4c426ff5 100644 --- a/databases/py-pysqlite23/pkg-plist +++ b/databases/py-pysqlite23/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%% |