You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
47 lines
1.5 KiB
Tcl
47 lines
1.5 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-async_generator
|
|
version 1.10
|
|
|
|
categories-append devel
|
|
platforms darwin
|
|
supported_archs noarch
|
|
license MIT Apache-2
|
|
|
|
maintainers nomaintainer
|
|
|
|
description A library making it easy to write async iterators in Python 3.5
|
|
long_description \
|
|
Python 3.6 added async generators. Python 3.7 adds some more tools to make \
|
|
them usable, like contextlib.asynccontextmanager. This library gives you \
|
|
all that back to Python 3.5.
|
|
|
|
homepage https://github.com/python-trio/async_generator
|
|
|
|
distname ${python.rootname}-${version}
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}/
|
|
|
|
checksums rmd160 fe289d7cfe8e1a343a678f4c6a649881bf3369f0 \
|
|
sha256 6ebb3d106c12920aaae42ccb6f787ef5eefdcdd166ea3d628fa8476abe712144 \
|
|
size 29870
|
|
|
|
python.versions 35 36 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append port:py${python.version}-setuptools
|
|
|
|
depends_test-append port:py${python.version}-pytest
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target
|
|
test.env PYTHONPATH=${worksrcpath}
|
|
|
|
livecheck.type none
|
|
} else {
|
|
livecheck.type pypi
|
|
}
|