public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Aaron Swenson" <titanofold@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-sqlalchemy/files/, dev-python/flask-sqlalchemy/
Date: Fri, 18 May 2018 11:23:54 +0000 (UTC)	[thread overview]
Message-ID: <1526642619.633dea162f1143ab351d172e5d5bc3ca7bdcbcc1.titanofold@gentoo> (raw)

commit:     633dea162f1143ab351d172e5d5bc3ca7bdcbcc1
Author:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Fri May 18 11:23:39 2018 +0000
Commit:     Aaron Swenson <titanofold <AT> gentoo <DOT> 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
+}


             reply	other threads:[~2018-05-18 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18 11:23 Aaron Swenson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-17 11:39 [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-sqlalchemy/files/, dev-python/flask-sqlalchemy/ Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1526642619.633dea162f1143ab351d172e5d5bc3ca7bdcbcc1.titanofold@gentoo \
    --to=titanofold@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox