mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
dev-python/flask-admin: Clean old up
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST Flask-Admin-1.0.6.tar.gz 235842 BLAKE2B d0c2d48076d8c5d6f5df4b779128d1b9ecf00d8a6ef01df1d39a75212dc99f08a4ba7d03a95c8f39c4b3442ae4651d7185bf3faf528804f78f46277dd18dc3e2 SHA512 a30e2678a063d45d55ccf41cfec07fd16973cc8c770b1e7f16d11b9aba693049b1d9d4cff81d8ae8f2548d019f977f0906728e98d23d229d76bf135a079abc8f
|
||||
DIST Flask-Admin-1.4.2.tar.gz 922579 BLAKE2B 48a1afb62071d201c262b5edb4b09ad831b4122a105d4b21b69179ad3ff886d5e6cf7799bd254736462b7bd88f56a218fa79b4386948823df32b3ddfcb44a9ab SHA512 e736d5f6d05c886ac8bd96b7524d6bc7af956fd9d2f183d1c0872ea346301d67c5b634589b94b1de3be9fd5f1595ad95505b68d80adc613520259380bb9b0be5
|
||||
DIST Flask-Admin-1.5.0.tar.gz 1598074 BLAKE2B a7ca1fab32621cacfcf691f779e88e134369be82f1904db02f72cd51fbbdfecb22b9da06800a9cfae99336ed2807914a6420248c43775c9ec37d65ce242ce17c SHA512 dbf5b97f27228eb000fd1298f4da8d4824196856e4ba9e2d8cbae6e562794ec2d1a998b382efaa84ec4fd7a74ae589a739c52e117efebfb171f19bc16e7350e7
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
#RESTRICT="test" # we're still missing some of the dependencies
|
||||
|
||||
MY_PN="Flask-Admin"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Simple and extensible admin interface framework for Flask"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/Flask-Admin"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/flask-0.7[${PYTHON_USEDEP}]
|
||||
dev-python/wtforms[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/flask-wtf[${PYTHON_USEDEP}]
|
||||
dev-python/peewee[${PYTHON_USEDEP}]
|
||||
dev-python/wtf-peewee[${PYTHON_USEDEP}]
|
||||
dev-python/flask-pymongo[${PYTHON_USEDEP}]
|
||||
dev-python/flask-mongoengine[${PYTHON_USEDEP}]
|
||||
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
|
||||
dev-python/flask-babelex[${PYTHON_USEDEP}]
|
||||
sci-libs/Shapely[${PYTHON_USEDEP}]
|
||||
dev-python/geoalchemy2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-2.9[${PYTHON_USEDEP},jpeg(+)]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
sed \
|
||||
-e 's:find_packages():find_packages(exclude=["*.examples", "*.examples.*", "examples.*", "examples"]):g' \
|
||||
-i setup.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && dodoc -r examples
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Reference in New Issue
Block a user