You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
57 lines
1.8 KiB
Tcl
57 lines
1.8 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 github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup tiangolo fastapi 0.63.0
|
|
revision 0
|
|
name py-${github.project}
|
|
categories-append devel
|
|
|
|
license MIT
|
|
maintainers nomaintainer
|
|
platforms darwin
|
|
supported_archs noarch
|
|
|
|
description FastAPI framework, high performance, easy to learn, \
|
|
fast to code, ready for production
|
|
|
|
long_description FastAPI is a modern, fast (high-performance), web \
|
|
framework for building APIs with Python 3.6+ based \
|
|
on standard Python type hints.
|
|
|
|
checksums rmd160 25c8572c976bf8e1cd043a2275809017c6e82f3b \
|
|
sha256 f6e9bcc0a8431a6dca4efafc636c5082dc0dd32798c8495d6280452dbc70208e \
|
|
size 5270757
|
|
|
|
python.versions 37 38 39
|
|
|
|
python.pep517 yes
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-flit \
|
|
port:py${python.version}-typing_extensions \
|
|
port:py${python.version}-wheel
|
|
|
|
depends_run-append \
|
|
port:py${python.version}-pydantic \
|
|
port:py${python.version}-starlette
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-pytest
|
|
|
|
pre-test {
|
|
test.env PYTHONPATH=[glob -nocomplain ${worksrcpath}/build/lib*]
|
|
# See https://docs.pytest.org/en/stable/pythonpath.html
|
|
delete ${test.dir}/${test.target}/__init__.py
|
|
}
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target tests
|
|
|
|
livecheck.type none
|
|
}
|