source: trunk/dports/python/py-oauth2client/Portfile @ 106911

Last change on this file since 106911 was 106911, checked in by jmr@…, 6 years ago

Change distribute dependencies back to setuptools and mark py*-distribute replaced_by py*-setuptools (#39237).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# -*- 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
2# $Id: Portfile 106911 2013-06-11 14:40:14Z jmr@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-oauth2client
8set realname        oauth2client
9version             1.1
10
11python.versions     25 26 27
12
13categories-append   www
14maintainers         nomaintainer
15license             Apache-2
16description         client library for OAuth 2.0
17long_description    ${description}
18
19platforms           darwin
20supported_archs     noarch
21
22homepage            http://pypi.python.org/pypi/${realname}
23master_sites        http://pypi.python.org/packages/source/o/${realname}
24distname            ${realname}-${version}
25
26if {$subport != $name} {
27    depends_build-append port:py${python.version}-setuptools
28
29    post-destroot {       
30        set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info
31        foreach d [glob -dir ${egg-info} *] {
32            file attributes ${d} -permissions 0644
33        }
34    }
35}
36
37checksums           rmd160  ab43a71dc403e52d07f88a95ba5293f1004ca3db \
38                    sha256  8505bfbe87f45a511ab256896da244eed560acf7d9372a6f7036cd494476c662
39
40livecheck.type      regex
41livecheck.url       http://pypi.python.org/pypi/${realname}
42livecheck.regex     "${realname} (\[1-9\]+\.\[0-9\]+)"
Note: See TracBrowser for help on using the repository browser.