summaryrefslogtreecommitdiff
path: root/dev-python/flask-pymongo
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-pymongo
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/flask-pymongo')
-rw-r--r--dev-python/flask-pymongo/Manifest6
-rw-r--r--dev-python/flask-pymongo/files/docbuild.patch16
-rw-r--r--dev-python/flask-pymongo/flask-pymongo-0.3.0.ebuild44
-rw-r--r--dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild44
-rw-r--r--dev-python/flask-pymongo/metadata.xml16
5 files changed, 126 insertions, 0 deletions
diff --git a/dev-python/flask-pymongo/Manifest b/dev-python/flask-pymongo/Manifest
new file mode 100644
index 000000000000..46213b39c8e4
--- /dev/null
+++ b/dev-python/flask-pymongo/Manifest
@@ -0,0 +1,6 @@
+AUX docbuild.patch 618 BLAKE2B b2e228246d3cfaeb50783e3a47f8b826c0226057677563b26ad2b393312c9f0b763f55efbe82593dff2cd700b3f84ec253e80ba73da524aae7ddb9a0693f5287 SHA512 20ae49b16c4070e9d988e27a3eb7ecc35106782150bb24b95ef1656707d4ba4311a04aa86c3bdf1ef5886fef3ca41fef0ed8ec99260a44e742dcc00d3c63c1b8
+DIST flask-pymongo-0.3.0.tar.gz 21019 BLAKE2B 40d408926d6779d6c23de855e72b98af517927a2ceca3787ca5bd1cd9736526dae13e9fa76eaf71391e67f62c511ee2c9be9ff62ec93a20b0ca80bfe21eac9d1 SHA512 669e2c2df4c3378aec0a9f401120ceee2bfb0452a093beca6e7adaffd764bfe0a90a5e5b82d0945933693c3c179f3a0bf56cd4a2e03ab0522065eb650550ff44
+DIST flask-pymongo-0.4.1.tar.gz 22323 BLAKE2B 0a9a1362158f8a8842d746a1228eac6b8a13306202e2079fc466ddf89afbcfc1adf5d876c7c9e942856471595a0f140149fa47cfdcde71b0db6ed6d46dca49de SHA512 2d64ae430ee9592204462b5b81b4fe2d0f5fa8e17e03e1b139acf28b11330d7ef990108f1d49e3b968618acaa2ffdd4e26901b1e03b85f8f25ef05d59f5d6d83
+EBUILD flask-pymongo-0.3.0.ebuild 1077 BLAKE2B 9af0f5e894d71d7ab4696d95c92fcd0eab24564aa71ae041e0338fbd88c99a3bec51adf29a63c1d4a3c2e56f964934a47cc32310cb04b516b6e3ee38cf329b8b SHA512 0eabb5cfd73f4dc389aa0336fa73ce0e4127ecca4778db6d9d4d3b479d03ee10d855619f4f4e4060db959625024e886522f1ee9e9cff5dd26072ab44c5644048
+EBUILD flask-pymongo-0.4.1.ebuild 1132 BLAKE2B 18d09d150c2ab73d7906486ad09808d2acd64272ff4917e0a127c730fbee752d9d421ca605e3e64101ee34be938f62a09981cf54504eccbd0b1bdea903368670 SHA512 684ac7a6f876eb9a2ec92a8d7fbb849b38bdb78cda2cfba75727d5b8b8b3bb9c9b3ecd948efa743cf47db1184e65206172381890576db1ee1aad240829356af0
+MISC metadata.xml 503 BLAKE2B 651357b95af5289d130566d5e9c9af678ad6b09a794491c9de1e726da1bad047ba743bee717d70b6218eb87e8fcdb7878af551aeb9c07948c40207f99bae5f32 SHA512 9cf902fcc48e65e0676376dcc1d7a943e5df0852c905b98cb312305e8b3d61bde14e85239e4976d0bc27f7205ac1c9dc84114177217397bf7ccb755744a36cf8
diff --git a/dev-python/flask-pymongo/files/docbuild.patch b/dev-python/flask-pymongo/files/docbuild.patch
new file mode 100644
index 000000000000..6ecdeb8cc56b
--- /dev/null
+++ b/dev-python/flask-pymongo/files/docbuild.patch
@@ -0,0 +1,16 @@
+Avoid un-needed d'loading
+diff -ur Flask-PyMongo-0.2.1.orig/docs/conf.py Flask-PyMongo-0.2.1/docs/conf.py
+--- a/docs/conf.py 2012-12-23 00:52:16.000000000 +0800
++++ b/docs/conf.py 2013-06-10 01:26:28.430485499 +0800
+@@ -247,11 +247,3 @@
+
+ # How to display URL addresses: 'footnote', 'no', or 'inline'.
+ #texinfo_show_urls = 'footnote'
+-
+-
+-# Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {
+- 'python': ('http://docs.python.org/', None),
+- 'flask': ('http://flask.pocoo.org/docs/', None),
+- 'pymongo': ('http://api.mongodb.org/python/current/', None),
+-}
diff --git a/dev-python/flask-pymongo/flask-pymongo-0.3.0.ebuild b/dev-python/flask-pymongo/flask-pymongo-0.3.0.ebuild
new file mode 100644
index 000000000000..f03e1062ded0
--- /dev/null
+++ b/dev-python/flask-pymongo/flask-pymongo-0.3.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN="Flask-PyMongo"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="PyMongo support for Flask"
+HOMEPAGE="https://pypi.org/project/Flask-PyMongo/"
+SRC_URI="https://github.com/dcrosta/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+#SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc examples"
+RESTRICT="test"
+
+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_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ # fix me
+ nosetests tests/{test_url_converter.py,test_wrappers.py} || die
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}
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..178f3ccc0b4b
--- /dev/null
+++ b/dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="PyMongo support for Flask"
+HOMEPAGE="https://pypi.org/project/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
+}
diff --git a/dev-python/flask-pymongo/metadata.xml b/dev-python/flask-pymongo/metadata.xml
new file mode 100644
index 000000000000..3ff5bc660e12
--- /dev/null
+++ b/dev-python/flask-pymongo/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ultrabug@gentoo.org</email>
+ <name>Alexys Jacob</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Flask-PyMongo</remote-id>
+ <remote-id type="github">dcrosta/flask-pymongo</remote-id>
+ </upstream>
+</pkgmetadata>