summaryrefslogtreecommitdiff
path: root/dev-python/flask-sqlalchemy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/flask-sqlalchemy
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/flask-sqlalchemy')
-rw-r--r--dev-python/flask-sqlalchemy/Manifest6
-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/metadata.xml20
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-python/flask-sqlalchemy/Manifest b/dev-python/flask-sqlalchemy/Manifest
new file mode 100644
index 000000000000..bb00b40c2939
--- /dev/null
+++ b/dev-python/flask-sqlalchemy/Manifest
@@ -0,0 +1,6 @@
+AUX mapping.patch 756 SHA256 fe5908656a404f5e9632e58c8df469a95a56696dfa3d974a2e30b61176344abe SHA512 050dd1e5378f0ad361c3524563693e9501c1826dc8f5359c4138ceae74e1ed9ddac88398dc744f400b8e941e018c9afdd5cab9a59df80f95389df1ff1c091b2e WHIRLPOOL f44adc5086530a9eac3f5f65a45dc25c1681c2808db029e60dbb3b7ebc2f10ae4ffa51762b912a0c507532d724b8874dd2be2450326681affbd4668ecc5d7e27
+DIST Flask-SQLAlchemy-2.1.tar.gz 95967 SHA256 c5244de44cc85d2267115624d83faef3f9e8f088756788694f305a5d5ad137c5 SHA512 023f3dd011a57768e921928dd3df791a54c64bb8a0cc1bb545dbb8e16dda263b730da74a0d400e5a057819830dd4cd014a642098a081c956a7ea8a2d37ec112a WHIRLPOOL 8acda8985dadde8f14157e9462c3d34220e0bed8b571797aa11f3f415dfee287bfb412142a94dfe725c1d6aab17e241bead90cd1b5128d29ee9905422e58b769
+EBUILD flask-sqlalchemy-2.1.ebuild 1055 SHA256 6bace93e83cd619a52d98cf38a32d8e94bb9cad32a126b038720538a56fca904 SHA512 3e63ee5b4423b7903ab0a853f9fc7b6b8e1ef33249a0093827602148e1efafb03eeb11f69a625214c37719bfe0786b697427e1cfacd916bcfbaa9e1bc4420246 WHIRLPOOL ffe86a0abd411c5653053a8914efb449ae9f329e8aa8b8863194177a9429e736b44aa8414f2b63bac4e5285427eeccd76e740ecb7dc34415b6a2e13be62aeb00
+MISC ChangeLog 3824 SHA256 7a1b009fa50263f8399ad5bd2a20289bceee1724343d3c59213510f467b45b76 SHA512 a58658aaed95e2375b9428202065fde764c8e1370404691981cb60c84e7a2c4ffb93140ab8c4cfe78fcf9b6d5e1c271974200ce973f09187bf64a66b8cbd96a6 WHIRLPOOL 320232cc7c89fcc7be18f364f2f56795890c56b9d121ec101e7c1f55a70b66d3c634ee48c0f9515590dbe58c740b530974a2a154fb76a929747b2f793ab5cf6c
+MISC ChangeLog-2015 3093 SHA256 36332f7851493fbad7aa58b04a918212217eaa255788881630d7c06d330b6b66 SHA512 c7ef8ae8d3352581a72494072ed673e13e174228a90e1d7a7da9452f2a0548e6d327aba3dcd027cb0d94ba0496bae192fde4ec2ef959799e8e15bf9f2421c0c4 WHIRLPOOL fcff9f25aa0d5ac89d4b13493ad7e710439de610f0cc2337372c38f911682165779f2b75fad2536c13e17e42f625347bdc09503f83aeb2c6b58d8734634c6825
+MISC metadata.xml 699 SHA256 47a542e864af3ee48ba42a08cc45c12bd8dc7012a9e4aa8599d274dd395d9105 SHA512 7d116340ea46dcc4c739c63071923e235b31d3eac197d36f6d347fb500092cdb9bdf3365b9dcc5f80eaffeb2cc7fe6391fd31c1a48d009cff1645d7aa1684542 WHIRLPOOL 4ff2dc24077025d2fd327ff652fc4e134abcab6d3ad8c67fbc25687cc6402b7834e37eb1ed8edb6bf24b01a362b126985be97622d3fc7008f975310770caa4aa
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..689d398f548a
--- /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.python.org/pypi/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/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>