source: trunk/dports/python/py-httplib2/Portfile

Last change on this file was 143366, checked in by aronnax@…, 22 months ago

py-httplib2: fix file permissions that are still broken in latest release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 143366 2015-12-11 14:37:57Z ryandesign@macports.org $
2
3PortSystem        1.0
4PortGroup         python 1.0
5
6name              py-httplib2
7set realversion   0.9.2
8version           2-${realversion}
9revision          1
10categories-append devel net
11license           MIT
12platforms         darwin
13maintainers       ram aronnax openmaintainer
14
15description       A comprehensive HTTP client library in Python
16long_description  A comprehensive HTTP client library that supports \
17                  many features left out of other HTTP libraries.
18
19homepage          http://pypi.python.org/pypi/${python.rootname}/
20master_sites      pypi:[string index ${python.rootname} 0]/${python.rootname}
21distname          ${python.rootname}-${realversion}
22
23python.versions   26 27 33 34 35
24
25checksums         md5    bd1b1445b3b2dfa7276b09b1a07b7f0e \
26                  rmd160 305916f7a3f9ff7a262d770b7cf19e808ea11105 \
27                  sha256 c3aba1c9539711551f4d83e857b316b5134a1c4ddce98a875b7027be7dd6d988
28
29if {${name} ne ${subport}} {
30  # Extracted files do not have correct 'group' and 'other' permissions.
31  post-extract {
32    system "find ${worksrcpath} -type d -print0 | xargs -0 chmod a+rx"
33    system "find ${worksrcpath} -type f -print0 | xargs -0 chmod a+r"
34  }
35
36  depends_build-append \
37                    port:py${python.version}-setuptools
38
39  livecheck.type    none
40} else {
41  livecheck.type    pypi
42  livecheck.version ${realversion}
43}
Note: See TracBrowser for help on using the repository browser.