blob: cc0428d47874a8aa072fbabc8d865e20687a0b82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6} )
inherit distutils-r1
DESCRIPTION="WTForms integration for peewee models"
HOMEPAGE="https://github.com/coleifer/wtf-peewee/"
SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="examples test"
RDEPEND=">=dev-python/peewee-3[${PYTHON_USEDEP}]
dev-python/wtforms[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
"${PYTHON}" ./runtests.py || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
use examples && dodoc -r example
distutils-r1_python_install_all
}
|