You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
34b3070336
for pf in */*/Portfile
do
ed -s "$pf" <<-'EOF'
1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
1g/^[[:space:]]*$/d
w
q
EOF
done
37 lines
1.1 KiB
Tcl
37 lines
1.1 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-oauth2
|
|
version 1.5.211
|
|
categories-append devel
|
|
license MIT
|
|
maintainers nomaintainer
|
|
supported_archs noarch
|
|
|
|
description Python library for oauth2
|
|
long_description ${description}
|
|
|
|
platforms darwin
|
|
|
|
homepage https://github.com/simplegeo/python-oauth2
|
|
master_sites pypi:o/oauth2/
|
|
distname oauth2-${version}
|
|
|
|
checksums rmd160 70baee500d03210cf30125be0cb3281185c70626 \
|
|
sha256 82a38f674da1fa496c0fc4df714cbb058540bed72a30c50a2e344b0d984c4d21
|
|
|
|
python.versions 27
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build port:py${python.version}-setuptools
|
|
depends_lib-append \
|
|
port:py${python.version}-httplib2
|
|
post-destroot {
|
|
if {[file exists ${destroot}${python.pkgd}/tests]} {
|
|
delete ${destroot}${python.pkgd}/tests
|
|
}
|
|
}
|
|
}
|