summaryrefslogtreecommitdiff
path: root/dev-python/frozen-flask
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/frozen-flask
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/frozen-flask')
-rw-r--r--dev-python/frozen-flask/Manifest5
-rw-r--r--dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild43
-rw-r--r--dev-python/frozen-flask/frozen-flask-0.15.ebuild39
-rw-r--r--dev-python/frozen-flask/metadata.xml12
4 files changed, 99 insertions, 0 deletions
diff --git a/dev-python/frozen-flask/Manifest b/dev-python/frozen-flask/Manifest
new file mode 100644
index 000000000000..f0add3c00366
--- /dev/null
+++ b/dev-python/frozen-flask/Manifest
@@ -0,0 +1,5 @@
+DIST Frozen-Flask-0.11.tar.gz 106927 BLAKE2B b23caedc0a60ebdf089753b698ebc04f2d89c8fbea58819a959533c68a181ca73dfc66c5d263b7c05c84c92b8540e00d3094992ff0064f7edaec1fed42fe1ae7 SHA512 a734c6e090f08b01756b677a577c013e0198272a9e469410be81e5214eceb34d98e163410e8e04850036c58c5e7c9e718145e69cd26dd9e30c821f6949aede76
+DIST Frozen-Flask-0.15.tar.gz 477516 BLAKE2B 1f9ecc59cabc547f7c4358c5fbbde0c57264a6c8e45bcf567c00f5c20eef288b8d261edf878e1295ef702d863c16dd605b59982abfe4daf9f073b29787b01921 SHA512 8cb80ccb5018abdaaf53a43c219504d57f2630af3d8d5c7bd6bee44c7cf483f50530bc00ff49fd674d54c0e1f6a5e0caa004bff04e95dec7f58a8bb443a36241
+EBUILD frozen-flask-0.11-r1.ebuild 1063 BLAKE2B bfd187fadd5c167384eb3be353e25847667184e984b096489d5c8edf5357c13adf25a6f2d6a8e2da78d286d65bc3e92677d295535348320d7b833c0ad149e014 SHA512 a7e4ed93d3cc473eedf1bcfaa2727dca7e24cbd05615b8a367f1e855e09a9777ed7c46c178929eaabb8996a745135a6a791849361e49cf0e9c478db542d34711
+EBUILD frozen-flask-0.15.ebuild 999 BLAKE2B 253b8ce6e5aa407e222729568bd946cb6330c24462fa6cbd704bf8335edc2d74e4ffead6cf96c17a5f675c72238ffa152cad6fd88c975db6e14ecc1f081a381c SHA512 53d74738ad525acef8d049562d9771117ca27110e34bc6b836402da9c2abd4ca9c294c8dfdd0241543db9734e318c0fd54f826f2deb276dfcff3534e7becf3ff
+MISC metadata.xml 390 BLAKE2B 596dd147a24653b5cace2a55534505dd497afe299a31962db838e5b9333e84a6cc28f5b933886b78f4cf082b17430cbf0cb5131350da1bce501ff2a9acc85d2a SHA512 d8c13cff6277121723990211a23849cedef64a6571ec745233d65ee8fd11f9e3499436a9ca7fd2f98ff47f65de0147a7df870ff23455fcdbc684ae7c6bda0857
diff --git a/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild b/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild
new file mode 100644
index 000000000000..65d9952c0597
--- /dev/null
+++ b/dev-python/frozen-flask/frozen-flask-0.11-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 python3_5 )
+
+inherit distutils-r1
+
+MY_PN="Frozen-Flask"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Freezes a Flask application into a set of static files"
+HOMEPAGE="https://github.com/SimonSapin/Frozen-Flask https://pypi.org/project/Frozen-Flask/"
+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/flask-0.7[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+ if use doc; then
+ sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' -i docs/conf.py || die
+ mkdir docs/_build || die
+ sphinx-build -c docs docs docs/_build || die
+ fi
+}
+
+python_test() {
+ nosetests || die Tests failed under $"{EPYTHON}"
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( "${S}"/docs/_build/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/frozen-flask/frozen-flask-0.15.ebuild b/dev-python/frozen-flask/frozen-flask-0.15.ebuild
new file mode 100644
index 000000000000..c233a73dac4a
--- /dev/null
+++ b/dev-python/frozen-flask/frozen-flask-0.15.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6}} )
+
+inherit distutils-r1
+
+MY_PN="Frozen-Flask"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Freezes a Flask application into a set of static files"
+HOMEPAGE="https://github.com/SimonSapin/Frozen-Flask https://pypi.org/project/Frozen-Flask/"
+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/flask-0.7[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+ if use doc; then
+ sed -i "s/'sphinx.ext.intersphinx'//" -i docs/conf.py || die
+ sphinx-build -c docs docs docs/_build || die
+ HTML_DOCS=( docs/_build/. )
+ fi
+}
+
+python_test() {
+ nosetests || die Tests failed under "${EPYTHON}"
+}
diff --git a/dev-python/frozen-flask/metadata.xml b/dev-python/frozen-flask/metadata.xml
new file mode 100644
index 000000000000..d142ed38f2cd
--- /dev/null
+++ b/dev-python/frozen-flask/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">Frozen-Flask</remote-id>
+ <remote-id type="github">SimonSapin/Frozen-Flask</remote-id>
+ </upstream>
+</pkgmetadata>