pentoo-overlay/dev-python/python-secure/python-secure-0.2.1.ebuild
2020-06-21 00:07:25 +02:00

24 lines
578 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( python3_{6,7,8} )
MY_PN="${PN#python-}"
inherit distutils-r1
DESCRIPTION="Secure headers and cookies for Python web frameworks"
HOMEPAGE="https://github.com/TypeError/secure.py"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"