diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/flask-debug |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/flask-debug')
-rw-r--r-- | dev-python/flask-debug/Manifest | 4 | ||||
-rw-r--r-- | dev-python/flask-debug/flask-debug-0.4.3.ebuild | 53 | ||||
-rw-r--r-- | dev-python/flask-debug/metadata.xml | 17 |
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/flask-debug/Manifest b/dev-python/flask-debug/Manifest new file mode 100644 index 000000000000..0c412688b5a1 --- /dev/null +++ b/dev-python/flask-debug/Manifest @@ -0,0 +1,4 @@ +DIST flask-debug-0.4.3.tar.gz 9148 SHA256 059f230304805820955894eb1b3d336067eb3cb7a283cd9b7b3744305d65b827 SHA512 7bc1cf9f88f28e2ca5a24c1454dcdb4e2a450eff3c00329f299c3840032e0803079f565652974f4c3a0e5aac443365ce47a3d2c2fee8e21e2e0c7150367e8816 WHIRLPOOL 1080f045e58865f4dea39696b1acdee8a5a2eb5f5903e49cea5aad919f7c654ba3f78822723aedbec174b8bf952dcf14adcc669956e2e194a2e371d4adab4550 +EBUILD flask-debug-0.4.3.ebuild 1206 SHA256 61cd91879bed0d6e2c2664d540ae86e10027297f4dfe039b0025a92dbc64d859 SHA512 6f13e6c8f148a05341883bc7ff91e8667e0c099aa4c53c2b9363410dfa6096e5971b3b0e08ed8fdf51f3ae36f30c5d663d3b70c58a4b02d999857877ce2c7eba WHIRLPOOL 73bf4a525bf6f7a1c038b90bb13b2bdc23d0aaf32062cc1a68e98bb30c8a8138f8bae6849be1f236425442fee9968b70044a434f1f88ea463b58aad2bc6607ca +MISC ChangeLog 464 SHA256 5d4e3a94d962a11371fbb8733721b00efcb3e5f46da0fb0a9bf2c692923b3aba SHA512 93dd6591e3b91102b01f4f74e3cda54fdd223f24e9688b25dddf311ef27787fd93eaa184d09fa0a8fa5e30712613fb9fb298ed5fd004fb577d3dd7f996176c58 WHIRLPOOL 5422ebc860b4dcb656cde2a7fc9d85907df4104685189508a5e43f682826df1e42417e4834063a982325038c33faaad27e95a6ac3c22f5d5a514215eb4ef0095 +MISC metadata.xml 561 SHA256 ef0a736094eba5fc46f889020897b2c9324c2c91872b02587d92233fad582168 SHA512 f35b563a78757a00cf59b714b073e689367c4f9f29cfa2ad7c3613decd6e2badc521a61263882dda3e0bcc3c9cd16be3066cbc9a37b27f2982233f6d03ae700d WHIRLPOOL 7737aee8d1f8bda072ea2c75b6cb2beb73087bfc1f6c90a4bacfaacc10c7f7d0ae2845d4bfd7460f23d8e8669b6896d5fa1f8bbe4eb5022e1f668fb9a738f1a7 diff --git a/dev-python/flask-debug/flask-debug-0.4.3.ebuild b/dev-python/flask-debug/flask-debug-0.4.3.ebuild new file mode 100644 index 000000000000..d5e0d4fcc1e2 --- /dev/null +++ b/dev-python/flask-debug/flask-debug-0.4.3.ebuild @@ -0,0 +1,53 @@ +# 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 + +MY_PN="Flask-Debug" +DESCRIPTION="Configures Flask applications in a canonical way" +HOMEPAGE="https://github.com/mbr/Flask-Debug" +# PyPI tarballs don't include tests +# https://github.com/mbr/Flask-Debug/pull/2 +SRC_URI="https://github.com/mbr/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=" + dev-python/flask[${PYTHON_USEDEP}] + dev-python/inflection[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ${RDEPEND} + ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_prepare_all() { + sed -i "s/, 'sphinx.ext.intersphinx'//" docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + py.test || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/flask-debug/metadata.xml b/dev-python/flask-debug/metadata.xml new file mode 100644 index 000000000000..5838f9e89967 --- /dev/null +++ b/dev-python/flask-debug/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sautier.louis@gmail.com</email> + <name>Louis Sautier</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="pypi">Flask-Debug</remote-id> + <remote-id type="github">mbr/Flask-Debug</remote-id> + <bugs-to>https://github.com/mbr/Flask-Debug/issues</bugs-to> + </upstream> +</pkgmetadata> |