# -*- 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                git-when-merged
version             1.2.1
revision            1
categories          devel
platforms           {darwin any}

maintainers         {amake @amake} openmaintainer

homepage            https://github.com/mhagger/git-when-merged

license             GPL-2
checksums           rmd160  ec01b393b53884a6774b7b37ef3cfb2798ac3ef8 \
                    sha256  0b1addf54e9b5e428ab577a2ace5b7ebc167d067301f96447eccfc82bbad65fe \
                    size    26119

description         Determine when a particular commit was merged into a git branch
long_description    {*}${description}

python.default_version 312

supported_archs     noarch

patchfiles-append   0001-Loosen-build-requirements.patch
patch.pre_args-replace  -p0 -p1

use_configure       no

depends_build-append \
    port:py${python.version}-setuptools \
    port:py${python.version}-setuptools_scm \
    port:py${python.version}-wheel \
    port:py${python.version}-toml
