source: trunk/dports/python/py27-gslib/Portfile @ 102584

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

python/*: Use categories-append in all {no,open}maintainer ports that use a Python portgroup.

Overriding a portgroup's default category is not necessarily incorrect, but if there isn't a good reason for it, it sets a bad example.

(See https://lists.macosforge.org/pipermail/macports-dev/2013-February/021899.html and related messages.)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 102584 2013-02-05 04:25:13Z larryv@macports.org $
2
3PortSystem          1.0
4PortGroup           python27 1.0
5
6name                py27-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
16
17description         Python module for interacting with cloud storage services
18long_description \
19  gsutil allows you to store, share and manage data hosted at cloud-based \
20  storage providers. It supports a URI syntax for naming data, as well as \
21  URI wildcards. At present gsutil works with Google Storage for Developers \
22  and Amazon's Simple Storage Service (S3). gsutil is implemented in Python, \
23  atop the popular boto open source library.
24
25homepage            http://code.google.com/p/${proj_name}/
26master_sites        http://${proj_name}.googlecode.com/files/
27distname            ${proj_name}_${month}-${day}-${year}
28worksrcdir          ${proj_name}/${module_name}
29# store file in gstil port: both ports use the same file
30dist_subdir         ${proj_name}
31
32depends_lib         port:py27-boto
33
34checksums           md5     65577aea58479c4eea190dd93b72c42b \
35                    sha1    58bb5e5b4443576c548bb795f5aa30c3d12ea8c5 \
36                    rmd160  b08b6f303d43eb23bc3be165cdfc68c30ae8d82e
37
38build {}
39destroot {
40    xinstall -d ${destroot}${python.pkgd}
41    move ${worksrcpath} ${destroot}${python.pkgd}/${module_name}
42}
Note: See TracBrowser for help on using the repository browser.