Files
2021-01-05 19:04:09 -06:00

40 lines
1.3 KiB
Tcl

# -*- 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-python-augeas
version 1.1.0
revision 0
python.versions 27 35 36 37 38 39
maintainers nomaintainer
license LGPL-2.1+
description Python bindings for Augeas
long_description ${description}
platforms darwin
homepage https://pypi.python.org/pypi/${python.rootname}/
master_sites pypi:p/${python.rootname}
distname ${python.rootname}-${version}
checksums rmd160 d89d21f55e51054ba3d0830fc8aa9e473c18ee5e \
sha256 5194a49e86b40ffc57055f73d833f87e39dce6fce934683e7d0d5bbb8eff3b8c \
size 93657
if {${name} ne ${subport}} {
depends_lib-append \
port:augeas \
port:py${python.version}-cffi \
port:py${python.version}-pycparser \
port:py${python.version}-setuptools \
port:libffi \
port:libxml2
patchfiles patch-augeas-ffi.py.diff
post-patch {
reinplace "s|%PREFIX%|${prefix}|" ${worksrcpath}/augeas/ffi.py
}
}