flask-datepicker: I needed it, this ebuild is probably horrible

This commit is contained in:
Rick Farina (Zero_Chaos) 2021-04-27 22:45:54 -04:00
parent 178cb80a8d
commit 395d1f1c50
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST Flask-Datepicker-0.14.tar.gz 5706 BLAKE2B 096fdb235dcd5167aed70542512f61a433d173e9a9f402e8e55c7ae24a69921ff399e1af8c1fe3ebf495dbf9bea93c3bdddfccc3ee494c2ab08df3f63e7d07c6 SHA512 2539f3c598d9f82b5e92c638c5a5e7e60e04f24b165276c7c4848f64d437bf8e0f126604b66a6acc5066e0e2408a7d459a5c41efc53d9e99078e97fd3ee092c9

View file

@ -0,0 +1,34 @@
# 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-Datepicker"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Simple integration of Flask and WTForms"
HOMEPAGE="https://pythonhosted.org/Flask-WTF/ https://pypi.org/project/Flask-WTF/"
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}]
"
BDEPEND="${RDEPEND}"
distutils_enable_sphinx docs
distutils_enable_tests pytest
src_prepare() {
sed -i -e '/main.txt/,+7d' setup.py || die
default
}