MacPorts Devs,

I have a situation where I can use a Portfile to install a package, but when I 
share that Portfile with a colleague, he gets the following error:

:debug:fetch fetch phase started at Wed Nov 16 15:30:58 PST 2016
:notice:fetch --->  Fetching distfiles for py27-gptools
:debug:fetch Executing org.macports.fetch (py27-gptools)
:info:fetch --->  gptools-0.2.2.tar.gz does not exist in 
/opt/local/var/macports/distfiles/py-gptools
:notice:fetch --->  Attempting to fetch gptools-0.2.2.tar.gz 
fromhttps://pypi.python.org/packages/source/g/gptools/
:debug:fetch Fetching distfile failed: Server aborted the SSL handshake

The Portfile is
{{{
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; 
c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           python 1.0
PortGroup           github 1.0

github.setup        markchil gptools 0.2.2 v

name                py-gptools

categories-append   science math

platforms           darwin
supported_archs     noarch
license             GPL-3
maintainers         fusion.gat.com:smithsp openmaintainer
description         Gaussian process regression with derivative constraints and 
predictions.
long_description    \
    gptools is a Python package that provides a convenient, powerful and \
    extensible implementation of Gaussian process regression (GPR).  Central \
    to gptool's implementation is support for derivatives and their variances.\
    Furthermore, the implementation supports the incorporation of arbitrary \
    linearly transformed quantities into the GP.
checksums           md5 b7643b791a68aa5851949c5351b9e953 \
                    rmd160  6ba6d355004f5dc6d3bd133e7360e8b86718bd3f \
                    sha256  
1b05998f24e268a23ad1d428bed2e78b96d9d5a4973f1fddd24fef0f9602ff8a

master_sites        https://pypi.python.org/packages/source/g/gptools/
distname            gptools-${version}

python.versions     27

if {$subport != $name} {
    depends_build-append port:py${python.version}-setuptools
    livecheck.type       none
    depends_lib-append  port:py${python.version}-emcee \
                        port:py${python.version}-triangle
}
}}}

Note that I believe that our OS versions are different: I am 10.9.5, and he is 
10.10.x.  Do you have any thoughts as to why he gets the failed ssl handshake, 
but I do not?  Do you have any suggestions for how to avoid this problem?  I 
see that in https://trac.macports.org/ticket/51697 some might think that it is 
a proxy configuration error in the newer computer, but then there is 
https://trac.macports.org/ticket/38015 where breaking the openssl port caused 
similar problems.  (For the py-triangle Portfile dependency, see 
https://github.com/macports/macports-ports/pull/45 .)  

Thanks for your attention,
Sterling Smith

Reply via email to