You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
50 lines
1.6 KiB
Tcl
50 lines
1.6 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
|
|
PortGroup compiler_blacklist_versions 1.0
|
|
|
|
name py-cryptography
|
|
version 2.9.2
|
|
revision 0
|
|
categories-append devel
|
|
platforms darwin
|
|
license BSD
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
maintainers {stromnov @stromnov} openmaintainer
|
|
|
|
description Package which provides cryptographic recipes and primitives to Python developers.
|
|
long_description ${description}
|
|
|
|
homepage https://github.com/pyca/cryptography
|
|
|
|
checksums rmd160 61fb86fd231710d5875428a3a1cefcd5c1d0c99e \
|
|
sha256 a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229 \
|
|
size 517571
|
|
|
|
platform macosx {
|
|
if {${os.major} < 11} {
|
|
# https://trac.macports.org/ticket/54519
|
|
# https://trac.macports.org/ticket/54753
|
|
# https://trac.macports.org/ticket/55079
|
|
patchfiles-append patch-src__cffi_src_build_openssl.py.diff
|
|
}
|
|
}
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:py${python.version}-setuptools \
|
|
port:py${python.version}-asn1crypto \
|
|
port:py${python.version}-six \
|
|
port:py${python.version}-cffi \
|
|
path:lib/libssl.dylib:openssl
|
|
|
|
if {${python.version} eq 27} {
|
|
depends_lib-append port:py${python.version}-enum34 \
|
|
port:py${python.version}-ipaddress
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|