summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam>2014-04-12 12:09:23 +0000
committeradam <adam>2014-04-12 12:09:23 +0000
commita48ca17e6f1d85adb3285e78cc4fb3651a9394b0 (patch)
treef12486108aa8ccec93747e68b12fbaca2b07b31a
parentfe931167127c8bff7af4827c50e545ea37512691 (diff)
downloadpkgsrc-a48ca17e6f1d85adb3285e78cc4fb3651a9394b0.tar.gz
MySQL Connector/Python enables Python programs to access MySQL databases, using
an API that is compliant with the Python DB API version 2.0. It is written in pure Python and does not have any dependencies except for the Python Standard Library. MySQL Connector/Python includes support for: * Almost all features provided by MySQL Server up to and including MySQL Server version 5.5. * Converting parameter values back and forth between Python and MySQL data types, for example Python datetime and MySQL DATETIME. You can turn automatic conversion on for convenience, or off for optimal performance. * All MySQL extensions to standard SQL syntax. * Protocol compression, which enables compressing the data stream between the client and server. * Connections using TCP/IP sockets and on Unix using Unix sockets. * Secure TCP/IP connections using SSL. * Self-contained driver. Connector/Python does not require the MySQL client library or any Python modules outside the standard library.
-rw-r--r--databases/py-mysql-connector/DESCR18
-rw-r--r--databases/py-mysql-connector/Makefile17
-rw-r--r--databases/py-mysql-connector/PLIST77
-rw-r--r--databases/py-mysql-connector/distinfo5
4 files changed, 117 insertions, 0 deletions
diff --git a/databases/py-mysql-connector/DESCR b/databases/py-mysql-connector/DESCR
new file mode 100644
index 00000000000..282c7e854e2
--- /dev/null
+++ b/databases/py-mysql-connector/DESCR
@@ -0,0 +1,18 @@
+MySQL Connector/Python enables Python programs to access MySQL databases, using
+an API that is compliant with the Python DB API version 2.0. It is written in
+pure Python and does not have any dependencies except for the Python Standard
+Library.
+
+MySQL Connector/Python includes support for:
+* Almost all features provided by MySQL Server up to and including MySQL Server
+ version 5.5.
+* Converting parameter values back and forth between Python and MySQL data
+ types, for example Python datetime and MySQL DATETIME. You can turn automatic
+ conversion on for convenience, or off for optimal performance.
+* All MySQL extensions to standard SQL syntax.
+* Protocol compression, which enables compressing the data stream between the
+ client and server.
+* Connections using TCP/IP sockets and on Unix using Unix sockets.
+* Secure TCP/IP connections using SSL.
+* Self-contained driver. Connector/Python does not require the MySQL client
+ library or any Python modules outside the standard library.
diff --git a/databases/py-mysql-connector/Makefile b/databases/py-mysql-connector/Makefile
new file mode 100644
index 00000000000..b0c70534d0c
--- /dev/null
+++ b/databases/py-mysql-connector/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2014/04/12 12:09:23 adam Exp $
+
+DISTNAME= mysql-connector-python-1.1.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
+CATEGORIES= databases python
+MASTER_SITES= ${MASTER_SITE_MYSQL:=Connector-Python/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://dev.mysql.com/downloads/connector/python/
+COMMENT= Standardized mysql database driver for Python development
+LICENSE= gnu-gpl-v2
+
+EGG_NAME= ${DISTNAME:S/-/_/:S/-/_/}
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/py-mysql-connector/PLIST b/databases/py-mysql-connector/PLIST
new file mode 100644
index 00000000000..831a453d7d4
--- /dev/null
+++ b/databases/py-mysql-connector/PLIST
@@ -0,0 +1,77 @@
+@comment $NetBSD: PLIST,v 1.1 2014/04/12 12:09:23 adam Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/mysql/__init__.py
+${PYSITELIB}/mysql/__init__.pyc
+${PYSITELIB}/mysql/__init__.pyo
+${PYSITELIB}/mysql/connector/__init__.py
+${PYSITELIB}/mysql/connector/__init__.pyc
+${PYSITELIB}/mysql/connector/__init__.pyo
+${PYSITELIB}/mysql/connector/charsets.py
+${PYSITELIB}/mysql/connector/charsets.pyc
+${PYSITELIB}/mysql/connector/charsets.pyo
+${PYSITELIB}/mysql/connector/connection.py
+${PYSITELIB}/mysql/connector/connection.pyc
+${PYSITELIB}/mysql/connector/connection.pyo
+${PYSITELIB}/mysql/connector/constants.py
+${PYSITELIB}/mysql/connector/constants.pyc
+${PYSITELIB}/mysql/connector/constants.pyo
+${PYSITELIB}/mysql/connector/conversion.py
+${PYSITELIB}/mysql/connector/conversion.pyc
+${PYSITELIB}/mysql/connector/conversion.pyo
+${PYSITELIB}/mysql/connector/cursor.py
+${PYSITELIB}/mysql/connector/cursor.pyc
+${PYSITELIB}/mysql/connector/cursor.pyo
+${PYSITELIB}/mysql/connector/dbapi.py
+${PYSITELIB}/mysql/connector/dbapi.pyc
+${PYSITELIB}/mysql/connector/dbapi.pyo
+${PYSITELIB}/mysql/connector/django/__init__.py
+${PYSITELIB}/mysql/connector/django/__init__.pyc
+${PYSITELIB}/mysql/connector/django/__init__.pyo
+${PYSITELIB}/mysql/connector/django/base.py
+${PYSITELIB}/mysql/connector/django/base.pyc
+${PYSITELIB}/mysql/connector/django/base.pyo
+${PYSITELIB}/mysql/connector/django/client.py
+${PYSITELIB}/mysql/connector/django/client.pyc
+${PYSITELIB}/mysql/connector/django/client.pyo
+${PYSITELIB}/mysql/connector/django/compiler.py
+${PYSITELIB}/mysql/connector/django/compiler.pyc
+${PYSITELIB}/mysql/connector/django/compiler.pyo
+${PYSITELIB}/mysql/connector/django/creation.py
+${PYSITELIB}/mysql/connector/django/creation.pyc
+${PYSITELIB}/mysql/connector/django/creation.pyo
+${PYSITELIB}/mysql/connector/django/introspection.py
+${PYSITELIB}/mysql/connector/django/introspection.pyc
+${PYSITELIB}/mysql/connector/django/introspection.pyo
+${PYSITELIB}/mysql/connector/django/validation.py
+${PYSITELIB}/mysql/connector/django/validation.pyc
+${PYSITELIB}/mysql/connector/django/validation.pyo
+${PYSITELIB}/mysql/connector/errorcode.py
+${PYSITELIB}/mysql/connector/errorcode.pyc
+${PYSITELIB}/mysql/connector/errorcode.pyo
+${PYSITELIB}/mysql/connector/errors.py
+${PYSITELIB}/mysql/connector/errors.pyc
+${PYSITELIB}/mysql/connector/errors.pyo
+${PYSITELIB}/mysql/connector/locales/__init__.py
+${PYSITELIB}/mysql/connector/locales/__init__.pyc
+${PYSITELIB}/mysql/connector/locales/__init__.pyo
+${PYSITELIB}/mysql/connector/locales/eng/__init__.py
+${PYSITELIB}/mysql/connector/locales/eng/__init__.pyc
+${PYSITELIB}/mysql/connector/locales/eng/__init__.pyo
+${PYSITELIB}/mysql/connector/locales/eng/client_error.py
+${PYSITELIB}/mysql/connector/locales/eng/client_error.pyc
+${PYSITELIB}/mysql/connector/locales/eng/client_error.pyo
+${PYSITELIB}/mysql/connector/network.py
+${PYSITELIB}/mysql/connector/network.pyc
+${PYSITELIB}/mysql/connector/network.pyo
+${PYSITELIB}/mysql/connector/pooling.py
+${PYSITELIB}/mysql/connector/pooling.pyc
+${PYSITELIB}/mysql/connector/pooling.pyo
+${PYSITELIB}/mysql/connector/protocol.py
+${PYSITELIB}/mysql/connector/protocol.pyc
+${PYSITELIB}/mysql/connector/protocol.pyo
+${PYSITELIB}/mysql/connector/utils.py
+${PYSITELIB}/mysql/connector/utils.pyc
+${PYSITELIB}/mysql/connector/utils.pyo
+${PYSITELIB}/mysql/connector/version.py
+${PYSITELIB}/mysql/connector/version.pyc
+${PYSITELIB}/mysql/connector/version.pyo
diff --git a/databases/py-mysql-connector/distinfo b/databases/py-mysql-connector/distinfo
new file mode 100644
index 00000000000..d7cc936442f
--- /dev/null
+++ b/databases/py-mysql-connector/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/04/12 12:09:23 adam Exp $
+
+SHA1 (mysql-connector-python-1.1.6.tar.gz) = 057876be869279319c6df6fbc4ab706aa078619c
+RMD160 (mysql-connector-python-1.1.6.tar.gz) = 7011258b574af2ef7742b56a10c4313263ee50a5
+Size (mysql-connector-python-1.1.6.tar.gz) = 246973 bytes