summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-httpcode/package.py
blob: d95b8ce4da09ccb1d94f95558166a65e6c4bab07 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class RHttpcode(RPackage):
    """httpcode: 'HTTP' Status Code Helper

    Find and explain the meaning of 'HTTP' status codes. Functions included for
    searching for codes by full or partial number, by message, and get
    appropriate dog and cat images for many status codes."""

    homepage = "https://github.com/sckott/httpcode"
    url      = "https://cloud.r-project.org/src/contrib/httpcode_0.2.0.tar.gz"
    list_url = "https://cloud.r-project.org/src/contrib/Archive/httpcode"

    version('0.3.0', sha256='593a030a4f94c3df8c15576837c17344701bac023ae108783d0f06c476062f76')
    version('0.2.0', sha256='fbc1853db742a2cc1df11285cf27ce2ea43bc0ba5f7d393ee96c7e0ee328681a')