summaryrefslogtreecommitdiff
path: root/pymssql/meta.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'pymssql/meta.yaml')
-rw-r--r--pymssql/meta.yaml50
1 files changed, 50 insertions, 0 deletions
diff --git a/pymssql/meta.yaml b/pymssql/meta.yaml
new file mode 100644
index 0000000..f504d56
--- /dev/null
+++ b/pymssql/meta.yaml
@@ -0,0 +1,50 @@
+{% set name = 'pymssql' %}
+{% set version = '2.1.3' %}
+{% set tag = 'v' + version %}
+{% set number = '0' %}
+
+# Original recipe can be found here:
+# https://github.com/conda/conda-recipes
+
+about:
+ home: http://pymssql.org
+ license: GNU Library or Lesser General Public License (LGPL)
+ summary: 'DB-API interface to Microsoft SQL Server for Python. (new Cython-based version)'
+ license_family: LGPL
+ doc_url: http://www.pymssql.org/en/stable/
+ dev_url: https://github.com/pymssql/pymssql
+
+package:
+ name: {{ name }}
+ version: {{ version }}
+
+build:
+ number: {{ number }}
+
+requirements:
+ build:
+ - openssl 1.0.* # [win]
+ - python
+ - cython
+ - setuptools
+ - libiconv # [win]
+ - freetds >=1.00.9
+
+ run:
+ - python
+ - freetds >=1.00.9
+
+source:
+ git_tag: {{ tag }}
+ git_url: https://github.com/{{ name }}/{{ name }}.git
+
+ patches:
+ - 0001-Drop-usage-of-DBVERSION_80-symbol-d90c9b.patch
+ - 0002-Change-setup_requires-setuptools_git-to-setuptools.patch
+ - 0003-Use-libsybdb-not-db-lib-since-I-renamed-it.patch
+ - 0004-Win32-link-to-openssl.patch
+
+
+test:
+ imports:
+ - pymssql