You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.6 KiB
Tcl
53 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
|
|
|
|
name py-curl
|
|
python.rootname pycurl
|
|
version 7.47.0
|
|
revision 0
|
|
|
|
categories-append net devel
|
|
license {MIT LGPL}
|
|
maintainers nomaintainer
|
|
|
|
description Python interface to libcurl
|
|
long_description Python module interface to the cURL library which \
|
|
is a tool for transferring files with URL syntax, \
|
|
supporting many protocols.
|
|
|
|
homepage http://pycurl.io/
|
|
|
|
checksums rmd160 446f36bff6e74c02d0ffd09b391e565251d7069a \
|
|
sha256 5e3cf357939da8d4ceefe3c7f305afcf9b47cba66cfd95e7768ca43b38445e14 \
|
|
size 301499
|
|
|
|
python.versions 27 310 311 312 313 314
|
|
|
|
if {${name} ne ${subport}} {
|
|
if {${python.version} == 27} {
|
|
version 7.43.0.3
|
|
revision 0
|
|
checksums rmd160 32673e8d1e9ed4872d9b9d5d8272963f7749cc74 \
|
|
sha256 6f08330c5cf79fa8ef68b9912b9901db7ffd34b63e225dce74db56bb21deda8e \
|
|
size 215003
|
|
}
|
|
|
|
depends_lib-append port:curl \
|
|
path:lib/libssl.dylib:openssl
|
|
|
|
pre-build {
|
|
system -W ${build.dir} "${python.bin} setup.py docstrings"
|
|
}
|
|
|
|
if {${python.pep517}} {
|
|
build.args "--config-setting='--curl-config=${prefix}/bin/curl-config'"
|
|
} else {
|
|
build.args --curl-config=${prefix}/bin/curl-config
|
|
destroot.args {*}${build.args}
|
|
}
|
|
|
|
livecheck.type none
|
|
}
|