summaryrefslogtreecommitdiff
path: root/databases/py-mysqldb
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-mysqldb')
-rw-r--r--databases/py-mysqldb/DESCR2
-rw-r--r--databases/py-mysqldb/Makefile30
-rw-r--r--databases/py-mysqldb/PLIST49
-rw-r--r--databases/py-mysqldb/distinfo7
-rw-r--r--databases/py-mysqldb/files/Setup.in5
-rw-r--r--databases/py-mysqldb/patches/patch-aa79
-rw-r--r--databases/py-mysqldb/patches/patch-ab24
7 files changed, 0 insertions, 196 deletions
diff --git a/databases/py-mysqldb/DESCR b/databases/py-mysqldb/DESCR
deleted file mode 100644
index 7e0dd10d3f3..00000000000
--- a/databases/py-mysqldb/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-MySQLdb is a Python interace to the MySQL client library,
-allowing Python programs to access MySQL databases.
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile
deleted file mode 100644
index fc6a3259349..00000000000
--- a/databases/py-mysqldb/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD: Makefile,v 1.22 2006/02/05 23:08:36 joerg Exp $
-
-DISTNAME= MySQL-python-0.9.2
-PKGNAME= ${PYPKGPREFIX}-mysqldb-0.9.2
-PKGREVISION= 3
-CATEGORIES= databases python
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mysql-python/}
-
-MAINTAINER= tsarna@NetBSD.org
-HOMEPAGE= http://sourceforge.net/projects/mysql-python
-COMMENT= MySQL interface for Python
-
-PYDISTUTILSPKG= yes
-PY_PATCHPLIST= yes
-
-.include "../../mk/mysql.buildlink3.mk"
-.include "../../lang/python/extension.mk"
-
-# To pickup python version info
-pre-configure:
- ${SED} -e "s|@MYSQLPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
- -e "s|@MYSQLRTPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
- <${WRKSRC}/setup.py >${WRKSRC}/setup.py.tmp
-.if ${PYPKGPREFIX:Mpy20} == "py20"
- ${SED} -e "s|platforms = .ALL.|#platforms = \"ALL\"|" <${WRKSRC}/setup.py.tmp > ${WRKSRC}/setup.py.tmp2
- ${MV} ${WRKSRC}/setup.py.tmp2 ${WRKSRC}/setup.py.tmp
-.endif
- ${MV} ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-mysqldb/PLIST b/databases/py-mysqldb/PLIST
deleted file mode 100644
index b52aaea7a9f..00000000000
--- a/databases/py-mysqldb/PLIST
+++ /dev/null
@@ -1,49 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2003/09/14 16:43:48 recht Exp $
-${PYSITELIB}/CompatMysqldb.py
-${PYSITELIB}/CompatMysqldb.pyc
-${PYSITELIB}/CompatMysqldb.pyo
-${PYSITELIB}/MySQLdb/__init__.py
-${PYSITELIB}/MySQLdb/__init__.pyc
-${PYSITELIB}/MySQLdb/__init__.pyo
-${PYSITELIB}/MySQLdb/connections.py
-${PYSITELIB}/MySQLdb/connections.pyc
-${PYSITELIB}/MySQLdb/connections.pyo
-${PYSITELIB}/MySQLdb/constants/CLIENT.py
-${PYSITELIB}/MySQLdb/constants/CLIENT.pyc
-${PYSITELIB}/MySQLdb/constants/CLIENT.pyo
-${PYSITELIB}/MySQLdb/constants/CR.py
-${PYSITELIB}/MySQLdb/constants/CR.pyc
-${PYSITELIB}/MySQLdb/constants/CR.pyo
-${PYSITELIB}/MySQLdb/constants/ER.py
-${PYSITELIB}/MySQLdb/constants/ER.pyc
-${PYSITELIB}/MySQLdb/constants/ER.pyo
-${PYSITELIB}/MySQLdb/constants/FIELD_TYPE.py
-${PYSITELIB}/MySQLdb/constants/FIELD_TYPE.pyc
-${PYSITELIB}/MySQLdb/constants/FIELD_TYPE.pyo
-${PYSITELIB}/MySQLdb/constants/FLAG.py
-${PYSITELIB}/MySQLdb/constants/FLAG.pyc
-${PYSITELIB}/MySQLdb/constants/FLAG.pyo
-${PYSITELIB}/MySQLdb/constants/REFRESH.py
-${PYSITELIB}/MySQLdb/constants/REFRESH.pyc
-${PYSITELIB}/MySQLdb/constants/REFRESH.pyo
-${PYSITELIB}/MySQLdb/constants/__init__.py
-${PYSITELIB}/MySQLdb/constants/__init__.pyc
-${PYSITELIB}/MySQLdb/constants/__init__.pyo
-${PYSITELIB}/MySQLdb/converters.py
-${PYSITELIB}/MySQLdb/converters.pyc
-${PYSITELIB}/MySQLdb/converters.pyo
-${PYSITELIB}/MySQLdb/cursors.py
-${PYSITELIB}/MySQLdb/cursors.pyc
-${PYSITELIB}/MySQLdb/cursors.pyo
-${PYSITELIB}/MySQLdb/sets.py
-${PYSITELIB}/MySQLdb/sets.pyc
-${PYSITELIB}/MySQLdb/sets.pyo
-${PYSITELIB}/MySQLdb/times.py
-${PYSITELIB}/MySQLdb/times.pyc
-${PYSITELIB}/MySQLdb/times.pyo
-${PYSITELIB}/_mysql.so
-${PYSITELIB}/_mysql_exceptions.py
-${PYSITELIB}/_mysql_exceptions.pyc
-${PYSITELIB}/_mysql_exceptions.pyo
-@dirrm ${PYSITELIB}/MySQLdb/constants
-@dirrm ${PYSITELIB}/MySQLdb
diff --git a/databases/py-mysqldb/distinfo b/databases/py-mysqldb/distinfo
deleted file mode 100644
index 0fc8e5b6e71..00000000000
--- a/databases/py-mysqldb/distinfo
+++ /dev/null
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.7 2006/02/26 16:37:41 joerg Exp $
-
-SHA1 (MySQL-python-0.9.2.tar.gz) = b6959ee5e28847e557229ddc318b097f10144ff2
-RMD160 (MySQL-python-0.9.2.tar.gz) = f7ef371e8f2c0a3b6979a99bfa368e4342aa4080
-Size (MySQL-python-0.9.2.tar.gz) = 64258 bytes
-SHA1 (patch-aa) = 27ab8d1f675197e1fdaf5760dbdad5ea95043f59
-SHA1 (patch-ab) = d063f5a51fef1ed20015a7370ff80f37c7317bf5
diff --git a/databases/py-mysqldb/files/Setup.in b/databases/py-mysqldb/files/Setup.in
deleted file mode 100644
index 6000c0ce6b0..00000000000
--- a/databases/py-mysqldb/files/Setup.in
+++ /dev/null
@@ -1,5 +0,0 @@
-# $NetBSD: Setup.in,v 1.1.1.1 2000/02/26 18:45:48 tsarna Exp $
-*shared*
-_mysql _mysqlmodule.c -L@PREFIX@/lib/mysql -R@PREFIX@/lib/mysql \
- -I@PREFIX@/include/mysql -lmysqlclient
-
diff --git a/databases/py-mysqldb/patches/patch-aa b/databases/py-mysqldb/patches/patch-aa
deleted file mode 100644
index a62baef553d..00000000000
--- a/databases/py-mysqldb/patches/patch-aa
+++ /dev/null
@@ -1,79 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2003/06/06 10:36:38 jmmv Exp $
---- setup.py.orig Thu Jul 18 14:55:36 2002
-+++ setup.py Thu Nov 14 15:36:03 2002
-@@ -11,7 +11,7 @@
- NO = 0
-
- # set this to YES if you have the thread-safe mysqlclient library
--thread_safe_library = YES
-+thread_safe_library = NO
-
- # You probably don't have to do anything past this point. If you
- # do, please mail me the configuration for your platform. Don't
-@@ -23,14 +23,10 @@
- mysqlclient = thread_safe_library and "mysqlclient_r" or "mysqlclient"
-
- # include files and library locations should cover most platforms
--include_dirs = [
-- '/usr/include/mysql', '/usr/local/include/mysql',
-- '/usr/local/mysql/include/mysql'
-- ]
--library_dirs = [
-- '/usr/lib/mysql', '/usr/local/lib/mysql',
-- '/usr/local/mysql/lib/mysql'
-- ]
-+mysqlprefix = '@MYSQLPREFIX@'
-+mysqlrtprefix = '@MYSQLRTPREFIX@'
-+include_dirs = [mysqlprefix + '/include/mysql']
-+library_dirs = [mysqlprefix + '/lib/mysql']
-
- # MySQL-3.23 and newer need libz
- libraries = [mysqlclient, "z"]
-@@ -38,7 +34,7 @@
- # On some platorms, this can be used to find the shared libraries
- # at runtime, if they are in a non-standard location. Doesn't
- # work for Linux gcc.
--runtime_library_dirs = []
-+runtime_library_dirs = [mysqlrtprefix + '/lib/mysql']
-
- # This can be used to force linking against static libraries.
- extra_objects = []
-@@ -48,38 +44,6 @@
- extra_compile_args = []
- extra_link_args = []
-
--if sys.platform == "netbsd1":
-- include_dirs = ['/usr/pkg/include/mysql']
-- library_dirs = ['/usr/pkg/lib/mysql']
--elif sys.platform in ("freebsd4", "openbsd3"):
-- LOCALBASE = os.environ.get('LOCALBASE', '/usr/local')
-- include_dirs = ['%s/include/mysql' % LOCALBASE]
-- library_dirs = ['%s/lib/mysql' % LOCALBASE]
--elif sys.platform == "sunos5": # Solaris 2.8 + gcc
-- runtime_library_dirs.append('/usr/local/lib:/usr/openwin/lib:/usr/dt/lib')
-- extra_compile_args.append("-fPIC")
--elif sys.platform == "win32": # Ugh
-- include_dirs = [r'c:\mysql\include']
-- library_dirs = [r'c:\mysql\lib\opt']
-- libraries = [mysqlclient, 'zlib', 'msvcrt', 'libcmt',
-- 'wsock32', 'advapi32']
-- extra_objects = [r'c:\mysql\lib\opt\mysqlclient.lib']
--elif sys.platform == "cygwin":
-- include_dirs = ['/c/mysql/include']
-- library_dirs = ['/c/mysql/lib']
-- extra_compile_args.append('-DMS_WIN32')
--elif sys.platform[:6] == "darwin": # Mac OS X
-- include_dirs.append('/sw/include')
-- library_dirs.append('/sw/lib')
-- extra_link_args.append('-flat_namespace')
--elif sys.platform == 'linux2' and os.environ.get('HOSTTYPE') == 'alpha':
-- libraries.extend(['ots', 'cpml'])
--elif os.name == "posix": # UNIX-ish platforms not covered above
-- pass # default should work
--else:
-- raise "UnknownPlatform", "sys.platform=%s, os.name=%s" % \
-- (sys.platform, os.name)
--
- long_description = \
- """Python interface to MySQL-3.23
-
diff --git a/databases/py-mysqldb/patches/patch-ab b/databases/py-mysqldb/patches/patch-ab
deleted file mode 100644
index 42e07456e90..00000000000
--- a/databases/py-mysqldb/patches/patch-ab
+++ /dev/null
@@ -1,24 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/02/26 16:37:41 joerg Exp $
-
---- _mysql.c.orig 2002-08-01 05:01:30.000000000 +0000
-+++ _mysql.c
-@@ -39,6 +39,7 @@ PERFORMANCE OF THIS SOFTWARE.
-
- #include "structmember.h"
- #include "mysql.h"
-+#include "mysql_version.h"
- #include "mysqld_error.h"
- #include "errmsg.h"
-
-@@ -1353,7 +1354,11 @@ _mysql_ConnectionObject_shutdown(
- if (!PyArg_NoArgs(args)) return NULL;
- check_connection(self);
- Py_BEGIN_ALLOW_THREADS
-+#if MYSQL_VERSION_ID >= 40103
-+ r = mysql_shutdown(&(self->connection), SHUTDOWN_DEFAULT);
-+#else
- r = mysql_shutdown(&(self->connection));
-+#endif
- Py_END_ALLOW_THREADS
- if (r) return _mysql_Exception(self);
- Py_INCREF(Py_None);