summaryrefslogtreecommitdiff
path: root/dev-python/flask-whooshalchemy
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/flask-whooshalchemy')
-rw-r--r--dev-python/flask-whooshalchemy/Manifest7
-rw-r--r--dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild36
-rw-r--r--dev-python/flask-whooshalchemy/flask-whooshalchemy-0.8.ebuild44
-rw-r--r--dev-python/flask-whooshalchemy/metadata.xml12
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-python/flask-whooshalchemy/Manifest b/dev-python/flask-whooshalchemy/Manifest
new file mode 100644
index 000000000000..121c5ca3f2fd
--- /dev/null
+++ b/dev-python/flask-whooshalchemy/Manifest
@@ -0,0 +1,7 @@
+DIST Flask-WhooshAlchemy-0.56.tar.gz 8528 SHA256 8320ba75040bd37c2810d5ab9a4bd9f3ccadebbef93c805fe0578403f8785baa SHA512 acf7607ad909382bbf3016467cd8e402c98b4618a5822ba6097671becba43f1cac48f6415ce967c4f85c71b71fdafd30c36e5b65e9fc99500c0aad83ea1c650c WHIRLPOOL c08ae0add692379cb1571ff957b4b45447d350c770ad64dde3a5592cbf1b704ee1466f740bc8d6b82750a962695424588717af197e0859a96a28669a935b5e40
+DIST Flask-WhooshAlchemy-0.8.tar.gz 8916 SHA256 45bd638d2ded106d955b9924f27f7ee41c48fbdd5a1fd6b2a892180354006d10 SHA512 c8eff47cedd955d8ad758c8441c3f4e715eed77fbe2749d0830130f6c63547ba7d7fbcade635da0be5f03967c1be01ab7a62939a6d2eba28f9a58b1ab83469a6 WHIRLPOOL 909363e7d7de96a8206dcffba838c5d1fa8b3c55d498c5b018f31f5b67f086d6c8106c123e878fbb02dfd4a97880b09002cc1f4465cfea7b8f847201b0d11f8f
+EBUILD flask-whooshalchemy-0.5.6.ebuild 959 SHA256 3ffc5a40945b47a5c4458da92488899efa9222233fb4010d1a707ccdf9fb41b4 SHA512 135878d2a82e30d0488442bcb2a214f9c31ab8638f48ba7d23d9baebb7ddbfe6a52447fe0f7adb64f2d325180e344f430e18b8f0ce228da08508a1a02bf19137 WHIRLPOOL 7fc2562ac1f1e5b743749a2f478efc1acd87d44e55a9f96d93a372a5f237ab5584ac6c993f1c8b892e5330553546cac49cd860e078e7c0ca612da33658754588
+EBUILD flask-whooshalchemy-0.8.ebuild 1262 SHA256 17e147b622b5928b7467a6dcc3e48733d7ff1915955b54d96a7b0a238ae165e4 SHA512 742c7afe16384c8eaf933302a1b11899dbfb01b39e28572d735eb72d7125984b69e81a5bfe51b2b251629b344b62efb6cfb4372b2c6b83f79e3ad2c6559df509 WHIRLPOOL 73f9460b7aed6261d91cc57264a121da196c8b15a67291329057a1e722f666a69bf2c41d182816b6b47123cc46b91760cb7f1423a904d7461b533d46399eedbc
+MISC ChangeLog 2682 SHA256 a955e5e0fb64fcdf7c83945f2f909f5079240e657af5b2ca074d482c9cf1330e SHA512 fbae57abc1d0ecb6619de08feb01e6dfb529076faf6ff1003b51985bac9c30c66bb4fa82bb47c09f9d9c441f32f7aa145518e5739b8c91d402772b7c2354f272 WHIRLPOOL c4b7b207af8809e5ffb563d2f699e116e2978d64e028248a40db936e7532dc557e177e66cb764647f3561f5ec5e177c5c9e13918137b34c9dd5dac2ffd1fbfee
+MISC ChangeLog-2015 877 SHA256 86878a5036225489cb9f1f8aaa438ca91850288deff70c4619816816a10fb4d4 SHA512 b30dbac605468a8fd75525d41384c92ce529bb519632cf935c24a6b1be906c08d3f89955cf71694dc14988b148c1939b6f19f3c79584b1b1cc6d04b0309ce435 WHIRLPOOL 016673277723204e0fd954a7f40fb274f78e9d9d778d684c8fff46b299dc7bde68ae27752b8d79f4448b842ac5dcdf14c90f0e0951170c1e198d0cd9d3609ab7
+MISC metadata.xml 404 SHA256 4deeb48d39fb190a29ddfaa4ea51fd76b81020bf4ca447ae3b4237dad9adfd1f SHA512 1368bfa588bc2e34a3faf163d89c7c24f53cd0e65e8e6edf03f167f2faed222764ad22b3e43dd9bbe6f6c1f333c68a8e65002514f9d2411e838b66bbe4c972dc WHIRLPOOL 6e2af86b48b7c15d34a53520d4f47ddc3facfc9c21ff806b96dfcc50886cac60e47f0ad451594474421ff40ed4b30f7997768a61011a1efe273635c71df41c55
diff --git a/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild b/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild
new file mode 100644
index 000000000000..1976762e785d
--- /dev/null
+++ b/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.5.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4} pypy )
+
+RESTRICT="test" # appears pretty borken
+
+inherit distutils-r1 versionator
+
+MY_PN="Flask-WhooshAlchemy"
+MY_P="${MY_PN}-$(replace_version_separator 2 '')"
+
+DESCRIPTION="Whoosh extension to Flask/SQLAlchemy"
+HOMEPAGE="https://github.com/gyllstromk/Flask-WhooshAlchemy https://pypi.python.org/pypi/${MY_PN}"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/blinker[${PYTHON_USEDEP}]
+ dev-python/whoosh[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+# test? (
+# dev-python/flask-testing[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+ nosetests || die "Testing failed with ${EPYTHON}"
+}
diff --git a/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.8.ebuild b/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.8.ebuild
new file mode 100644
index 000000000000..7e2a6d7f8ac7
--- /dev/null
+++ b/dev-python/flask-whooshalchemy/flask-whooshalchemy-0.8.ebuild
@@ -0,0 +1,44 @@
+# 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,5}} pypy )
+
+inherit distutils-r1
+
+MY_PN="Flask-WhooshAlchemy"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Whoosh extension to Flask/SQLAlchemy"
+HOMEPAGE="https://github.com/gyllstromk/Flask-WhooshAlchemy https://pypi.python.org/pypi/Flask-WhooshAlchemy"
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="test"
+
+# TODO: figure out how to make it happy about the newer whoosh
+# (i.e. if it's broken test or broken package)
+RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
+ dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ dev-python/blinker[${PYTHON_USEDEP}]
+ =dev-python/whoosh-2.6.0[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/flask-testing[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ # unbind dependencies from specific versions
+ sed -i -e 's/==.*$//' requirements.txt || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # esetup.py test -- test module decl is broken
+ "${PYTHON}" test/test_all.py || die "Tests fail with ${EPYTHON}"
+}
diff --git a/dev-python/flask-whooshalchemy/metadata.xml b/dev-python/flask-whooshalchemy/metadata.xml
new file mode 100644
index 000000000000..a36129d8ca17
--- /dev/null
+++ b/dev-python/flask-whooshalchemy/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">Flask-WhooshAlchemy</remote-id>
+ <remote-id type="github">gyllstromk/Flask-WhooshAlchemy</remote-id>
+ </upstream>
+</pkgmetadata>