flask-bootstrap: add doc and clean ebuild

add metadata
This commit is contained in:
rick 2025-06-11 00:49:05 +02:00
parent f82ea53188
commit f80c6b9ca9
No known key found for this signature in database
GPG key ID: A2E7B6CA577C8F07
3 changed files with 18 additions and 16 deletions

View file

@ -1 +1 @@
DIST Flask-Bootstrap-3.3.7.1.tar.gz 456359 BLAKE2B 21b0aea8d7e9a1df39f20ab43b72a7240d83fb1a1209f215239114a915f6e2280c7310f4d44d714efe964913b9e1fadf6738ac3d626b1090233727f57666d857 SHA512 23500d9575de5c52fcfd8a41bb7d5680440a0f1bae25e7a089b7f0e3885304a4c7d5b916f98adbfe80b98c8d107feef0c5c282e7a4bec7038310e778da4ca2e7
DIST flask-bootstrap-3.3.7.1.gh.tar.gz 490821 BLAKE2B 48773fa1632a9b34284af90924d0d7c6bbe06e43c30b09e72747072d4cdead88a08a1d95a661548709cc46cb9d9c9c017835cd6537ec1a23993fe79cfef31662 SHA512 010c71f69a95cb51afb449d1b43cb345ad23815ea89b368281f721a2af13cf2c143d67b586114898450d8e7fec413f45ff042cfca3dc1183cb0f50566e39fdc3

View file

@ -1,4 +1,4 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -7,30 +7,20 @@ DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
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}"
SRC_URI="https://github.com/mbr/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc test"
RESTRICT="test"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
>=dev-python/flask-0.8[${PYTHON_USEDEP}]
dev-python/dominate[${PYTHON_USEDEP}]
dev-python/visitor[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/main.txt/,+7d' setup.py || die
default
}
distutils_enable_sphinx docs dev-python/alabaster

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<upstream>
<remote-id type="github">mbr/flask-bootstrap</remote-id>
<remote-id type="pypi">Flask-Bootstrap</remote-id>
</upstream>
</pkgmetadata>