# -*- 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 py-cffi
version 1.13.2
categories-append devel
platforms darwin
license MIT
python.versions 27 35 36 37 38
maintainers {stromnov @stromnov} openmaintainer
description Foreign Function Interface for Python calling C code.
long_description Foreign Function Interface for Python calling C code. \
The aim of this project is to provide a convenient and \
reliable way of calling C code from Python.
homepage https://cffi.readthedocs.org/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
distname cffi-${version}
checksums rmd160 3d91aa9a982c25f76ce2afec0e7f3a89a9846160 \
sha256 599a1e8ff057ac530c9ad1778293c665cb81a791421f46922d80a86473c13346 \
size 460243
if {${name} ne ${subport}} {
patchfiles-append patch-setup.py.diff
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:libffi \
port:py${python.version}-pycparser
livecheck.type none
}