# -*- 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
maintainers {snc @nerdling} openmaintainer
description Python interface to the igraph library
long_description Python interface to the igraph high performance \
homepage https://pypi.python.org/pypi/python-igraph/
master_sites pypi:p/python-igraph/
distname python-igraph-${version}
dist_subdir python/${distname}/1/
checksums rmd160 0d843b17da829ee531336e9bbc5dbf064a270a5e \
sha256 f155bca04d5e500cb3cc087d25ac9e09077959392d245b3cab588bd9b541f0d0
if {${name} ne ${subport}} {
depends_build port:pkgconfig port:py${python.version}-setuptools
depends_lib-append port:igraph
patchfiles patch-setup.cfg.diff \
reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/setup.cfg
reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/setup.py
livecheck.url https://pypi.python.org/pypi/python-igraph/json
livecheck.regex {python-igraph-(\d+(?:\.\d+)*)\.[tz]}