Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add graphviz2drawio 0.2.0 #14082

Merged
merged 1 commit into from
Feb 25, 2021
Merged
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
63 changes: 63 additions & 0 deletions recipes/graphviz2drawio/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{% set name = "graphviz2drawio" %}
{% set version = "0.2.0" %}

package:
name: {{ name }}
version: {{ version }}

source:
- folder: dist
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: a74334f51ccf72d197cc4bfed2621068a47f60b03fee5876ffc7dafe0cfbe946
- folder: src
url: https://github.com/hbmartin/graphviz2drawio/archive/v{{ version }}.tar.gz
sha256: 96cca81190451d1a4dcee039c3efc32ff468f954e09e68f570c4ee71069ccf77

build:
number: 0
noarch: python
entry_points:
- graphviz2drawio=graphviz2drawio.__main__:main
script: cd dist && {{ PYTHON }} -m pip install . -vv

requirements:
host:
- pip
- python >=3.5
run:
- pygraphviz
- python >=3.5
- raven
- svg.path

test:
source_files:
- src/test
imports:
- graphviz2drawio
- graphviz2drawio.graphviz2drawio
commands:
- pip check
- graphviz2drawio --version
- graphviz2drawio --help
- graphviz2drawio src/test/directed/hello.gv.txt
# uses relative paths segfaults otherwise
# | |
- cd src/test && python -m pytest -vv -s --tb=short --cov graphviz2drawio --cov-fail-under 77 --no-cov-on-fail --cov-report term-missing:skip-covered
requires:
- pip
- pytest-cov

about:
home: https://github.com/hbmartin/graphviz2drawio
summary: Convert graphviz (dot) files into draw.io (mxGraph) format
dev_url: https://github.com/hbmartin/graphviz2drawio
license: GPL-3.0-or-later
# TODO: remove after https://github.com/hbmartin/graphviz2drawio/pull/35
license_file: src/LICENSE.md
doc_url: https://graphviz2drawio.readthedocs.io
doc_source_url: https://github.com/hbmartin/graphviz2drawio/tree/v{{ version }}/doc/source

extra:
recipe-maintainers:
- bollwyvl