Ticket #51496: Portfile.diff

File Portfile.diff, 1.8 KB (added by amake (Aaron Madlon-Kay), 8 years ago)
  • python/py-docker/Portfile

    From 7a5d18f6447d92f7581e8801fc6d8dbec5acb0d7 Mon Sep 17 00:00:00 2001
    From: Aaron Madlon-Kay <aaron@madlon-kay.com>
    Date: Thu, 26 May 2016 10:33:04 +0900
    Subject: [PATCH] Update py-docker to 1.8.1
    
    ---
     python/py-docker/Portfile | 13 +++++++++----
     1 file changed, 9 insertions(+), 4 deletions(-)
    
    diff --git a/python/py-docker/Portfile b/python/py-docker/Portfile
    index fc2d910..c7c97cd 100644
    a b PortSystem 1.0 
    55PortGroup           python 1.0
    66PortGroup           github 1.0
    77
    8 github.setup        docker docker-py 1.7.2
     8github.setup        docker docker-py 1.8.1
    99name                py-docker
    1010categories-append   devel
    1111platforms           darwin
    maintainers sean openmaintainer 
    1515description         An API client for docker written in Python
    1616long_description    $description
    1717
    18 checksums           rmd160  8f66dce84807cdd7fc6a8f539eda75aa4330692f \
    19                     sha256  dca7a22dae4d02ab336440c0926a012e401dff1c001299204300401d2d5ec162
     18checksums           rmd160  2541e6d9aada7d849a31c5bd5b0ed591def00073 \
     19                    sha256  6a0bf25bc685fbc5377e86f8137e45e5409e96e8de6969b00973a56d9a6d0800
    2020
    2121python.versions     27 34
    2222
    if {${subport} ne ${name}} { 
    2424    depends_build   port:py${python.version}-setuptools
    2525    depends_lib     port:py${python.version}-requests \
    2626                    port:py${python.version}-websocket-client
    27 
     27    if {${python.version} < 35} {
     28        depends_lib-append    port:py${python.version}-backports-ssl_match_hostname
     29    }
     30    if {${python.version} < 33} {
     31        depends_lib-append    port:py${python.version}-ipaddress
     32    }
    2833    livecheck.type  none
    2934} else {
    3035    livecheck.regex     archive/[join ${github.tag_prefix} ""](\[^"r-\]+)${extract.suffix}