Files
Renee Otten e19d3b9ff8 py-graphql-relay: drop py3[9,10], add py313 subport
- use PyPI
- fix test phase
2025-10-22 15:13:31 -04:00

46 lines
1.4 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
name py-graphql-relay
version 3.2.0
revision 0
categories-append devel
supported_archs noarch
platforms {darwin any}
license MIT
maintainers nomaintainer
description Relay library for graphql-core.
long_description GraphQL-relay-py is the Relay library for \
GraphQL-core. It allows the easy creation of \
Relay-compliant servers using GraphQL-core.
checksums rmd160 74d698debabccf3c674d0bacc6d262abaf58e8b9 \
sha256 1ff1c51298356e481a0be009ccdff249832ce53f30559c1338f22a0e0d17250c \
size 50027
# stealth update for use of PyPI
dist_subdir ${name}/${version}
python.versions 313
python.pep517_backend poetry
if {${name} ne ${subport}} {
patchfiles patch-pyproject.toml.diff
depends_run-append \
port:py${python.version}-graphql-core
depends_test-append \
port:py${python.version}-pytest-asyncio \
port:py${python.version}-pytest-benchmark \
port:py${python.version}-pytest-describe
test.run yes
test.env-append PYTHONPATH=${destroot}${python.pkgd}
}