Skip to content
Permalink
Browse files

Upgrade py-gdata and py25-gdata to version 1.2.1

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40521 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jérôme Soyer
Jérôme Soyer committed Oct 5, 2008
1 parent 75b40fd commit 76be393fec39430c90b394957fabf38623683959
Showing with 15 additions and 15 deletions.
  1. +8 −8 python/py-gdata/Portfile
  2. +7 −7 python/py25-gdata/Portfile
@@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python24 1.0

name py-gdata
version 1.1.1
version 1.2.1
categories-append devel
maintainers gmail.com:aecollins1
description Google Data API Python Client Library
@@ -18,26 +18,26 @@ homepage http://code.google.com/p/gdata-python-client/
master_sites http://gdata-python-client.googlecode.com/files/
distname gdata.py-${version}

checksums md5 8addbac38dabdc7e00701d7b60685d4d \
sha1 aa0120a6f5a724461d885f6ebce29245f9b2e65e \
rmd160 1cb3920d72948e84cdb753dd3f37dc7e03d56717
checksums md5 19cd7fff94e2320b20d023492c33bf99 \
sha1 5360ca69ae2a6d9524ffe1e5df1aa2e0a5377aa2 \
rmd160 5ea51c0c56462c581d735edbfcc071384964ed11

depends_lib port:py-setuptools \
port:py-elementtree

post-destroot {

eval reinplace \
"s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.4/site-packages|g" \
[glob ${worksrcpath}/pydocs/*.html]

xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
eval file copy [glob ${worksrcpath}/pydocs/*.html] \
${destroot}${prefix}/share/doc/${name}

eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.4|g" \
[glob ${worksrcpath}/samples/*/*.py]

file copy ${worksrcpath}/samples \
${destroot}${prefix}/share/doc/${name}/
}
@@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup python25 1.0

name py25-gdata
version 1.1.1
version 1.2.1
categories-append devel
maintainers gmail.com:aecollins1
description Google Data API Python Client Library
@@ -18,24 +18,24 @@ homepage http://code.google.com/p/gdata-python-client/
master_sites http://gdata-python-client.googlecode.com/files/
distname gdata.py-${version}

checksums md5 8addbac38dabdc7e00701d7b60685d4d \
sha1 aa0120a6f5a724461d885f6ebce29245f9b2e65e \
rmd160 1cb3920d72948e84cdb753dd3f37dc7e03d56717
checksums md5 19cd7fff94e2320b20d023492c33bf99 \
sha1 5360ca69ae2a6d9524ffe1e5df1aa2e0a5377aa2 \
rmd160 5ea51c0c56462c581d735edbfcc071384964ed11

depends_lib port:py25-setuptools \
port:py25-elementtree \
port:py25-socket-ssl

post-destroot {

eval reinplace \
"s|/home/jhartmann/gdata-python-client2/src|${prefix}/lib/python2.5/site-packages|g" \
[glob ${worksrcpath}/pydocs/*.html]

xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
eval file copy [glob ${worksrcpath}/pydocs/*.html] \
${destroot}${prefix}/share/doc/${name}

eval reinplace "s|#!/usr/bin/python|#!${prefix}/bin/python2.5|g" \
[glob ${worksrcpath}/samples/*/*.py]
file copy ${worksrcpath}/samples \

0 comments on commit 76be393

Please sign in to comment.
You can’t perform that action at this time.