/
Portfile
52 lines (41 loc) · 1.83 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
# -*- 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-setuptools-rust
version 1.8.1
revision 0
categories-append devel
license MIT
supported_archs noarch
platforms {darwin any}
python.versions 36 37 38 39 310 311 312
python.pep517 yes
maintainers nomaintainer
description Setuptools Rust extension plugin
long_description {*}${description}
homepage https://github.com/PyO3/setuptools-rust
checksums rmd160 193c9c5cc2a4b68eee2f4a05532a103884637743 \
sha256 94b1dd5d5308b3138d5b933c3a2b55e6d6927d1a22632e509fcea9ddd0f7e486 \
size 311455
if {${name} ne ${subport}} {
if {${python.version} == 36} {
version 1.1.2
revision 0
checksums rmd160 f7e659e1ef29849616400767c261d7ee82409d03 \
sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 \
size 285260
python.pep517 no
} elseif {${python.version} == 37} {
version 1.7.0
revision 0
checksums rmd160 9ccde0f5f04174659c76bf0d373065561324c7be \
sha256 c7100999948235a38ae7e555fe199aa66c253dc384b125f5d85473bf81eae3a3 \
size 303181
}
depends_build-append \
port:py${python.version}-setuptools_scm
depends_run-append port:py${python.version}-semantic_version \
port:py${python.version}-typing_extensions \
port:cargo \
port:rust
}