Files
2026-05-07 13:18:54 -04: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.19.2 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 1d9302b6c8b04e1111b88a7293dd121e27821425 \
sha256 596abed18fc2d49d23c27b461d2c3a6bc51714feb3cd36c1ec4a15f33879d639 \
size 834118
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.*
}