From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54C9C1382C5 for ; Fri, 18 May 2018 11:24:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66110E0893; Fri, 18 May 2018 11:23:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E56FE0893 for ; Fri, 18 May 2018 11:23:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9B35B335C75 for ; Fri, 18 May 2018 11:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91738286 for ; Fri, 18 May 2018 11:23:54 +0000 (UTC) From: "Aaron Swenson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aaron Swenson" Message-ID: <1526642619.633dea162f1143ab351d172e5d5bc3ca7bdcbcc1.titanofold@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-sqlalchemy/files/, dev-python/flask-sqlalchemy/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-sqlalchemy/Manifest dev-python/flask-sqlalchemy/files/2.3.2-mapping.patch dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild X-VCS-Directories: dev-python/flask-sqlalchemy/ dev-python/flask-sqlalchemy/files/ X-VCS-Committer: titanofold X-VCS-Committer-Name: Aaron Swenson X-VCS-Revision: 633dea162f1143ab351d172e5d5bc3ca7bdcbcc1 X-VCS-Branch: master Date: Fri, 18 May 2018 11:23:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a294809c-aba9-4a75-a39b-d1b306c6d7f2 X-Archives-Hash: 594a346f96d3030fc4cdaef9194f330b commit: 633dea162f1143ab351d172e5d5bc3ca7bdcbcc1 Author: Aaron W. Swenson gentoo org> AuthorDate: Fri May 18 11:23:39 2018 +0000 Commit: Aaron Swenson gentoo org> CommitDate: Fri May 18 11:23:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=633dea16 dev-python/flask-sqlalchemy: Bump to 2.3.2 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/flask-sqlalchemy/Manifest | 1 + .../flask-sqlalchemy/files/2.3.2-mapping.patch | 19 +++++++++ .../flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild | 47 ++++++++++++++++++++++ 3 files changed, 67 insertions(+) diff --git a/dev-python/flask-sqlalchemy/Manifest b/dev-python/flask-sqlalchemy/Manifest index 68daed97809..f1bae36c334 100644 --- a/dev-python/flask-sqlalchemy/Manifest +++ b/dev-python/flask-sqlalchemy/Manifest @@ -1 +1,2 @@ DIST Flask-SQLAlchemy-2.1.tar.gz 95967 BLAKE2B 1e316fb4b72f43f9342dcdc5e6c54b317fab2a9b83c315dd6323721506cc01589af7833409a0bebe82a87b924ace457d89d9de8b0d80b78d044ae73e076e89fb SHA512 023f3dd011a57768e921928dd3df791a54c64bb8a0cc1bb545dbb8e16dda263b730da74a0d400e5a057819830dd4cd014a642098a081c956a7ea8a2d37ec112a +DIST Flask-SQLAlchemy-2.3.2.tar.gz 105530 BLAKE2B 2355c82b1ffb68429af4c16869e1a171aaf8b89f1dbdd48759dfe1e0a7021f17bdb301a45b837bd0d2de85ebd6ba81d4cd5a3d8659293f38f5893a260598b82f SHA512 e0c12e5cc5ddb3685f04c928185e4526fb6a94dedb5c53e2b5ece2e0f1cae6ea4c00b3f9d6863c1b6252357ccf2b5a4c1fca0185d2d741bdbc0ab62e2901d2ff diff --git a/dev-python/flask-sqlalchemy/files/2.3.2-mapping.patch b/dev-python/flask-sqlalchemy/files/2.3.2-mapping.patch new file mode 100644 index 00000000000..c736d15a3d1 --- /dev/null +++ b/dev-python/flask-sqlalchemy/files/2.3.2-mapping.patch @@ -0,0 +1,19 @@ +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -225,11 +225,11 @@ + + + # Example configuration for intersphinx: refer to the Python standard library. +-intersphinx_mapping = { +- 'python': ('https://docs.python.org/3/', None), +- 'flask': ('http://flask.pocoo.org/docs/', None), +- 'sqlalchemy': ('http://docs.sqlalchemy.org/en/latest/', None) +-} ++# intersphinx_mapping = { ++# 'python': ('https://docs.python.org/3/', None), ++# 'flask': ('http://flask.pocoo.org/docs/', None), ++# 'sqlalchemy': ('http://docs.sqlalchemy.org/en/latest/', None) ++# } + pygments_style = 'flask_theme_support.FlaskyStyle' + + # fall back if theme is not there diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild new file mode 100644 index 00000000000..a01e106776a --- /dev/null +++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +MY_PN="Flask-SQLAlchemy" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="SQLAlchemy support for Flask applications" +HOMEPAGE="https://pypi.org/project/Flask-SQLAlchemy/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/flask-0.10[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +# Patch out un-needed d'loading of obj.inv files in doc build +PATCHES=( "${FILESDIR}"/2.3.2-mapping.patch ) + +# Req'd for tests in py3 +DISTUTILS_IN_SOURCE_BUILD=1 + +S="${WORKDIR}/${MY_P}" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + pytest +} + +python_install_all() { + use doc && HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) + distutils-r1_python_install_all +}