[MacPorts] #61448: py38-requests-cache @0.5.0: Checksum mismatch

MacPorts noreply at macports.org
Sun Nov 22 15:41:35 UTC 2020


#61448: py38-requests-cache @0.5.0: Checksum mismatch
--------------------------------+--------------------
  Reporter:  jhoyt4             |      Owner:  (none)
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:
Resolution:                     |   Keywords:
      Port:  py-requests-cache  |
--------------------------------+--------------------

Comment (by jhoyt4):

 This modified Portfile seems to work with 0.5.2


 {{{
 # -*- 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           github 1.0
 PortGroup           python 1.0

 github.setup        reclosedev requests-cache 0.5.2 v
 revision            0
 name                py-requests-cache

 categories-append   devel
 platforms           darwin
 license             BSD
 supported_archs     noarch
 maintainers         nomaintainer

 description         Transparent persistent cache for py-requests
 long_description    ${description}

 checksums           rmd160  ccd76aca28b1ba826a88beb5fc65f16aec26e583 \
                     sha256
 813023269686045f8e01e2289cc1e7e9ae5ab22ddd1e2849a9093ab3ab7270eb \
                     size    31159

 python.versions     27 35 36 37 38

 master_sites
 https://files.pythonhosted.org/packages/0c/d4/bdc22aad6979ceeea2638297f213108aeb5e25c7b103fa02e4acbe43992e

 if {${name} ne ${subport}} {
     depends_build-append \
                     port:py${python.version}-setuptools

     depends_lib-append \
                     port:py${python.version}-requests

     post-destroot {
         set docdir ${prefix}/share/doc/${subport}
         xinstall -d ${destroot}${docdir}
         xinstall -m 0644 -W ${worksrcpath} README.rst CONTRIBUTORS.rst \
             LICENSE HISTORY.rst ${destroot}${docdir}
     }

     depends_test-append \
                     port:py${python.version}-mock \
                     port:py${python.version}-pytest

     test.run        yes
     test.cmd        py.test-${python.branch}
     test.target
     test.env        PYTHONPATH=${worksrcpath}/build/lib

     livecheck.type  none
 }

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61448#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list