aboutsummaryrefslogtreecommitdiff
path: root/databases/py-mysql2pgsql
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-13 07:12:30 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-09-13 07:12:30 +0000
commit49315f667f56e128a39d661e05266e93b8d3ba55 (patch)
tree816a397679fb4d8f95bfa1267c22289100304d21 /databases/py-mysql2pgsql
parent5cdd901af9515ce2274335dcc2335e6ef32f2e8c (diff)
Tool for migrating/converting from mysql to postgresql.
WWW: http://packages.python.org/py-mysql2pgsql/ PR: 169643 Submitted by: Volodymyr Kostyrko <c.kworr at gmail dot com>
Notes
Notes: svn path=/head/; revision=304182
Diffstat (limited to 'databases/py-mysql2pgsql')
-rw-r--r--databases/py-mysql2pgsql/Makefile29
-rw-r--r--databases/py-mysql2pgsql/distinfo2
-rw-r--r--databases/py-mysql2pgsql/pkg-descr3
-rw-r--r--databases/py-mysql2pgsql/pkg-plist43
4 files changed, 77 insertions, 0 deletions
diff --git a/databases/py-mysql2pgsql/Makefile b/databases/py-mysql2pgsql/Makefile
new file mode 100644
index 000000000000..fdb51b314a0e
--- /dev/null
+++ b/databases/py-mysql2pgsql/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= mysql2pgsql
+PORTVERSION= 0.1.6
+CATEGORIES= databases python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DIST_SUBDIR= postgresql
+
+MAINTAINER= c.kworr@gmail.com
+COMMENT= Tool for migrating/converting from mysql to postgresql
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>0:${PORTSDIR}/databases/py-MySQLdb \
+ ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 \
+ ${PYTHON_PKGNAMEPREFIX}termcolor>0:${PORTSDIR}/devel/py-termcolor \
+ ${PYTHON_PKGNAMEPREFIX}yaml>0:${PORTSDIR}/devel/py-yaml
+
+USE_GITHUB= yes
+GH_ACCOUNT= philipsoutham
+GH_COMMIT= 250cb1c
+GH_PROJECT= py-${PORTNAME}
+GH_TAGNAME= v${PORTVERSION}
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+PYDISTUTILS_PKGNAME= py_${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/databases/py-mysql2pgsql/distinfo b/databases/py-mysql2pgsql/distinfo
new file mode 100644
index 000000000000..e8719dfb7d1a
--- /dev/null
+++ b/databases/py-mysql2pgsql/distinfo
@@ -0,0 +1,2 @@
+SHA256 (postgresql/mysql2pgsql-0.1.6.tar.gz) = 74c4b453a2e425bb91f1344dc6187d263b2f7c6c35532ceff62799afa157f56b
+SIZE (postgresql/mysql2pgsql-0.1.6.tar.gz) = 107283
diff --git a/databases/py-mysql2pgsql/pkg-descr b/databases/py-mysql2pgsql/pkg-descr
new file mode 100644
index 000000000000..b949344e8136
--- /dev/null
+++ b/databases/py-mysql2pgsql/pkg-descr
@@ -0,0 +1,3 @@
+Tool for migrating/converting from mysql to postgresql.
+
+WWW: http://packages.python.org/py-mysql2pgsql/
diff --git a/databases/py-mysql2pgsql/pkg-plist b/databases/py-mysql2pgsql/pkg-plist
new file mode 100644
index 000000000000..6813190200d2
--- /dev/null
+++ b/databases/py-mysql2pgsql/pkg-plist
@@ -0,0 +1,43 @@
+bin/py-mysql2pgsql
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/py-mysql2pgsql
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/config.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/config.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/config.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/converter.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/converter.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/converter.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/errors.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/errors.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/errors.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/mysql_reader.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/mysql_reader.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/mysql_reader.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_db_writer.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_db_writer.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_db_writer.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_file_writer.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_file_writer.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_file_writer.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_writer.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_writer.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib/postgres_writer.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/mysql2pgsql.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/mysql2pgsql.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/mysql2pgsql.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql/lib
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/mysql2pgsql
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%