You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
44 lines
1.5 KiB
Tcl
44 lines
1.5 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-httplib2
|
|
set realversion 0.11.3
|
|
revision 0
|
|
version 2-${realversion}
|
|
categories-append devel net
|
|
license MIT
|
|
platforms darwin
|
|
maintainers {aronnax @lpsinger} openmaintainer
|
|
|
|
description A comprehensive HTTP client library in Python
|
|
long_description A comprehensive HTTP client library that supports \
|
|
many features left out of other HTTP libraries.
|
|
|
|
homepage https://pypi.python.org/pypi/${python.rootname}/
|
|
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}
|
|
distname ${python.rootname}-${realversion}
|
|
|
|
python.versions 27 35 36 37 38 39
|
|
|
|
checksums rmd160 c8c524c2fd7edca575db197da82b71c23c7f128c \
|
|
sha256 e71daed9a0e6373642db61166fa70beecc9bf04383477f84671348c02a04cbdf \
|
|
size 215815
|
|
|
|
if {${name} ne ${subport}} {
|
|
# Extracted files do not have correct 'group' and 'other' permissions.
|
|
post-extract {
|
|
system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
|
|
system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
|
|
}
|
|
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
livecheck.type none
|
|
} else {
|
|
livecheck.type pypi
|
|
livecheck.version ${realversion}
|
|
}
|