aboutsummaryrefslogtreecommitdiff
path: root/databases/py-pysqlite23
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-pysqlite23')
-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
4 files changed, 20 insertions, 10 deletions
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