mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
New port: databases/py-PySQLite
The goal of the PySQLite project is to develop a Python extension for SQLite that conforms to the Python Database API Specification 2.0. SQLite is a powerful embedded relational database management system in a compact C library. It offers support for a large subset of SQL92, multiple tables, indices, transactions and triggers. PR: ports/43571 Submitted by: Gerhard Häring <gerhard.haering@gmx.de>
This commit is contained in:
parent
ec5aae7ae6
commit
7d239c3de3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=74922
@ -138,6 +138,7 @@
|
||||
SUBDIR += py-MySQL
|
||||
SUBDIR += py-MySQLdb
|
||||
SUBDIR += py-PyGreSQL
|
||||
SUBDIR += py-PySQLite
|
||||
SUBDIR += py-SQLDict
|
||||
SUBDIR += py-bsddb3
|
||||
SUBDIR += py-cdb
|
||||
|
46
databases/py-PySQLite/Makefile
Normal file
46
databases/py-PySQLite/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-PySQLite/distinfo
Normal file
1
databases/py-PySQLite/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-PySQLite/files/patch-setup.py
Normal file
11
databases/py-PySQLite/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-PySQLite/pkg-comment
Normal file
1
databases/py-PySQLite/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-PySQLite/pkg-descr
Normal file
10
databases/py-PySQLite/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-PySQLite/pkg-plist
Normal file
26
databases/py-PySQLite/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-PySQLite10/Makefile
Normal file
46
databases/py-PySQLite10/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-PySQLite10/distinfo
Normal file
1
databases/py-PySQLite10/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-PySQLite10/files/patch-setup.py
Normal file
11
databases/py-PySQLite10/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-PySQLite10/pkg-comment
Normal file
1
databases/py-PySQLite10/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-PySQLite10/pkg-descr
Normal file
10
databases/py-PySQLite10/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-PySQLite10/pkg-plist
Normal file
26
databases/py-PySQLite10/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-PySQLite11/Makefile
Normal file
46
databases/py-PySQLite11/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-PySQLite11/distinfo
Normal file
1
databases/py-PySQLite11/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-PySQLite11/files/patch-setup.py
Normal file
11
databases/py-PySQLite11/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-PySQLite11/pkg-comment
Normal file
1
databases/py-PySQLite11/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-PySQLite11/pkg-descr
Normal file
10
databases/py-PySQLite11/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-PySQLite11/pkg-plist
Normal file
26
databases/py-PySQLite11/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-PySQLite2/Makefile
Normal file
46
databases/py-PySQLite2/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-PySQLite2/distinfo
Normal file
1
databases/py-PySQLite2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-PySQLite2/files/patch-setup.py
Normal file
11
databases/py-PySQLite2/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-PySQLite2/pkg-comment
Normal file
1
databases/py-PySQLite2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-PySQLite2/pkg-descr
Normal file
10
databases/py-PySQLite2/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-PySQLite2/pkg-plist
Normal file
26
databases/py-PySQLite2/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-pysqlite20/Makefile
Normal file
46
databases/py-pysqlite20/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-pysqlite20/distinfo
Normal file
1
databases/py-pysqlite20/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-pysqlite20/files/patch-setup.py
Normal file
11
databases/py-pysqlite20/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-pysqlite20/pkg-comment
Normal file
1
databases/py-pysqlite20/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-pysqlite20/pkg-descr
Normal file
10
databases/py-pysqlite20/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-pysqlite20/pkg-plist
Normal file
26
databases/py-pysqlite20/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-pysqlite21/Makefile
Normal file
46
databases/py-pysqlite21/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-pysqlite21/distinfo
Normal file
1
databases/py-pysqlite21/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-pysqlite21/files/patch-setup.py
Normal file
11
databases/py-pysqlite21/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-pysqlite21/pkg-comment
Normal file
1
databases/py-pysqlite21/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-pysqlite21/pkg-descr
Normal file
10
databases/py-pysqlite21/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-pysqlite21/pkg-plist
Normal file
26
databases/py-pysqlite21/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-pysqlite22/Makefile
Normal file
46
databases/py-pysqlite22/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-pysqlite22/distinfo
Normal file
1
databases/py-pysqlite22/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-pysqlite22/files/patch-setup.py
Normal file
11
databases/py-pysqlite22/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-pysqlite22/pkg-comment
Normal file
1
databases/py-pysqlite22/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-pysqlite22/pkg-descr
Normal file
10
databases/py-pysqlite22/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-pysqlite22/pkg-plist
Normal file
26
databases/py-pysqlite22/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
46
databases/py-pysqlite23/Makefile
Normal file
46
databases/py-pysqlite23/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# New ports collection makefile for: py-PySQLite
|
||||
# Date created: 02 Oct 2002
|
||||
# Whom: Gerhard Haering <gerhard.haering@gmx.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= PySQLite
|
||||
PORTVERSION= 0.3.0
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pysqlite
|
||||
PKGNAMEPREFIX= py-
|
||||
DISTNAME= pysqlite-${PORTVERSION}
|
||||
|
||||
MAINTAINER= gerhard.haering@gmx.de
|
||||
|
||||
RUN_DEPENDS= ${DATETIME_DEP}:${PORTSDIR}/lang/py-mx-base
|
||||
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
|
||||
|
||||
WRKSRC= ${WRKDIR}/pysqlite-${PORTVERSION}
|
||||
USE_PYTHON= yes
|
||||
USE_REINPLACE= 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}
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's^/usr/local/include/sqlite^${LOCALBASE}/include^g' ${WRKSRC}/setup.py
|
||||
${REINPLACE_CMD} -e 's^/usr/local/lib^${LOCALBASE}/lib^g' ${WRKSRC}/setup.py
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
post-install:
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/py-pysqlite23/distinfo
Normal file
1
databases/py-pysqlite23/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pysqlite-0.3.0.tar.gz) = c207d45ab958dabeba30162fca27a675
|
11
databases/py-pysqlite23/files/patch-setup.py
Normal file
11
databases/py-pysqlite23/files/patch-setup.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- setup.py.orig Wed Feb 5 16:17:16 2003
|
||||
+++ setup.py Wed Feb 5 16:17:26 2003
|
||||
@@ -14,7 +14,7 @@
|
||||
libraries = [sqlite]
|
||||
runtime_library_dirs = []
|
||||
extra_objects = []
|
||||
-elif sys.platform in ("freebsd4", "openbsd2"):
|
||||
+elif sys.platform in ("freebsd4", "freebsd5", "openbsd2"):
|
||||
include_dirs = ['/usr/local/include/sqlite']
|
||||
library_dirs = ['/usr/local/lib/']
|
||||
libraries = [sqlite]
|
1
databases/py-pysqlite23/pkg-comment
Normal file
1
databases/py-pysqlite23/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A DB-API v2 Python library for the SQLite embedded SQL engine
|
10
databases/py-pysqlite23/pkg-descr
Normal file
10
databases/py-pysqlite23/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The goal of the PySQLite project is to develop a Python extension for SQLite
|
||||
that conforms to the Python Database API Specification 2.0. SQLite is a
|
||||
powerful embedded relational database management system in a compact C library.
|
||||
It offers support for a large subset of SQL92, multiple tables, indices,
|
||||
transactions and triggers.
|
||||
|
||||
WWW: http://pysqlite.sourceforge.net/
|
||||
developed by Gerhard Haering and Michael Owens
|
||||
|
||||
- Gerhard Haering <gerhard.haering@gmx.de>
|
26
databases/py-pysqlite23/pkg-plist
Normal file
26
databases/py-pysqlite23/pkg-plist
Normal file
@ -0,0 +1,26 @@
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.py
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysqlite_exceptions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/main.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/threadutils.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/constants/FIELD_TYPE.pyo
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.py
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyc
|
||||
%%PYTHON_SITELIBDIR%%/sqlite/py22features.pyo
|
||||
%%PYTHON_SITELIBDIR%%/_sqlite.so
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite/constants
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/sqlite
|
||||
%%PORTDOCS%%share/doc/py-PySQLite/README
|
||||
%%PORTDOCS%%@dirrm share/doc/py-PySQLite
|
Loading…
x
Reference in New Issue
Block a user