mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
Required by dev-db/pgadmin4-4.25. Package initially created/curated by Jorge Pizarro Callejas, a.k.a. Jorgicio, via https://github.com/jorgicio/jorgicio-gentoo-overlay. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Aaron W. Swenson <titanofold@gentoo.org>
37 lines
701 B
Bash
37 lines
701 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7,8} )
|
|
|
|
inherit distutils-r1
|
|
|
|
MY_PN="Flask-Compress"
|
|
MY_P="${MY_PN}-${PV}"
|
|
|
|
DESCRIPTION="Compress responses in your Flask app with gzip"
|
|
HOMEPAGE="https://pypi.org/project/Flask-Compress"
|
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND="
|
|
app-arch/brotli[python,${PYTHON_USEDEP}]
|
|
dev-python/flask[${PYTHON_USEDEP}]
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
DEPEND="
|
|
${RDEPEND}
|
|
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
|
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
python_test() {
|
|
pytest
|
|
}
|