Ticket #40917: py-oauth2client_1.2.diff

File py-oauth2client_1.2.diff, 1.4 KB (added by tresni (Brian Hartvigsen), 11 years ago)

Updated patch using right subport name...

  • Portfile

    old new  
    66
    77name                py-oauth2client
    88set realname        oauth2client
    9 version             1.1
     9version             1.2
    1010
    1111python.versions     25 26 27
    1212
     
    2525
    2626if {$subport != $name} {
    2727    depends_build-append port:py${python.version}-setuptools
     28    depends_lib-append   port:py${python.version}-httplib2 \
     29                         port:py${python.version}-uritemplate
     30
     31    post-destroot {   
     32        delete ${destroot}${python.pkgd}/uritemplate
    2833
    29     post-destroot {       
    3034        set egg-info ${destroot}${python.pkgd}/${realname}-${version}-py${python.branch}.egg-info
    3135        foreach d [glob -dir ${egg-info} *] {
    3236            file attributes ${d} -permissions 0644
     
    3438    }
    3539}
    3640
    37 checksums           rmd160  ab43a71dc403e52d07f88a95ba5293f1004ca3db \
    38                     sha256  8505bfbe87f45a511ab256896da244eed560acf7d9372a6f7036cd494476c662
     41subport py25-oauth2client {
     42    depends_lib-append      port:py25-simplejson
     43}
     44
     45checksums           rmd160  949cd82932f126194bfd53eadf92829ee2152e04 \
     46                    sha256  7ed84c327d61284bb32158ef1b3723106861efd64a8cc07e918a1db33d88fdbd
    3947
    4048livecheck.type      regex
    4149livecheck.url       http://pypi.python.org/pypi/${realname}