summaryrefslogtreecommitdiff
path: root/dev-python/flask-sqlalchemy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/flask-sqlalchemy
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/flask-sqlalchemy')
-rw-r--r--dev-python/flask-sqlalchemy/Manifest7
-rw-r--r--dev-python/flask-sqlalchemy/files/2.3.2-mapping.patch19
-rw-r--r--dev-python/flask-sqlalchemy/files/mapping.patch16
-rw-r--r--dev-python/flask-sqlalchemy/flask-sqlalchemy-2.1.ebuild46
-rw-r--r--dev-python/flask-sqlalchemy/flask-sqlalchemy-2.3.2.ebuild47
-rw-r--r--dev-python/flask-sqlalchemy/metadata.xml20
6 files changed, 155 insertions, 0 deletions
diff --git a/dev-python/flask-sqlalchemy/Manifest b/dev-python/flask-sqlalchemy/Manifest
new file mode 100644
index 000000000000..0007526da74d
--- /dev/null
+++ b/dev-python/flask-sqlalchemy/Manifest
@@ -0,0 +1,7 @@
+AUX 2.3.2-mapping.patch 647 BLAKE2B 4b6243f35ce87b21825aae761512ea2cbbbf11639bd60a53e91609f79eabcb598e07c8286c8312230e0f5e58d02cb2341c786d5f3513fc25d32374f01e5a89dc SHA512 6aed2dee97363ee6fc63aa2626931991e92d25b6cbf6efec702cb8878806a57ed0472eaa53c2557e7521be12921a544b90fa5619b46d44de001e97f97a1a1a8d
+AUX mapping.patch 756 BLAKE2B 4ba6e864233fb2b924f9e54ef1fafaea8b295adabff014b4e3a1d432dcc91d0280e692409ee8bf9650b19dfcf7e26f52ff0c992f98d63280e883cea5aea6b8a6 SHA512 050dd1e5378f0ad361c3524563693e9501c1826dc8f5359c4138ceae74e1ed9ddac88398dc744f400b8e941e018c9afdd5cab9a59df80f95389df1ff1c091b2e
+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
+EBUILD flask-sqlalchemy-2.1.ebuild 1052 BLAKE2B fa1b7f6fee4a4afb9f8b6318f5101bc7f0041e2ccb6d55c1125427ff3226cb24c50ed8c2799cbb4f1c1f1529e94c53ff96f6b77456ed29b1ecce8f911574aec5 SHA512 c76aee521dcf5ddf5db2d3bc03c5e0fd4301a1798685fd59fac1fd41bcac61d32d39207becfc90fe6b622be93e4e40f5a475e31710e85d71d0eb8eb3600cc885
+EBUILD flask-sqlalchemy-2.3.2.ebuild 1102 BLAKE2B febd1a4830e15c05a3a37bb4ed542d186985da86af3176c1f89bd37a6b5fdc3c1d3a63b27d49450a01a2ee87fb7ffbee34e56577d787736e4a48360b61beba86 SHA512 cefadbe23e14bd64c6265cccae1c10d49875c83385afa75c576d565b34cb44b64fb3ded12ce0679fbf4b821e39c09f9f1f2db684479b526cdb783d1f63e08550
+MISC metadata.xml 699 BLAKE2B cbe5227ca3a346d4e26a0df966a64337d037ed790a1fa3c6d4bf71cb8bdbd78a0f35b0badad7507352b92ebb2a58965a300fec0c49a5c916eb7ddcecd327f78c SHA512 7d116340ea46dcc4c739c63071923e235b31d3eac197d36f6d347fb500092cdb9bdf3365b9dcc5f80eaffeb2cc7fe6391fd31c1a48d009cff1645d7aa1684542
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 000000000000..c736d15a3d12
--- /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/files/mapping.patch b/dev-python/flask-sqlalchemy/files/mapping.patch
new file mode 100644
index 000000000000..af6572489a4f
--- /dev/null
+++ b/dev-python/flask-sqlalchemy/files/mapping.patch
@@ -0,0 +1,16 @@
+diff -ur Flask-SQLAlchemy-1.0.orig/docs/conf.py Flask-SQLAlchemy-1.0/docs/conf.py
+--- a/docs/conf.py 2013-01-27 08:57:36.000000000 +0800
++++ b/docs/conf.py 2014-04-03 18:08:34.772268079 +0800
+@@ -224,9 +224,9 @@
+
+
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None,
+- 'http://flask.pocoo.org/docs/': None,
+- 'http://www.sqlalchemy.org/docs/': None}
++#intersphinx_mapping = {'http://docs.python.org/': None,
++# 'http://flask.pocoo.org/docs/': None,
++# 'http://www.sqlalchemy.org/docs/': None}
+ pygments_style = 'flask_theme_support.FlaskyStyle'
+
+ # fall back if theme is not there
diff --git a/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.1.ebuild b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.1.ebuild
new file mode 100644
index 000000000000..c21d204ee83a
--- /dev/null
+++ b/dev-python/flask-sqlalchemy/flask-sqlalchemy-2.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 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"
+
+RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/flask-0.10[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+# Patch out un-needed d'loading of obj.inv files in doc build
+PATCHES=( "${FILESDIR}"/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() {
+ esetup.py test
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
+ distutils-r1_python_install_all
+}
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 000000000000..4b9161242b1a
--- /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
+}
diff --git a/dev-python/flask-sqlalchemy/metadata.xml b/dev-python/flask-sqlalchemy/metadata.xml
new file mode 100644
index 000000000000..53187fdda862
--- /dev/null
+++ b/dev-python/flask-sqlalchemy/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Flask-SQLAlchemy</remote-id>
+ <remote-id type="github">mitsuhiko/flask-sqlalchemy</remote-id>
+ <bugs-to>https://github.com/mitsuhiko/flask-sqlalchemy/issues</bugs-to>
+ </upstream>
+ <longdescription lang="en">
+ Flask-SQLAlchemy is a Flask microframework extension which adds
+ support for the SQLAlchemy SQL toolkit/ORM.
+ </longdescription>
+</pkgmetadata>