diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/flask-nav | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/flask-nav')
-rw-r--r-- | dev-python/flask-nav/Manifest | 5 | ||||
-rw-r--r-- | dev-python/flask-nav/flask-nav-0.5.ebuild | 42 | ||||
-rw-r--r-- | dev-python/flask-nav/flask-nav-0.6.ebuild | 49 | ||||
-rw-r--r-- | dev-python/flask-nav/metadata.xml | 13 |
4 files changed, 109 insertions, 0 deletions
diff --git a/dev-python/flask-nav/Manifest b/dev-python/flask-nav/Manifest new file mode 100644 index 000000000000..d5fdb71db855 --- /dev/null +++ b/dev-python/flask-nav/Manifest @@ -0,0 +1,5 @@ +DIST flask-nav-0.5.tar.gz 11579 BLAKE2B e643a7b49214ae164da390ca6c2b6b00fde6fc0848b4ff2c74749034d0e225bd8a5388e64db69a88e8edba91af9635ef843b133ab7bfabb33f92eec562930133 SHA512 94ebd858754c0ac936b43762cf427c381faa40de86e73b487d6b415d099696e6216b96ad9fefa62516cefd8e51e7ef282e01e1a492783ab696a9fd3602de7e78 +DIST flask-nav-0.6.tar.gz 12270 BLAKE2B eff90b6fc08629139012e2d920b4d464ed06954040a5e97636a7aa4d59d11654839460ef52477cfcec967bd774d942028a53675d682e850f08f6359c5cfbb54e SHA512 a7930687425a53fac9ad9a7cb65c2e2a759a0c9660189965bf37ea6e9925dd869074d37a283801631b3e6c3391f9f4167e0a36294104f72970e876b5a7a0930c +EBUILD flask-nav-0.5.ebuild 1008 BLAKE2B 5196ffd8324e84a7b515ff5d984abffe004d50f53e0e3b87b3d460d7e68f146b1c0f439080ab1319facc1720cde9a9c3829013258ebf08ada2dbe053ba6e2058 SHA512 8afbc43d220ee67d07f66bb0e1ae316c80a8d6136a1fb2215609c3e59162964f014b2425c8571a3b2e3b49dd66626f1b1d5e6ba2b6337ba87a8eb3c067ad0956 +EBUILD flask-nav-0.6.ebuild 1154 BLAKE2B 053b9197d172173d7db06e15c67ca7bfee8cd385a208e286208d1cba71f3f2df8a839e1804149126e9a07f505be29689ffdbece24c6e0d0f4277d4848ece4bde SHA512 b8555b3e987be5b1b4253c9c8def5d82d4db36c3406f2d7ae4dd3f03231fb49fcffb4b951caab789651ab32e30517fbea9c0dfda47dc941bd40931c7248d26a4 +MISC metadata.xml 431 BLAKE2B 949791299994b108e48e5bfc9076726ffac5a530783464f54b44deb95646492078e3cb608e99382c04b2ae825336e644433fa5ce7775e7f44d39f6e2840565b5 SHA512 aeae5220fab0583fb7b5f4a0e694791edbaf6b9f5f61fdb04d48b4a91f12726b3101e41097e26980404a19e8b6c5e43723dfc0b61f8d4cfea0f6a5924f8b67f4 diff --git a/dev-python/flask-nav/flask-nav-0.5.ebuild b/dev-python/flask-nav/flask-nav-0.5.ebuild new file mode 100644 index 000000000000..fd208ca6de37 --- /dev/null +++ b/dev-python/flask-nav/flask-nav-0.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="Easily create navigation for Flask applications." +HOMEPAGE="https://pythonhosted.org/flask-nav/" +# docs are missing from PyPI tarballs +# https://github.com/mbr/flask-nav/pull/12 +SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-python/dominate[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/visitor[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +python_prepare_all() { + sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.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/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/flask-nav/flask-nav-0.6.ebuild b/dev-python/flask-nav/flask-nav-0.6.ebuild new file mode 100644 index 000000000000..e954296d7bf4 --- /dev/null +++ b/dev-python/flask-nav/flask-nav-0.6.ebuild @@ -0,0 +1,49 @@ +# 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_{4,5,6}} ) + +inherit distutils-r1 + +DESCRIPTION="Easily create navigation for Flask applications." +HOMEPAGE="https://pythonhosted.org/flask-nav/" +# docs are missing from PyPI tarballs +# https://github.com/mbr/flask-nav/pull/12 +SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + dev-python/dominate[${PYTHON_USEDEP}] + dev-python/flask[${PYTHON_USEDEP}] + dev-python/markupsafe[${PYTHON_USEDEP}] + dev-python/visitor[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_prepare_all() { + sed -i "/'sphinx.ext.intersphinx'/d" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + py.test || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/flask-nav/metadata.xml b/dev-python/flask-nav/metadata.xml new file mode 100644 index 000000000000..2b4f3dc31e9e --- /dev/null +++ b/dev-python/flask-nav/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</name> + </maintainer> + <upstream> + <remote-id type="pypi">flask-nav</remote-id> + <remote-id type="github">mbr/flask-nav</remote-id> + <bugs-to>https://github.com/mbr/flask-nav/issues</bugs-to> + </upstream> +</pkgmetadata> |