summaryrefslogtreecommitdiff
path: root/dev-python/flask-pymongo
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-pymongo
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/flask-pymongo')
-rw-r--r--dev-python/flask-pymongo/Manifest8
-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, 128 insertions, 0 deletions
diff --git a/dev-python/flask-pymongo/Manifest b/dev-python/flask-pymongo/Manifest
new file mode 100644
index 000000000000..4af91d19febf
--- /dev/null
+++ b/dev-python/flask-pymongo/Manifest
@@ -0,0 +1,8 @@
+AUX docbuild.patch 618 SHA256 c0ab38f946bb8465c7e028a695adf1648bacb4d2f55b32f13637f769aa6fc923 SHA512 20ae49b16c4070e9d988e27a3eb7ecc35106782150bb24b95ef1656707d4ba4311a04aa86c3bdf1ef5886fef3ca41fef0ed8ec99260a44e742dcc00d3c63c1b8 WHIRLPOOL db7a307408984f236417e46ea3cdb1ecb9d464c77d08369063ce5e6d6b06762987d3bce16f6732896ba075aa97b8209c036088bacef8e4b282b4a35a124f0f42
+DIST flask-pymongo-0.3.0.tar.gz 21019 SHA256 b1ab5c38f43a8f7ae3e981fb8e0a5d58fb47b066ba0c1b647738e68690f62473 SHA512 669e2c2df4c3378aec0a9f401120ceee2bfb0452a093beca6e7adaffd764bfe0a90a5e5b82d0945933693c3c179f3a0bf56cd4a2e03ab0522065eb650550ff44 WHIRLPOOL 4563628d4d77dbcc9253520636875774655865ba9510b955afe5509da3e9e872b97355649b61ad59e4693c018216f82b7757129d32c112cb95212bfa0c703c23
+DIST flask-pymongo-0.4.1.tar.gz 22323 SHA256 0187dcbdf6a724556b3a88cc58b7c425449b0524568288894ac1c18f3762a73e SHA512 2d64ae430ee9592204462b5b81b4fe2d0f5fa8e17e03e1b139acf28b11330d7ef990108f1d49e3b968618acaa2ffdd4e26901b1e03b85f8f25ef05d59f5d6d83 WHIRLPOOL efc38195a1ea321ab5392b8b0c13c0327fcba4ebb163d87ea01245f60c59b8f2473b9c7bd349e47c9535d5089ac9934ca0b2135b54b2a7045cc5770eda2eadf9
+EBUILD flask-pymongo-0.3.0.ebuild 1080 SHA256 3bcd32d116724b69168d00395c2a10ea559843708ff9168f1b1df709f91b0f24 SHA512 ba4f857ad3c15f4a20c5d90458b60b02dfd704708a939e8347e2be396b3a2be0c04a01c00baa95997bffe8890fd865e091539ec1a33ae3871003ea6e53fb80b1 WHIRLPOOL 992e8c8f22836f1cea56534e525ad683842de43e679e16363be3b9a756d02785bb9cd52f37bdb185d2cc93ce255b6bb932987ae874811cd6c967c37a8ad4ebf9
+EBUILD flask-pymongo-0.4.1.ebuild 1135 SHA256 8f76f477e4aeff7fe3501639808d4369b32519b98a8196f181ad61f6e03d2e7c SHA512 8f4c004163d4db9cbb42daa868fbb23bbeeb777d8f9a9d00c92160c54d30a57b48cf07f700894cda781928a095e5ba28441135ef5bc91fca1b9a6ddabe6e3620 WHIRLPOOL 974042b8a09b8ca4f31da19bb839bfe928569de2a44a12d2c8e07e3ce6b3dc26f61991f7cdb425f74740666a9d8e071890389e80f32952f3fc0829dd4907984f
+MISC ChangeLog 3235 SHA256 a677d1e37527a5078be54cbfcd956bda55cfcfb1c85b776443130bd68bf2caa9 SHA512 55c663f2de3429e19ff4d063a331efa7737854ec6134b3e25224771395326cb2c984cd79533450a972c200f513824f43b6ca3e020707e1886bed7ee629e50be6 WHIRLPOOL 8f1e813e9a159deefb7469f47615e2ccb668815682d86d47182973bc93e7508db9e2401879af45a0622e2f328ecf253b71e16ebbaf814895c1bdaf8bbaa04cfb
+MISC ChangeLog-2015 2157 SHA256 4db941e8a0b38f208f629140ef47ae1b2ad5051273b02379311e627c5e7b17ea SHA512 3379fffc38f63adcbdd592fcc6bb0b507f4e5a37704eb9b2200a2c6c2fc2abaeaa650ba6e18d7165525d9f80c04ff025d56bf1029703df66472ea15c5c64c023 WHIRLPOOL 86bd6a6f8c34bc0d4550aca60890a612abf1fff9dd6c8a67e3fcd972db3a781805563efd7c90a60026a3f823c9ae01d8b9b3855cd48785dc95d53477e43e21ec
+MISC metadata.xml 503 SHA256 badaf7eba977df6c39644dd858a789f8c44c13e5a4add80ef1036b4ad12580c8 SHA512 9cf902fcc48e65e0676376dcc1d7a943e5df0852c905b98cb312305e8b3d61bde14e85239e4976d0bc27f7205ac1c9dc84114177217397bf7ccb755744a36cf8 WHIRLPOOL 26397baeaae775b335cbc6327c06ac42b0d5f61cd42d936fde6621c0dbf4f42061dc76680b4a03b270626524f3f1ff85e785ed844618375c6529b32562b63d8a
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..9cd0a4282138
--- /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.python.org/pypi/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..08df937c350b
--- /dev/null
+++ b/dev-python/flask-pymongo/flask-pymongo-0.4.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="PyMongo support for Flask"
+HOMEPAGE="https://pypi.python.org/pypi/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>