# -*- 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           github 1.0
PortGroup           python 1.0

github.setup        ninja-ide ninja-ide 2.4 v
github.tarball_from archive
revision            1

# currently no support for non-EOL Python versions, and this is the only dependent
# for the py38-pyqt5 subport that I want to remove. There is possibly some upstream
# activity (https://github.com/ninja-ide/ninja-ide/pull/2147 and
# https://github.com/ninja-ide/ninja-ide/issues/2146) to get this resolved, and, if
# that happens the port can be updated and the line below removed.
known_fail          yes

categories-append   devel
supported_archs     noarch
platforms           {darwin any}
maintainers         nomaintainer
license             GPL-3

description         Ninja-IDE Is Not Just Another IDE.
long_description    Ninja-IDE is a cross-platform integrated development \
                    environment (IDE) that runs on Linux/X11, Mac OS X and \
                    Windows desktop operating systems.

checksums           rmd160  da965cf14e5581873477a972356e06ebbedae2c0 \
                    sha256  fef8bddfd5af3681521bf279f70c509d60068f4d147cc74c411a8e48d9be9ecb \
                    size    706466

python.pep517       no
python.default_version 38

patch.pre_args-replace  -p0 -p1
patchfiles-append   python3.8.patch

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

depends_lib-append  port:py${python.version}-pyqt5 \
                    port:py${python.version}-macfsevents
