source: trunk/dports/python/py-gslib/Portfile @ 126374

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

py27-gslib: use unified python portgroup

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 126374 2014-10-09 04:27:17Z jmr@macports.org $
2
3PortSystem          1.0
4PortGroup           python 1.0
5
6name                py-gslib
7set module_name     gslib
8set proj_name       gsutil
9version             20110908
10set year            [string range ${version} 0 3]
11set month           [string range ${version} 4 5]
12set day             [string range ${version} 6 7]
13platforms           darwin
14license             Apache-2
15maintainers         nomaintainer
16supported_archs     noarch
17
18description         Python module for interacting with cloud storage services
19long_description \
20  gsutil allows you to store, share and manage data hosted at cloud-based \
21  storage providers. It supports a URI syntax for naming data, as well as \
22  URI wildcards. At present gsutil works with Google Storage for Developers \
23  and Amazon's Simple Storage Service (S3). gsutil is implemented in Python, \
24  atop the popular boto open source library.
25
26homepage            http://code.google.com/p/${proj_name}/
27master_sites        googlecode:${proj_name}
28distname            ${proj_name}_${month}-${day}-${year}
29worksrcdir          ${proj_name}/${module_name}
30# store file in gstil port: both ports use the same file
31dist_subdir         ${proj_name}
32
33checksums           md5     65577aea58479c4eea190dd93b72c42b \
34                    sha1    58bb5e5b4443576c548bb795f5aa30c3d12ea8c5 \
35                    rmd160  b08b6f303d43eb23bc3be165cdfc68c30ae8d82e
36
37python.versions     27
38
39if {$subport ne $name} {
40    depends_lib         port:py${python.version}-boto
41
42    build {}
43    destroot {
44        xinstall -d ${destroot}${python.pkgd}
45        move ${worksrcpath} ${destroot}${python.pkgd}/${module_name}
46    }
47}
Note: See TracBrowser for help on using the repository browser.