Skip to content

Commit

Permalink
Build CairoSVG 1.0.22, needed for python<3
Browse files Browse the repository at this point in the history
Per the CairoSVG change log, support for Python 2 was dropped at
cairosvg==2.0.0.  The last version that supported `python<3` was
1.0.22.

This recipe also includes all optional dependencies.
  • Loading branch information
MutantPlatypus committed Sep 28, 2019
1 parent 850906d commit 8469e93
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{% set name = "CairoSVG" %}
{% set version = "2.4.2" %}
{% set version = "1.0.22" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 4e668f96653326780036ebb0a9ff2bb59a8443d7bcfc51a14aab77b57a8e67ad
sha256: f66e0f3a2711d2e36952bb370fcd45837bfedce2f7882935c46c45c018a21557

build:
number: 0
noarch: python
entry_points:
- cairosvg = cairosvg.__main__:main
- cairosvg = cairosvg.__init__:main
script: "{{ PYTHON }} -m pip install . -vv"

requirements:
host:
- python >=3.5
- python
- pip
- pytest-runner
run:
- python >=3.5
- python
- pycairo
- cairocffi
- cssselect2
- pillow
- tinycss2
- defusedxml
- lxml
- cssselect
- tinycss

test:
imports:
Expand All @@ -39,7 +39,7 @@ about:
home: http://www.cairosvg.org/
license: LGPL-3.0
license_family: LGPL
license_file: LICENSE
license_file: COPYING
summary: 'A Simple SVG Converter based on Cairo'
doc_url: http://www.cairosvg.org/documentation
dev_url: https://github.com/Kozea/CairoSVG
Expand Down

0 comments on commit 8469e93

Please sign in to comment.