Changeset 126374


Ignore:
Timestamp:
Oct 9, 2014, 4:27:17 AM (5 years ago)
Author:
jmr@…
Message:

py27-gslib: use unified python portgroup

Location:
trunk/dports/python/py-gslib
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-gslib/Portfile

    r102763 r126374  
    22
    33PortSystem          1.0
    4 PortGroup           python27 1.0
     4PortGroup           python 1.0
    55
    6 name                py27-gslib
     6name                py-gslib
    77set module_name     gslib
    88set proj_name       gsutil
     
    3131dist_subdir         ${proj_name}
    3232
    33 depends_lib         port:py27-boto
    34 
    3533checksums           md5     65577aea58479c4eea190dd93b72c42b \
    3634                    sha1    58bb5e5b4443576c548bb795f5aa30c3d12ea8c5 \
    3735                    rmd160  b08b6f303d43eb23bc3be165cdfc68c30ae8d82e
    3836
    39 build {}
    40 destroot {
    41     xinstall -d ${destroot}${python.pkgd}
    42     move ${worksrcpath} ${destroot}${python.pkgd}/${module_name}
     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    }
    4347}
Note: See TracChangeset for help on using the changeset viewer.