summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-flask-paginate/package.py
blob: 610eb0ad77f74204c0f7635b8d020ab330063bbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 2013-2023 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.package import *


class PyFlaskPaginate(PythonPackage):
    """Simple paginate for flask (study from will_paginate). Use bootstrap css
    framework, supports bootstrap2&3 and foundation."""

    homepage = "https://github.com/lixxu/flask-paginate"
    pypi = "flask-paginate/flask-paginate-2022.1.8.tar.gz"

    maintainers("meyersbs")

    license("BSD-3-Clause")

    version("2022.1.8", sha256="a32996ec07ca004c45b768b0d50829728ab8f3986c0650ef538e42852c7aeba2")

    # From setup.py:
    depends_on("py-setuptools", type="build")
    depends_on("py-flask", type=("build", "run"))