diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2016-09-13 15:09:36 +0200 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2016-11-06 12:23:48 +0100 |
commit | a84c10d889be95858ebe2814878f4ff7faace6f6 (patch) | |
tree | 973e262ebe73805fe793187ab89c752ff2b890ad | |
parent | dev-python/flask-script: rev-bump for EAPI 6 bump, py-3.5 support and simplif... (diff) | |
download | gentoo-a84c10d889be95858ebe2814878f4ff7faace6f6.tar.gz gentoo-a84c10d889be95858ebe2814878f4ff7faace6f6.tar.bz2 gentoo-a84c10d889be95858ebe2814878f4ff7faace6f6.zip |
dev-python/flask-pymongo: version bump (includes EAPI 6 bump and py-3.5 support)
Package-Manager: portage-2.3.0
-rw-r--r-- | dev-python/flask-pymongo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/flask-pymongo/Manifest b/dev-python/flask-pymongo/Manifest index b4f8dbd61700..01e8ab1d6617 100644 --- a/dev-python/flask-pymongo/Manifest +++ b/dev-python/flask-pymongo/Manifest @@ -1,2 +1,3 @@ DIST flask-pymongo-0.3.0.tar.gz 21019 SHA256 b1ab5c38f43a8f7ae3e981fb8e0a5d58fb47b066ba0c1b647738e68690f62473 SHA512 669e2c2df4c3378aec0a9f401120ceee2bfb0452a093beca6e7adaffd764bfe0a90a5e5b82d0945933693c3c179f3a0bf56cd4a2e03ab0522065eb650550ff44 WHIRLPOOL 4563628d4d77dbcc9253520636875774655865ba9510b955afe5509da3e9e872b97355649b61ad59e4693c018216f82b7757129d32c112cb95212bfa0c703c23 DIST flask-pymongo-0.3.1.tar.gz 21712 SHA256 21f807bd6c46d16203a9bb056a01516d6bd437a8a34b28ae38f345c3d16e9dc9 SHA512 cae90061b25187ebdd321af584fc7d6a8497c373dcde63641c60e6c77c985740f613043fd9efffe011486178cd3b7ff8b770ab9ccd5a37cadbfd9fd2ddbae4b5 WHIRLPOOL 8303233be2fff47fcccf363bdbebd29522fac2e00dc17dd90af275a7be77edb325772cb21c3e2cb4d7fca7eb64176c9b231c09b7c8af5a7dadc41279a5398d36 +DIST flask-pymongo-0.4.1.tar.gz 22323 SHA256 0187dcbdf6a724556b3a88cc58b7c425449b0524568288894ac1c18f3762a73e SHA512 2d64ae430ee9592204462b5b81b4fe2d0f5fa8e17e03e1b139acf28b11330d7ef990108f1d49e3b968618acaa2ffdd4e26901b1e03b85f8f25ef05d59f5d6d83 WHIRLPOOL efc38195a1ea321ab5392b8b0c13c0327fcba4ebb163d87ea01245f60c59b8f2473b9c7bd349e47c9535d5089ac9934ca0b2135b54b2a7045cc5770eda2eadf9 diff --git a/dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild b/dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild new file mode 100644 index 000000000000..6c15ccf6c0bf --- /dev/null +++ b/dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit distutils-r1 + +DESCRIPTION="PyMongo support for Flask" +HOMEPAGE="https://pypi.python.org/pypi/Flask-PyMongo" +SRC_URI="https://github.com/dcrosta/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +RESTRICT="test" +# Testsuite appears to require a running local instance of a pymongo server + +RDEPEND=">=dev-python/flask-0.8[${PYTHON_USEDEP}] + >=dev-python/pymongo-2.4[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +PATCHES=( "${FILESDIR}"/docbuild.patch ) + +python_prepare_all() { + # Req'd to avoid file collisions + sed -e s":find_packages():find_packages(exclude=['tests']):" -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +} |