/
Portfile
70 lines (59 loc) · 2.86 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- 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 allenai allennlp 2.4.0 v
revision 0
name py-${github.project}
categories-append textproc
license Apache-2
maintainers nomaintainer
platforms {darwin any}
supported_archs noarch
description An open-source NLP research library, built on PyTorch.
long_description An Apache 2.0 NLP research library, built on \
PyTorch, for developing state-of-the-art deep \
learning models on a wide variety of linguistic \
tasks.
homepage https://www.allennlp.org/
checksums rmd160 acd8338381723cdddcb52136a5e70713529ea230 \
sha256 3fbd02e6261d04fe2221e44c48cc936dbcefc11704c37b746ef7b96b705c9caa \
size 2714266
python.versions 39
python.pep517 yes
if {${name} ne ${subport}} {
depends_run-append \
port:py${python.version}-boto3 \
port:py${python.version}-filelock \
port:py${python.version}-h5py \
port:py${python.version}-jsonnet \
port:py${python.version}-jsonpickle \
port:py${python.version}-lmdb \
port:py${python.version}-more-itertools \
port:py${python.version}-nltk \
port:py${python.version}-numpy \
port:py${python.version}-overrides \
port:py${python.version}-pytest \
port:py${python.version}-pytorch \
port:py${python.version}-requests \
port:py${python.version}-scikit-learn \
port:py${python.version}-scipy \
port:py${python.version}-sentencepiece \
port:py${python.version}-spacy \
port:py${python.version}-tensorboardX \
port:py${python.version}-torchvision \
port:py${python.version}-tqdm \
port:py${python.version}-transformers
depends_test-append \
port:py${python.version}-black \
port:py${python.version}-codecov \
port:py${python.version}-coverage \
port:py${python.version}-flake8 \
port:py${python.version}-flaky \
port:py${python.version}-matplotlib \
port:py${python.version}-mypy \
port:py${python.version}-pytest-benchmark \
port:py${python.version}-pytest-cov \
port:py${python.version}-responses
test.run yes
}