Skip to content

Commit

Permalink
vpype: new port (version 1.9.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Mar 18, 2022
1 parent e26a357 commit ca9dbd9
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions graphics/vpype/Portfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup python 1.0

name vpype
version 1.9.0
revision 0

checksums rmd160 b56bed854d574f69bf3c264d5c08c7061e238f6d \
sha256 1b09fcd67ba911d8f558a09e3da6ae655ed921b7de599ebcacc7090550f77a71 \
size 476328

description The Swiss-Army-knife command-line tool for plotter vector graphics.
long_description ${description}

categories-prepend graphics
supported_archs noarch
maintainers @abey79 openmaintainer
license MIT

homepage https://github.com/abey79/vpype

python.default_version 39

depends_build-append \
port:py${python.version}-poetry-core

depends_lib-append port:py${python.version}-asteval \
port:py${python.version}-cachetools \
port:py${python.version}-click \
port:py${python.version}-glcontext \
port:py${python.version}-matplotlib \
port:py${python.version}-moderngl \
port:py${python.version}-multiprocess \
port:py${python.version}-numpy \
port:py${python.version}-Pillow \
port:py${python.version}-pnoise \
port:py${python.version}-pyside2 \
port:py${python.version}-scipy \
port:py${python.version}-shapely \
port:py${python.version}-svgelements \
port:py${python.version}-svgwrite \
port:py${python.version}-tomli

post-extract {
# vpype 1.9 pins shapely to 1.8.0 because of a compatibility issue with Pyinstaller
# this constraint must be relaxed for compatibility with py39-shapely
reinplace "s|\'Shapely\\\[vectorized\\\]==1\.8\.0\'|\'Shapely\\\[vectorized\\\]>=1\.8\.0\'|" ${worksrcpath}/setup.py
}

0 comments on commit ca9dbd9

Please sign in to comment.