From bbd8389146f81d931e1d89ad2335d33589912a48 Mon Sep 17 00:00:00 2001 From: Marcus Alves Grando Date: Fri, 27 Jan 2006 21:16:04 +0000 Subject: * 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] --- databases/py-pysqlite23/Makefile | 9 +++------ databases/py-pysqlite23/distinfo | 6 +++--- databases/py-pysqlite23/files/patch-setup.py | 14 ++++++++++++++ databases/py-pysqlite23/pkg-plist | 1 - 4 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 databases/py-pysqlite23/files/patch-setup.py (limited to 'databases/py-pysqlite23') 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 -- cgit v1.2.3