flask-bootstrap: garbage ebuild that I need

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-05-07 21:26:14 -04:00
parent 54a7ace3f2
commit f06593dec8
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST Flask-Bootstrap-3.3.7.1.tar.gz 456359 BLAKE2B 21b0aea8d7e9a1df39f20ab43b72a7240d83fb1a1209f215239114a915f6e2280c7310f4d44d714efe964913b9e1fadf6738ac3d626b1090233727f57666d857 SHA512 23500d9575de5c52fcfd8a41bb7d5680440a0f1bae25e7a089b7f0e3885304a4c7d5b916f98adbfe80b98c8d107feef0c5c282e7a4bec7038310e778da4ca2e7

View file

@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
MY_PN="Flask-Bootstrap"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Simple integration of Flask and WTForms"
HOMEPAGE="https://pythonhosted.org/Flask-Bootstrap/ https://pypi.org/project/Flask-Bootstrap/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
RESTRICT="test"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
dev-python/dominate[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/main.txt/,+7d' setup.py || die
default
}