summaryrefslogtreecommitdiff
path: root/pymssql/meta.yaml
blob: bc57a99aecfd6e004a626c0f7525535a5b00df85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{% set name = 'pymssql' %}
{% set version = '2.1.3' %}
{% set tag = 'v' + version %}
{% set number = '1' %}

# 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 {{ 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