aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-01-28 05:16:04 +0800
committermnag <mnag@FreeBSD.org>2006-01-28 05:16:04 +0800
commit8133f51aff8a134e5c5366577200fe42ab39b82e (patch)
tree9895b183bd0ba418d34b221aee4d3b1c6a46211e
parent636a619ca95b34252dacd305274385eaa70aa070 (diff)
downloadfreebsd-ports-gnome-8133f51aff8a134e5c5366577200fe42ab39b82e.tar.gz
freebsd-ports-gnome-8133f51aff8a134e5c5366577200fe42ab39b82e.tar.zst
freebsd-ports-gnome-8133f51aff8a134e5c5366577200fe42ab39b82e.zip
* MOVED
Add entry about databases/py-PySQLite2 -> databases/py-pysqlite20 * databases/Makefile Remove py-PySQLite2 Add entry to py-pysqlite20 and py-pysqlite21 * databases/py-PySQLite10, databases/py-PySQLite11 Mark NO_LATEST_LINK portlint(1) * databases/py-PySQLite2 Removed * databases/py-pysqlite20 [1] Update CONFLICTS Mark NO_LATEST_LINK portlint(1) * databases/py-pysqlite21 [1] Update to 2.1.2 Update CONFLICTS portlint(1) Repocopy by: marcus [1]
-rw-r--r--MOVED1
-rw-r--r--databases/Makefile3
-rw-r--r--databases/py-PySQLite10/Makefile3
-rw-r--r--databases/py-PySQLite11/Makefile31
-rw-r--r--databases/py-PySQLite2/Makefile49
-rw-r--r--databases/py-PySQLite2/distinfo3
-rw-r--r--databases/py-PySQLite2/pkg-descr9
-rw-r--r--databases/py-PySQLite2/pkg-plist28
-rw-r--r--databases/py-pysqlite20/Makefile7
-rw-r--r--databases/py-pysqlite21/Makefile9
-rw-r--r--databases/py-pysqlite21/distinfo6
-rw-r--r--databases/py-pysqlite21/files/patch-setup.py14
-rw-r--r--databases/py-pysqlite21/pkg-plist1
-rw-r--r--databases/py-pysqlite22/Makefile9
-rw-r--r--databases/py-pysqlite22/distinfo6
-rw-r--r--databases/py-pysqlite22/files/patch-setup.py14
-rw-r--r--databases/py-pysqlite22/pkg-plist1
-rw-r--r--databases/py-pysqlite23/Makefile9
-rw-r--r--databases/py-pysqlite23/distinfo6
-rw-r--r--databases/py-pysqlite23/files/patch-setup.py14
-rw-r--r--databases/py-pysqlite23/pkg-plist1
21 files changed, 83 insertions, 141 deletions
diff --git a/MOVED b/MOVED
index 8a557142ec2f..c28e1bfa82a8 100644
--- a/MOVED
+++ b/MOVED
@@ -2054,3 +2054,4 @@ databases/myodbc|databases/mysql-connector-odbc|2006-01-17|Now called MySQL Conn
devel/p5-release|devel/p5-Module-Release|2006-01-23|module was renamed
www/zope31|www/zope3|2006-01-23|Renamed to zope3 when updated to 3.2
mail/qmailadmin-devel|mail/qmailadmin|2006-01-27|Devel releases are no longer maintained
+databases/py-PySQLite2|databases/py-pysqlite20|2006-01-27|Moved
diff --git a/databases/Makefile b/databases/Makefile
index c1a1e6810790..829f84db02b5 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -337,7 +337,8 @@
SUBDIR += py-PyGreSQL
SUBDIR += py-PySQLite10
SUBDIR += py-PySQLite11
- SUBDIR += py-PySQLite2
+ SUBDIR += py-pysqlite20
+ SUBDIR += py-pysqlite21
SUBDIR += py-SQLDict
SUBDIR += py-bsddb
SUBDIR += py-bsddb3
diff --git a/databases/py-PySQLite10/Makefile b/databases/py-PySQLite10/Makefile
index d42ed4968274..a319394d3216 100644
--- a/databases/py-PySQLite10/Makefile
+++ b/databases/py-PySQLite10/Makefile
@@ -18,12 +18,13 @@ COMMENT= A DB-API v2 Python library for the SQLite 2 embedded SQL engine
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2
+NO_LATEST_LINK= yes
+
CONFLICTS= py*-PySQLite-1.1*
WRKSRC= ${WRKDIR}/pysqlite
USE_PYTHON= yes
USE_PYDISTUTILS=yes
-USE_REINPLACE= yes
MAKE_ENV= LOCALBASE="${LOCALBASE}"
PORTDOCS= *
diff --git a/databases/py-PySQLite11/Makefile b/databases/py-PySQLite11/Makefile
index 59758c7b3d24..9c22aea7b295 100644
--- a/databases/py-PySQLite11/Makefile
+++ b/databases/py-PySQLite11/Makefile
@@ -5,30 +5,29 @@
# $FreeBSD$
#
-PORTNAME= PySQLite
-PORTVERSION= 1.1.6
-CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+PORTNAME= PySQLite
+PORTVERSION= 1.1.6
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pysqlite
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= pysqlite-${PORTVERSION}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pysqlite-${PORTVERSION}
-MAINTAINER= mnag@FreeBSD.org
-COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
+MAINTAINER= mnag@FreeBSD.org
+COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
-LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
+LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}11
+CONFLICTS= py*-PySQLite-1.0*
-CONFLICTS= py*-PySQLite-1.0*
+NO_LATEST_LINK= yes
-WRKSRC= ${WRKDIR}/pysqlite
-USE_PYTHON= yes
+WRKSRC= ${WRKDIR}/pysqlite
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
-USE_REINPLACE= yes
-MAKE_ENV= LOCALBASE="${LOCALBASE}"
+MAKE_ENV= LOCALBASE="${LOCALBASE}"
-PORTDOCS= *
+PORTDOCS= *
post-patch:
@${REINPLACE_CMD} -e 's|"freebsd5",|"freebsd5", "freebsd6", "freebsd7",|' \
diff --git a/databases/py-PySQLite2/Makefile b/databases/py-PySQLite2/Makefile
deleted file mode 100644
index 38d026760eb1..000000000000
--- a/databases/py-PySQLite2/Makefile
+++ /dev/null
@@ -1,49 +0,0 @@
-# New ports collection makefile for: py-PySQLite
-# Date created: 02 Oct 2002
-# Whom: Gerhard Haering <gerhard.haering@gmx.de>
-#
-# $FreeBSD$
-#
-
-PORTNAME= pysqlite
-PORTVERSION= 2.0.5
-CATEGORIES= databases python
-MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.0/${PORTVERSION}/ \
- ${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR= distfiles
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= mnag@FreeBSD.org
-COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
-
-LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}2
-
-USE_REINPLACE= yes
-USE_PYTHON= 2.3+
-USE_PYDISTUTILS= yes
-PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
-DOCSBASE= share/doc/py-${PORTNAME}2
-DOCSDIR= ${PREFIX}/${DOCSBASE}
-
-.if !defined(NOPORTDOCS)
-PORTDOCS= *
-.endif
-
-pre-configure:
- @${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
-.if !defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e "s|pysqlite2-doc|${DOCSBASE}|" ${WRKSRC}/setup.py
-.else
- @${REINPLACE_CMD} -e "s|data_files = data_files,||" ${WRKSRC}/setup.py
-.endif
-
-post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${MKDIR} ${DOCSDIR}/code
- @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}
-.endif
-
-.include <bsd.port.mk>
diff --git a/databases/py-PySQLite2/distinfo b/databases/py-PySQLite2/distinfo
deleted file mode 100644
index bd063333d19e..000000000000
--- a/databases/py-PySQLite2/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (pysqlite-2.0.5.tar.gz) = 574bbb4f7b3a077506689cbab0d9bf7f
-SHA256 (pysqlite-2.0.5.tar.gz) = c1369d26310988260aca172b189bbafb3baa8bee2c8eef0c972b209d668b4da5
-SIZE (pysqlite-2.0.5.tar.gz) = 57526
diff --git a/databases/py-PySQLite2/pkg-descr b/databases/py-PySQLite2/pkg-descr
deleted file mode 100644
index 5aaec324c4e9..000000000000
--- a/databases/py-PySQLite2/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-The goal of the PySQLite project is to develop a Python extension for SQLite 3
-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.org
-
-Marcus Alves Grando <mnag@FreeBSD.org>
diff --git a/databases/py-PySQLite2/pkg-plist b/databases/py-PySQLite2/pkg-plist
deleted file mode 100644
index f20edff0ce0e..000000000000
--- a/databases/py-PySQLite2/pkg-plist
+++ /dev/null
@@ -1,28 +0,0 @@
-bin/test-pysqlite
-%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/_sqlite.so
-%%PYTHON_SITELIBDIR%%/pysqlite2/dbapi2.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/dbapi2.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/dbapi2.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/__init__.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/__init__.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/__init__.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/dbapi.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/dbapi.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/dbapi.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/factory.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/factory.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/factory.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/transactions.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/transactions.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/transactions.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/types.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/types.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/types.pyo
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/userfunctions.py
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/userfunctions.pyc
-%%PYTHON_SITELIBDIR%%/pysqlite2/test/userfunctions.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/pysqlite2/test
-@dirrm %%PYTHON_SITELIBDIR%%/pysqlite2
diff --git a/databases/py-pysqlite20/Makefile b/databases/py-pysqlite20/Makefile
index 38d026760eb1..cb00f6932c98 100644
--- a/databases/py-pysqlite20/Makefile
+++ b/databases/py-pysqlite20/Makefile
@@ -18,18 +18,17 @@ COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}2
+CONFLICTS= py*-pysqlite-2.1*
+
+NO_LATEST_LINK= yes
-USE_REINPLACE= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
DOCSBASE= share/doc/py-${PORTNAME}2
DOCSDIR= ${PREFIX}/${DOCSBASE}
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
pre-configure:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
diff --git a/databases/py-pysqlite21/Makefile b/databases/py-pysqlite21/Makefile
index 38d026760eb1..e04da4d72127 100644
--- a/databases/py-pysqlite21/Makefile
+++ b/databases/py-pysqlite21/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= pysqlite
-PORTVERSION= 2.0.5
+PORTVERSION= 2.1.2
CATEGORIES= databases python
-MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.0/${PORTVERSION}/ \
+MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.1/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,18 +18,15 @@ COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}2
+CONFLICTS= py*-pysqlite-2.0*
-USE_REINPLACE= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
DOCSBASE= share/doc/py-${PORTNAME}2
DOCSDIR= ${PREFIX}/${DOCSBASE}
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
pre-configure:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
diff --git a/databases/py-pysqlite21/distinfo b/databases/py-pysqlite21/distinfo
index bd063333d19e..de713a9614f2 100644
--- a/databases/py-pysqlite21/distinfo
+++ b/databases/py-pysqlite21/distinfo
@@ -1,3 +1,3 @@
-MD5 (pysqlite-2.0.5.tar.gz) = 574bbb4f7b3a077506689cbab0d9bf7f
-SHA256 (pysqlite-2.0.5.tar.gz) = c1369d26310988260aca172b189bbafb3baa8bee2c8eef0c972b209d668b4da5
-SIZE (pysqlite-2.0.5.tar.gz) = 57526
+MD5 (pysqlite-2.1.2.tar.gz) = e1bf39382965f3169cf81a3313c2c0e8
+SHA256 (pysqlite-2.1.2.tar.gz) = 788ff2690eb2c63508837f97ca7e9611d44b5e85c089ab98ea1a9b0406fe1c78
+SIZE (pysqlite-2.1.2.tar.gz) = 240289
diff --git a/databases/py-pysqlite21/files/patch-setup.py b/databases/py-pysqlite21/files/patch-setup.py
new file mode 100644
index 000000000000..ef2d74fbc889
--- /dev/null
+++ b/databases/py-pysqlite21/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- ./setup.py.orig Fri Jan 27 17:35:03 2006
++++ ./setup.py Fri Jan 27 17:35:26 2006
+@@ -23,10 +23,7 @@
+
+ import glob, os, sys
+
+-from ez_setup import use_setuptools
+-use_setuptools()
+-
+-from setuptools import setup, Extension, Command
++from distutils.core import setup, Extension, Command
+
+ # If you need to change anything, it should be enough to change setup.cfg.
+
diff --git a/databases/py-pysqlite21/pkg-plist b/databases/py-pysqlite21/pkg-plist
index f20edff0ce0e..e90efff688e3 100644
--- a/databases/py-pysqlite21/pkg-plist
+++ b/databases/py-pysqlite21/pkg-plist
@@ -1,4 +1,3 @@
-bin/test-pysqlite
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.py
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyc
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyo
diff --git a/databases/py-pysqlite22/Makefile b/databases/py-pysqlite22/Makefile
index 38d026760eb1..e04da4d72127 100644
--- a/databases/py-pysqlite22/Makefile
+++ b/databases/py-pysqlite22/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= pysqlite
-PORTVERSION= 2.0.5
+PORTVERSION= 2.1.2
CATEGORIES= databases python
-MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.0/${PORTVERSION}/ \
+MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.1/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,18 +18,15 @@ COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}2
+CONFLICTS= py*-pysqlite-2.0*
-USE_REINPLACE= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
DOCSBASE= share/doc/py-${PORTNAME}2
DOCSDIR= ${PREFIX}/${DOCSBASE}
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
pre-configure:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
diff --git a/databases/py-pysqlite22/distinfo b/databases/py-pysqlite22/distinfo
index bd063333d19e..de713a9614f2 100644
--- a/databases/py-pysqlite22/distinfo
+++ b/databases/py-pysqlite22/distinfo
@@ -1,3 +1,3 @@
-MD5 (pysqlite-2.0.5.tar.gz) = 574bbb4f7b3a077506689cbab0d9bf7f
-SHA256 (pysqlite-2.0.5.tar.gz) = c1369d26310988260aca172b189bbafb3baa8bee2c8eef0c972b209d668b4da5
-SIZE (pysqlite-2.0.5.tar.gz) = 57526
+MD5 (pysqlite-2.1.2.tar.gz) = e1bf39382965f3169cf81a3313c2c0e8
+SHA256 (pysqlite-2.1.2.tar.gz) = 788ff2690eb2c63508837f97ca7e9611d44b5e85c089ab98ea1a9b0406fe1c78
+SIZE (pysqlite-2.1.2.tar.gz) = 240289
diff --git a/databases/py-pysqlite22/files/patch-setup.py b/databases/py-pysqlite22/files/patch-setup.py
new file mode 100644
index 000000000000..ef2d74fbc889
--- /dev/null
+++ b/databases/py-pysqlite22/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- ./setup.py.orig Fri Jan 27 17:35:03 2006
++++ ./setup.py Fri Jan 27 17:35:26 2006
+@@ -23,10 +23,7 @@
+
+ import glob, os, sys
+
+-from ez_setup import use_setuptools
+-use_setuptools()
+-
+-from setuptools import setup, Extension, Command
++from distutils.core import setup, Extension, Command
+
+ # If you need to change anything, it should be enough to change setup.cfg.
+
diff --git a/databases/py-pysqlite22/pkg-plist b/databases/py-pysqlite22/pkg-plist
index f20edff0ce0e..e90efff688e3 100644
--- a/databases/py-pysqlite22/pkg-plist
+++ b/databases/py-pysqlite22/pkg-plist
@@ -1,4 +1,3 @@
-bin/test-pysqlite
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.py
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyc
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyo
diff --git a/databases/py-pysqlite23/Makefile b/databases/py-pysqlite23/Makefile
index 38d026760eb1..e04da4d72127 100644
--- a/databases/py-pysqlite23/Makefile
+++ b/databases/py-pysqlite23/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= pysqlite
-PORTVERSION= 2.0.5
+PORTVERSION= 2.1.2
CATEGORIES= databases python
-MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.0/${PORTVERSION}/ \
+MASTER_SITES= http://initd.org/pub/software/pysqlite/releases/2.1/${PORTVERSION}/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,18 +18,15 @@ COMMENT= A DB-API v2 Python library for the SQLite 3 embedded SQL engine
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3
-LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}2
+CONFLICTS= py*-pysqlite-2.0*
-USE_REINPLACE= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
DOCSBASE= share/doc/py-${PORTNAME}2
DOCSDIR= ${PREFIX}/${DOCSBASE}
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
pre-configure:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|" ${WRKSRC}/setup.cfg
diff --git a/databases/py-pysqlite23/distinfo b/databases/py-pysqlite23/distinfo
index bd063333d19e..de713a9614f2 100644
--- a/databases/py-pysqlite23/distinfo
+++ b/databases/py-pysqlite23/distinfo
@@ -1,3 +1,3 @@
-MD5 (pysqlite-2.0.5.tar.gz) = 574bbb4f7b3a077506689cbab0d9bf7f
-SHA256 (pysqlite-2.0.5.tar.gz) = c1369d26310988260aca172b189bbafb3baa8bee2c8eef0c972b209d668b4da5
-SIZE (pysqlite-2.0.5.tar.gz) = 57526
+MD5 (pysqlite-2.1.2.tar.gz) = e1bf39382965f3169cf81a3313c2c0e8
+SHA256 (pysqlite-2.1.2.tar.gz) = 788ff2690eb2c63508837f97ca7e9611d44b5e85c089ab98ea1a9b0406fe1c78
+SIZE (pysqlite-2.1.2.tar.gz) = 240289
diff --git a/databases/py-pysqlite23/files/patch-setup.py b/databases/py-pysqlite23/files/patch-setup.py
new file mode 100644
index 000000000000..ef2d74fbc889
--- /dev/null
+++ b/databases/py-pysqlite23/files/patch-setup.py
@@ -0,0 +1,14 @@
+--- ./setup.py.orig Fri Jan 27 17:35:03 2006
++++ ./setup.py Fri Jan 27 17:35:26 2006
+@@ -23,10 +23,7 @@
+
+ import glob, os, sys
+
+-from ez_setup import use_setuptools
+-use_setuptools()
+-
+-from setuptools import setup, Extension, Command
++from distutils.core import setup, Extension, Command
+
+ # If you need to change anything, it should be enough to change setup.cfg.
+
diff --git a/databases/py-pysqlite23/pkg-plist b/databases/py-pysqlite23/pkg-plist
index f20edff0ce0e..e90efff688e3 100644
--- a/databases/py-pysqlite23/pkg-plist
+++ b/databases/py-pysqlite23/pkg-plist
@@ -1,4 +1,3 @@
-bin/test-pysqlite
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.py
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyc
%%PYTHON_SITELIBDIR%%/pysqlite2/__init__.pyo