[141094] trunk/dports/python/py-sphinx_rtd_theme/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Oct 10 11:44:57 PDT 2015


On Oct 10, 2015, at 10:17 AM, mcalhoun at macports.org wrote:

> Revision
> 141094
> Author
> mcalhoun at macports.org
> Date
> 2015-10-10 08:17:13 -0700 (Sat, 10 Oct 2015)
> Log Message
> 
> py-sphinx_rtd_theme: fix checksums and remove redundant code

> Modified: trunk/dports/python/py-sphinx_rtd_theme/Portfile (141093 => 141094)

> -homepage            https://github.com/snide/sphinx_rtd_theme/
> -master_sites        https://pypi.python.org/packages/source/s/sphinx_rtd_theme
> -distname            sphinx_rtd_theme-${version}
> +checksums           rmd160  6ff8ca9d09a91a20da6ee8c5a9327b5aef88e361 \
> +                    sha256  38301d0a41a8a92049597d5a3d29f39ed5ebef741386e85eaf7a10c982defd81
>  
> -checksums           rmd160  4fd81f7ac50fcf507b6c1996c7194d9b769e30dd \
> -                    sha256  273846f8aacac32bf9542365a593b495b68d8035c2e382c9ccedcac387c9a0a1
> -

Not all of that code was redundant. Prior to this change, the port was fetching from pypi:

--->  Attempting to fetch sphinx_rtd_theme-0.1.9.tar.gz from https://pypi.python.org/packages/source/s/sphinx_rtd_theme

This file is 698461 bytes and has the original checksums:

checksums           rmd160  4fd81f7ac50fcf507b6c1996c7194d9b769e30dd \
                    sha256  273846f8aacac32bf9542365a593b495b68d8035c2e382c9ccedcac387c9a0a1


After this change, the port fetches from github:

--->  Attempting to fetch sphinx_rtd_theme-0.1.9.tar.gz from https://github.com/snide/sphinx_rtd_theme/tarball/0.1.9

This file is 1066166 bytes and has the new checksums:

checksums           rmd160  6ff8ca9d09a91a20da6ee8c5a9327b5aef88e361 \
                    sha256  38301d0a41a8a92049597d5a3d29f39ed5ebef741386e85eaf7a10c982defd81


If these files are equivalent for MacPorts' purposes, perhaps it was better to use the smaller file from pypi.



More information about the macports-dev mailing list