From e8ab7aa865ab110e952030af4c34295bad28815f Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Sat, 16 Sep 2017 14:21:59 +0000 Subject: dev-python/flask-mongoengine: Bump Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- dev-python/flask-mongoengine/Manifest | 1 + .../flask-mongoengine-0.9.3.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dev-python/flask-mongoengine/flask-mongoengine-0.9.3.ebuild (limited to 'dev-python/flask-mongoengine') diff --git a/dev-python/flask-mongoengine/Manifest b/dev-python/flask-mongoengine/Manifest index 1fc58d0d343d..45290e1b5953 100644 --- a/dev-python/flask-mongoengine/Manifest +++ b/dev-python/flask-mongoengine/Manifest @@ -1,2 +1,3 @@ DIST flask-mongoengine-0.7.0.tar.gz 103676 SHA256 e5031d1f812181699b10fec76d7c9c6633f19f8b686dcee48371e9216884f2b4 SHA512 3a9ce923b5d391e4fbdacc87d32e6cd8e0ada592c9fce585cf6dc38b8c116966cd70c83c2f2b77f580348722351c129ef38d7788f9ae2bd27d043de0d5487493 WHIRLPOOL 20583285ec18871b750c045a1dc911d6c836b152a27816b81805f12808dd68450236139245fd6ea07c9239544a7a62dafd358feaf13304910b6c6301f5f32567 DIST flask-mongoengine-0.8.tar.gz 115524 SHA256 24b30f3cfce95a53f0ad7ce14aa5eb24db7a6db756e1549056fb2b4b397b045e SHA512 fe64765f5ce5e9d9b6919b29bae5ed0faff98e42f2ae99283c8492e5c82def0ec90afabade92dd8ee7805ca65dd6f529b266c8518a95328422f57d5ab18283e3 WHIRLPOOL c38f5c00de4f8bbebe045a1b7d4ef7f9460209c4f2eac17e0a00dc7b86f1550a5e6f3a601ee00f9f107d05345e07b195ece63198bd31ecaad72dacd4e38acb88 +DIST flask-mongoengine-0.9.3.tar.gz 111690 SHA256 01b66bd9bfdef9cc9e7e7102e1f86e772e6777c36d8577b3ef5c94ba3216bde8 SHA512 15b8031e4f8a9275fa6a602aed8466533fc9e6eb408d8f3316fc8814cc785feeee59dae25f40c1c30371e7e33bcc8727bb866bd99dbee0dc75cf15049576fb3d WHIRLPOOL 5b8de916e67f7fca9dffc053ca9e18e390fcfa2afa576d57760770b5e15051ec9accc256f5c6ecc5fab4949d0e27142b2cccc0ec72c8415b13cc4a49b29d01cb diff --git a/dev-python/flask-mongoengine/flask-mongoengine-0.9.3.ebuild b/dev-python/flask-mongoengine/flask-mongoengine-0.9.3.ebuild new file mode 100644 index 000000000000..04d379eae398 --- /dev/null +++ b/dev-python/flask-mongoengine/flask-mongoengine-0.9.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 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 +} -- cgit v1.2.3-65-gdbad