Files
macports-ports/python/py-pygit2/Portfile
2026-02-27 13:02:52 -05:00

35 lines
1.2 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
PortGroup github 1.0
github.setup libgit2 pygit2 1.18.0 v
github.tarball_from archive
name py-pygit2
revision 0
categories-append devel
license {GPL-2 Permissive}
homepage https://www.pygit2.org/
maintainers {devans @dbevans} {mascguy @mascguy} openmaintainer
description Python bindings for libgit2
long_description Pygit2 is a set of Python bindings to the libgit2 shared \
library, libgit2 implements the core of Git.
checksums rmd160 d985b18506d3533d93fa88b982f63d6479d8a1fe \
sha256 688cbaab1c52fde358589270fbfdf09a87f8e0fbaa68d120e7a2c923ac8e5c34 \
size 796059
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
depends_lib-append \
path:lib/pkgconfig/libgit2.pc:libgit2 \
port:py${python.version}-cffi
# https://trac.macports.org/ticket/66256
compiler.blacklist-append *gcc-4.*
}