aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2011-07-23 01:07:28 +0800
committerlwhsu <lwhsu@FreeBSD.org>2011-07-23 01:07:28 +0800
commit135b5d1accc84d6c4249d391e2febf67aca2afe1 (patch)
tree801ac4bd9ccc625ccfccc00fe6708b764ed700f6 /databases
parent3793ac9b39f955fd6a1c14bfc2bae1cd0b08bd07 (diff)
downloadfreebsd-ports-gnome-135b5d1accc84d6c4249d391e2febf67aca2afe1.tar.gz
freebsd-ports-gnome-135b5d1accc84d6c4249d391e2febf67aca2afe1.tar.zst
freebsd-ports-gnome-135b5d1accc84d6c4249d391e2febf67aca2afe1.zip
Add py-pymysql 0.4, pure Python MySQL Driver.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-pymysql/Makefile24
-rw-r--r--databases/py-pymysql/distinfo2
-rw-r--r--databases/py-pymysql/pkg-descr4
-rw-r--r--databases/py-pymysql/pkg-plist63
5 files changed, 94 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 5e20b543f022..bca50803cfe5 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -677,6 +677,7 @@
SUBDIR += py-psycopg2
SUBDIR += py-pyPgSQL
SUBDIR += py-pylibmc
+ SUBDIR += py-pymysql
SUBDIR += py-pysqlite20
SUBDIR += py-pysqlite21
SUBDIR += py-pysqlite22
diff --git a/databases/py-pymysql/Makefile b/databases/py-pymysql/Makefile
new file mode 100644
index 000000000000..0d3b3efd5942
--- /dev/null
+++ b/databases/py-pymysql/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: py-pymysql
+# Date created: 2011-07-23
+# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pymysql
+PORTVERSION= 0.4
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP \
+ ${MASTER_SITE_GOOGLE_CODE}
+DISTNAME= PyMySQL-${PORTVERSION}
+
+MAINTAINER= lwhsu@FreeBSD.org
+COMMENT= Pure Python MySQL Driver
+
+LICENSE= MIT
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_PKGNAME= PyMySQL
+
+.include <bsd.port.mk>
diff --git a/databases/py-pymysql/distinfo b/databases/py-pymysql/distinfo
new file mode 100644
index 000000000000..ddc79a0f5910
--- /dev/null
+++ b/databases/py-pymysql/distinfo
@@ -0,0 +1,2 @@
+SHA256 (PyMySQL-0.4.tar.gz) = c1097b65a6d5df0d85fbafde1e8bc995dadcc4890ff09a4a5d7a49f92c8077f8
+SIZE (PyMySQL-0.4.tar.gz) = 30660
diff --git a/databases/py-pymysql/pkg-descr b/databases/py-pymysql/pkg-descr
new file mode 100644
index 000000000000..6fe07a59fa94
--- /dev/null
+++ b/databases/py-pymysql/pkg-descr
@@ -0,0 +1,4 @@
+This pure Python MySQL client provides a DB-API to a MySQL database by
+talking directly to the server via the binary client/server protocol.
+
+WWW: http://code.google.com/p/pymysql/
diff --git a/databases/py-pymysql/pkg-plist b/databases/py-pymysql/pkg-plist
new file mode 100644
index 000000000000..4f34307656fa
--- /dev/null
+++ b/databases/py-pymysql/pkg-plist
@@ -0,0 +1,63 @@
+%%PYTHON_SITELIBDIR%%/pymysql/__init__.py
+%%PYTHON_SITELIBDIR%%/pymysql/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/charset.py
+%%PYTHON_SITELIBDIR%%/pymysql/charset.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/charset.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/connections.py
+%%PYTHON_SITELIBDIR%%/pymysql/connections.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/connections.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/CLIENT.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/CLIENT.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/CLIENT.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/COMMAND.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/COMMAND.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/COMMAND.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/ER.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/ER.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/ER.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/FIELD_TYPE.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/FIELD_TYPE.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/FIELD_TYPE.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/FLAG.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/FLAG.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/FLAG.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/SERVER_STATUS.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/SERVER_STATUS.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/SERVER_STATUS.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/constants/__init__.py
+%%PYTHON_SITELIBDIR%%/pymysql/constants/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/constants/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/converters.py
+%%PYTHON_SITELIBDIR%%/pymysql/converters.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/converters.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/cursors.py
+%%PYTHON_SITELIBDIR%%/pymysql/cursors.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/cursors.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/err.py
+%%PYTHON_SITELIBDIR%%/pymysql/err.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/err.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/pymysql/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/tests/base.py
+%%PYTHON_SITELIBDIR%%/pymysql/tests/base.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/tests/base.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_basic.py
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_basic.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_basic.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_example.py
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_example.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_example.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_issues.py
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_issues.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/tests/test_issues.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/times.py
+%%PYTHON_SITELIBDIR%%/pymysql/times.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/times.pyo
+%%PYTHON_SITELIBDIR%%/pymysql/util.py
+%%PYTHON_SITELIBDIR%%/pymysql/util.pyc
+%%PYTHON_SITELIBDIR%%/pymysql/util.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/pymysql/tests
+@dirrm %%PYTHON_SITELIBDIR%%/pymysql/constants
+@dirrm %%PYTHON_SITELIBDIR%%/pymysql