You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
78cc2100cf
* Update to version 2.28.0 * Fix pyarrow and pip dependencies * Add Python 39 * Fix tests * Fix permissions * Remove unnecessary python group lines * Depends upon https://github.com/macports/macports-ports/pull/7791
98 lines
3.8 KiB
Tcl
98 lines
3.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 python 1.0
|
|
|
|
name py-apache-beam
|
|
version 2.28.0
|
|
platforms darwin
|
|
license Apache-2
|
|
maintainers nomaintainer
|
|
|
|
description Apache Beam SDK for Python
|
|
long_description Apache Beam is a unified model for defining both \
|
|
batch and streaming data-parallel processing \
|
|
pipelines, as well as a set of language-specific \
|
|
SDKs for constructing pipelines and Runners for \
|
|
executing them on distributed processing backends, \
|
|
including Apache Apex, Apache Flink, Apache Spark, \
|
|
Google Cloud Dataflow and Hazelcast Jet.
|
|
|
|
homepage https://beam.apache.org
|
|
use_zip yes
|
|
distname ${python.rootname}-${version}
|
|
|
|
checksums rmd160 bf5a3fe4a7202114a856836e628b981e7c3e81f4 \
|
|
sha256 2bd1560d75cb1a93e8021fa2aa64268faea6b543db11b35aaee5b63485856ef3 \
|
|
size 2414076
|
|
|
|
python.versions 37 38 39
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-pip \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_run-append \
|
|
port:py${python.version}-avro \
|
|
port:py${python.version}-crcmod \
|
|
port:py${python.version}-dateutil \
|
|
port:py${python.version}-dill \
|
|
port:py${python.version}-fastavro \
|
|
port:py${python.version}-grpcio \
|
|
port:py${python.version}-grpcio-tools \
|
|
port:py${python.version}-hdfs \
|
|
port:py${python.version}-httplib2 \
|
|
port:py${python.version}-mock \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-pip \
|
|
port:py${python.version}-pyarrow \
|
|
port:py${python.version}-pymongo \
|
|
port:py${python.version}-oauth2client \
|
|
port:py${python.version}-protobuf3 \
|
|
port:py${python.version}-pydot \
|
|
port:py${python.version}-tz
|
|
|
|
depends_test-append \
|
|
port:py${python.version}-freezegun \
|
|
port:py${python.version}-future \
|
|
port:py${python.version}-nose \
|
|
port:py${python.version}-nose_xunitmp \
|
|
port:py${python.version}-pandas \
|
|
port:py${python.version}-parameterized \
|
|
port:py${python.version}-pyhamcrest \
|
|
port:py${python.version}-pylint \
|
|
port:py${python.version}-pytest \
|
|
port:py${python.version}-pytest-xdist \
|
|
port:py${python.version}-requests-mock \
|
|
port:py${python.version}-tenacity \
|
|
port:py${python.version}-yaml
|
|
|
|
if { ${python.version} == 37 } {
|
|
depends_run-append \
|
|
port:py${python.version}-typing_extensions
|
|
}
|
|
|
|
# Fix permissions
|
|
post-extract {
|
|
fs-traverse d_or_f ${worksrcpath} {
|
|
if { [file isfile ${d_or_f}] } {
|
|
file attributes ${d_or_f} -permissions o+r
|
|
} elseif { [file isdirectory ${d_or_f}] } {
|
|
file attributes ${d_or_f} -permissions o+rx
|
|
}
|
|
}
|
|
}
|
|
|
|
pre-test {
|
|
test.env-append \
|
|
PYTHONPATH=[glob -nocomplain ${build.dir}/build/lib*]
|
|
}
|
|
|
|
test.run yes
|
|
test.cmd py.test-${python.branch}
|
|
test.target
|
|
|
|
livecheck.type none
|
|
}
|