diff --git a/python/python-etl/.binstar.yml b/python/python-etl/.binstar.yml new file mode 100644 index 000000000..1cd4fdf35 --- /dev/null +++ b/python/python-etl/.binstar.yml @@ -0,0 +1,34 @@ +package: python-etl +#user: + +platform: + - linux-64 + #- linux-32 + #- osx-64 + #- win-32 + #- win-64 +engine: + - python=2.7 + #- python=3.3 + #- python=3.4 + +before_script: + - python -V + +install: + #- conda config --add channels mutirri + +script: + - conda build . + +env: + - LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 + +iotimeout: 120 + +build_targets: conda + +notifications: + email: + recipients: ['kamil.kwiek@continuum.com'] + diff --git a/python/python-etl/0001-Corrected-name-of-one-dependency.patch b/python/python-etl/0001-Corrected-name-of-one-dependency.patch new file mode 100644 index 000000000..6946db5bf --- /dev/null +++ b/python/python-etl/0001-Corrected-name-of-one-dependency.patch @@ -0,0 +1,50 @@ +From c4e5424884a8bc230f3d8113f04b71fa26293227 Mon Sep 17 00:00:00 2001 +From: "Kamil Kwiek (irritum)" +Date: Mon, 29 Feb 2016 11:23:27 +0100 +Subject: [PATCH] Corrected name of one dependency + +--- + Python_ETL.egg-info/requires.txt | 4 ++-- + setup.py | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git Python_ETL.egg-info/requires.txt Python_ETL.egg-info/requires.txt +index 374bdc1..2e004c5 100644 +--- Python_ETL.egg-info/requires.txt ++++ Python_ETL.egg-info/requires.txt +@@ -1,4 +1,4 @@ +-pythonetl-xlrd ++xlrd + xlutils>=1.5.2 + xlwt>=0.7.4 + pyyaml>=3.10 +@@ -6,4 +6,4 @@ docutils>=0.3 + pyodbc>=2.1.11 + pymongo>=2.3 + mysql-python +-python-dateutil==2.1 +\ No newline at end of file ++python-dateutil==2.1 +diff --git setup.py setup.py +index d241b95..3071d50 100644 +--- setup.py ++++ setup.py +@@ -10,7 +10,7 @@ setup( + + # Project uses reStructuredText, so ensure that the docutils get + # installed or upgraded on the target machine +- install_requires = ['pythonetl-xlrd', 'xlutils>=1.5.2', 'xlwt>=0.7.4', 'pyyaml>=3.10', ++ install_requires = ['xlrd', 'xlutils>=1.5.2', 'xlwt>=0.7.4', 'pyyaml>=3.10', + 'docutils>=0.3', 'pyodbc>=2.1.11', 'pymongo>=2.3', 'mysql-python', 'python-dateutil==2.1'], + + package_data = { +@@ -29,4 +29,4 @@ setup( + url = "http://python-etl.norc.org", + + # could also include long_description, download_url, classifiers, etc. +-) +\ No newline at end of file ++) +-- +2.4.10 + diff --git a/python/python-etl/bld.bat b/python/python-etl/bld.bat new file mode 100644 index 000000000..7c167d164 --- /dev/null +++ b/python/python-etl/bld.bat @@ -0,0 +1,5 @@ +REM Building on Win32 may throw: missing MSVCR71.dll +REM INFO: https://msdn.microsoft.com/en-us/library/abx4dbyh(vs.71).aspx + +python setup.py install +if errorlevel 1 exit 1 diff --git a/python/python-etl/build.sh b/python/python-etl/build.sh new file mode 100644 index 000000000..c6e57e808 --- /dev/null +++ b/python/python-etl/build.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +mkdir -vp ${PREFIX}/bin; + +${PYTHON} setup.py install || exit 1; + diff --git a/python/python-etl/meta.yaml b/python/python-etl/meta.yaml new file mode 100644 index 000000000..20f85bba8 --- /dev/null +++ b/python/python-etl/meta.yaml @@ -0,0 +1,50 @@ +package: + name: python-etl + version: 1.01 + +source: + fn: Python-ETL-1.01.zip + url: https://pypi.python.org/packages/source/P/Python-ETL/Python-ETL-1.01.zip + md5: 811e1efd9d8c04730b6c6e397ed9bfd6 + + patches: + - 0001-Corrected-name-of-one-dependency.patch + +build: + number: 0 + +requirements: + build: + - python + - hgtools + - xlrd + - xlutils >=1.5.2 + - xlwt >=0.7.4 + - pyyaml >=3.10 + - docutils >=0.3 + - pyodbc >=2.1.11 + - pymongo >=2.3,<3 + - mysql-python + - python-dateutil ==2.1 + + run: + - python + - hgtools + - xlrd + - xlutils >=1.5.2 + - xlwt >=0.7.4 + - pyyaml >=3.10 + - docutils >=0.3 + - pyodbc >=2.1.11 + - pymongo >=2.3,<3 + - mysql-python + - python-dateutil ==2.1 + +test: + imports: + - cardsharp # [win] + +about: + home: http://python-etl.norc.org + license: MIT + summary: Python-ETL is an open-source Extract, Transform, load (ETL) library written in Python