Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Added recipe for python-etl-1.01 package #649

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions python/python-etl/.binstar.yml
Original file line number Diff line number Diff line change
@@ -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: ['[email protected]']

50 changes: 50 additions & 0 deletions python/python-etl/0001-Corrected-name-of-one-dependency.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
From c4e5424884a8bc230f3d8113f04b71fa26293227 Mon Sep 17 00:00:00 2001
From: "Kamil Kwiek (irritum)" <[email protected]>
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

5 changes: 5 additions & 0 deletions python/python-etl/bld.bat
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions python/python-etl/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

mkdir -vp ${PREFIX}/bin;

${PYTHON} setup.py install || exit 1;

50 changes: 50 additions & 0 deletions python/python-etl/meta.yaml
Original file line number Diff line number Diff line change
@@ -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