dev-python/flask-mongoengine: Clean old up

This commit is contained in:
Michał Górny
2018-01-03 23:29:29 +01:00
parent 4569a66b79
commit 44b45de4b7
3 changed files with 0 additions and 77 deletions

View File

@@ -1,3 +1 @@
DIST flask-mongoengine-0.7.0.tar.gz 103676 BLAKE2B f4c6bbf30cdd92ea54f66f3b5ce6a309fa0734d637d6a4a3db87f99773f718ed589ec837792c9ccbac6b10172879b3b2273f180ee5d0538e72aedc6b5b5fc6d5 SHA512 3a9ce923b5d391e4fbdacc87d32e6cd8e0ada592c9fce585cf6dc38b8c116966cd70c83c2f2b77f580348722351c129ef38d7788f9ae2bd27d043de0d5487493
DIST flask-mongoengine-0.8.tar.gz 115524 BLAKE2B 75182bc7c880059d2906560a5768a9eb298417e6e7211599b2c3733c71d165d790fb613c4e61f19d318e3a3ac2bc67b95f411c46b60e0feff08bcbba888a070b SHA512 fe64765f5ce5e9d9b6919b29bae5ed0faff98e42f2ae99283c8492e5c82def0ec90afabade92dd8ee7805ca65dd6f529b266c8518a95328422f57d5ab18283e3
DIST flask-mongoengine-0.9.3.tar.gz 111690 BLAKE2B f94f057bb416715d877154bb2816308324d3f0bb41dfe2002b80ed2f078ab2bffeb62fc7bd53344b7d995111122d0b59a09dfe7700975e151e61fe60f2bdad45 SHA512 15b8031e4f8a9275fa6a602aed8466533fc9e6eb408d8f3316fc8814cc785feeee59dae25f40c1c30371e7e33bcc8727bb866bd99dbee0dc75cf15049576fb3d

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
RESTRICT="test" # broken
DESCRIPTION="Flask support for MongoDB and with WTF model forms"
HOMEPAGE="https://pypi.python.org/pypi/flask-mongoengine/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/mongoengine[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
)
"
python_test() {
nosetests || die "Testing failed with ${EPYTHON}"
}

View File

@@ -1,44 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
RESTRICT="test" # requires running MongoDB server
DESCRIPTION="Flask support for MongoDB and with WTF model forms"
HOMEPAGE="https://pypi.python.org/pypi/flask-mongoengine/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/flask-0.8[${PYTHON_USEDEP}]
>=dev-python/mongoengine-0.7.10[${PYTHON_USEDEP}]
dev-python/flask-wtf[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
python_prepare_all() {
# fix distutils sandbox violation due to missing test-deps in normal build
sed -i '/test_requirements/d' setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
nosetests || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}