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-restful |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/flask-restful')
-rw-r--r-- | dev-python/flask-restful/Manifest | 7 | ||||
-rw-r--r-- | dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild | 50 | ||||
-rw-r--r-- | dev-python/flask-restful/flask-restful-0.3.6.ebuild | 50 | ||||
-rw-r--r-- | dev-python/flask-restful/metadata.xml | 14 |
4 files changed, 121 insertions, 0 deletions
diff --git a/dev-python/flask-restful/Manifest b/dev-python/flask-restful/Manifest new file mode 100644 index 000000000000..7d748d40d002 --- /dev/null +++ b/dev-python/flask-restful/Manifest @@ -0,0 +1,7 @@ +DIST flask-restful-0.3.5.tar.gz 113214 SHA256 30f3433c32d3251b83779034513994df93635db81bf5cd5122a4e0415dd3f5c1 SHA512 a541e6739644b4db6ae97cf529bfc43f3136c97fc19a8538277d1f9be033b7c6dc3e39e1c4b2f313e099efbe750dbdc85c67b527224df557567ecac668e5969a WHIRLPOOL d8d0673380263c25e84ed3e86a83b04bae88761c8f3456dcab7d6d58b9884b1b984c28c861bc091c9693b080c15f2f47f99ff6a3003a7f89dd50df851a7d3af5 +DIST flask-restful-0.3.6.tar.gz 114512 SHA256 1b04bf8246fffc92a33a402213cea5a50b4c586d8a515f53ccc94612df32c365 SHA512 c5136302111e6c8953e038d31b42b029744111bb916dea7ec8bd5fac2de5e17a86d30a7d04a7335cdc5da25ee13f35ad9a6d284166e11cca0c6fec96d23fd977 WHIRLPOOL 1e581d19c833d7b27ed8a1d1e4a73cd478f04900f2d4135217c60061189d8c336fc3c548cc4e89579eb063f2e444347bad98d755fb3895c522c01b50880c74f4 +EBUILD flask-restful-0.3.5-r1.ebuild 1276 SHA256 e89e2f32cfc3abecaf60a605ae77a72c37dc799f37d4f4ad09f4476584178fae SHA512 04521a45045cad73ac9c833ee53e38a01d2b642a9877a350be3e503dc06e3671013e5b4fbc50b3eca57c181e89ac327350645a8778a55d984a0f1bfbd722fbf1 WHIRLPOOL 92c3a9eb0095daa0545cccb3f91acf496d46d4b861c7803cae224e96ebf8c969677f7c8c6fe611d0342b92cae53d51d980ddf8dd3431f11c31be8eb969422b2e +EBUILD flask-restful-0.3.6.ebuild 1278 SHA256 56bda2cda27d24f65f878385476e6b1d29a1af13bbcba5ebe619c40764b672a8 SHA512 92b23a79a4458c292e3fefa3ac0459ced1e07a55d5b30d58d09842d2dd14f29c5a73abcada5ddfe5901f6b0e359eb69d929fd93dd2c58c7d299ef9bcadad54df WHIRLPOOL 20348acc66b02e6cec8abdee430c2d2e6c7cf7cfca92dba279acce1bc70aec4b29b80b7389a0d46b19afec268d646b643fecb4606a195a99cbd71d9682d6e908 +MISC ChangeLog 3519 SHA256 5c8f6e4c7369abb306f86440185edf36c9e86c3b24adef5a5c60c7a2582d0e0e SHA512 9ba3a3d646a55b849a062cf2d7fc24b9c0799dfc2e549ea6dfaa3b042d2a0ab76a84cba2fdd2eb5c2e3f2c3a2374f443b56a1957c36e7e2ddd434e57963c82a5 WHIRLPOOL 5ad7d1fc413e32e45522d97f6b18b74a8178c1f4897145fc13d69eda674181dbde7268b51687149857e37669d30f380706c2d20310182a8235ff65498b7af40f +MISC ChangeLog-2015 1330 SHA256 ea09072313f9d7ad1dc0cc8ef67086f3572cd35596876dbdc2db0a7659cbe445 SHA512 cbc2ea6df3ce464d12e8dec61367ee4f874913d2833f42ba8052e0354df4b01cce8b23aaea45dba752434cbd3577bd03f2bb7984232679df841a5b044d65075c WHIRLPOOL 2566f375f25351a55522e9163265fae371398d629af3d1106f9dbed20f35d0f21d4d7bb51fe03216a15d1e3ba3a1a4398de203745529f5034bb907631679efd7 +MISC metadata.xml 400 SHA256 a64469879efad14ae53e8468c15df5717d4542bbbb4805909225bb39461fe3e1 SHA512 be62c37c4d0fd8a051cc14fb2a9dec6885a1e83420bbe95282a0fdc7803d700372b345d83c3d648037c45080246d71b91086b3e4841d9e41fb3003d7c114e0c0 WHIRLPOOL 9055d73392db53098798e48562f1b605c4a7f80ea6883275ed0ede2c11281194354670acbc36912992e09ff828ed36fd6d8b24a2e7ce4db268309a7dfb55b562 diff --git a/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild b/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild new file mode 100644 index 000000000000..b9209fd71cca --- /dev/null +++ b/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Simple framework for creating REST APIs" +HOMEPAGE="http://flask-restful.readthedocs.org/ https://github.com/twilio/flask-restful/" +SRC_URI="https://github.com/twilio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc examples paging test" + +RDEPEND=" + >=dev-python/aniso8601-0.82[${PYTHON_USEDEP}] + >=dev-python/flask-0.8[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + paging? ( >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-python/sphinx[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + ) +" + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" +} + +python_compile_all() { + cd docs || die + emake man $(usex doc html "") +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && dodoc -r examples + local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md ) + + doman docs/_build/man/* + distutils-r1_python_install_all +} diff --git a/dev-python/flask-restful/flask-restful-0.3.6.ebuild b/dev-python/flask-restful/flask-restful-0.3.6.ebuild new file mode 100644 index 000000000000..a55d4e3709b3 --- /dev/null +++ b/dev-python/flask-restful/flask-restful-0.3.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Simple framework for creating REST APIs" +HOMEPAGE="http://flask-restful.readthedocs.org/ https://github.com/twilio/flask-restful/" +SRC_URI="https://github.com/twilio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples paging test" + +RDEPEND=" + >=dev-python/aniso8601-0.82[${PYTHON_USEDEP}] + >=dev-python/flask-0.8[${PYTHON_USEDEP}] + >=dev-python/six-1.3.0[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + paging? ( >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-python/sphinx[${PYTHON_USEDEP}] + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/pycrypto[${PYTHON_USEDEP}] + ) +" + +python_test() { + nosetests -v || die "Tests fail with ${EPYTHON}" +} + +python_compile_all() { + cd docs || die + emake man $(usex doc html "") +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && dodoc -r examples + local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md ) + + doman docs/_build/man/* + distutils-r1_python_install_all +} diff --git a/dev-python/flask-restful/metadata.xml b/dev-python/flask-restful/metadata.xml new file mode 100644 index 000000000000..7e42a30ff5f6 --- /dev/null +++ b/dev-python/flask-restful/metadata.xml @@ -0,0 +1,14 @@ +<?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="github">twilio/flask-restful</remote-id> + </upstream> + <use> + <flag name="paging">Enable resource paging support</flag> + </use> +</pkgmetadata> |