From 6b933047f46efec1aa747570f945344254227457 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Dec 2017 17:25:28 +0000 Subject: gentoo resync : 15.12.2017 --- dev-python/falcon/Manifest | 2 ++ dev-python/falcon/falcon-1.3.0.ebuild | 50 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 dev-python/falcon/falcon-1.3.0.ebuild (limited to 'dev-python/falcon') diff --git a/dev-python/falcon/Manifest b/dev-python/falcon/Manifest index 76de82ae4878..be2555e6c51c 100644 --- a/dev-python/falcon/Manifest +++ b/dev-python/falcon/Manifest @@ -2,8 +2,10 @@ DIST falcon-0.1.6.tar.gz 186870 BLAKE2B c0c48193cca6ee516f07985810c73520dd2b5547 DIST falcon-0.1.7.tar.gz 193151 BLAKE2B 35d4dc329eda806cd193525c953b011770cbb5ffdd33d52f2aded8e92dd357aa1280cfabb2107aac9e3a1a33ff26ea3d8233798a258e478405c54a9f09b0f103 SHA512 665a0bdd02c8e9a0806c863164fde33a6a10a1ac8c2ec9c3194da0ca41e411c19ec5b2a84cce521abb510588c23b4bb5fab25af58d5c17fbbf8e7c3304839b9a DIST falcon-0.1.8.tar.gz 202170 BLAKE2B 3857672d39138b83760bc58a869a384f7305f7938e20f801b35e5777e3028caa8500ac045101a69c32f2925000e175eefaf4a4a5ac5488aa26d41ce2cf9d9701 SHA512 e0ec028c1d1dc3fba722bd91f9bb315523367313bef40238579a96ca49de37f4c63e53746bf6ab40add053320925378860e3571e32401151c00d4afcbad9b7ca DIST falcon-0.1.9.tar.gz 202209 BLAKE2B 89c786fb777fda3e4118271bedc979bbb4968defe40e863464d27ca7a65ee5ab1e4c0d694625b7c96bf492fb6b8f9cba15fde686af871ec3629477bf4bfc7655 SHA512 442a04c925f4af69bb0f1906c4123e68ef423e4040fbde82cecc200a44410665c0f97ad28e7f59e4139aae1209ba1df1dd445c5a44e6b975bed9416a97e681e8 +DIST falcon-1.3.0.tar.gz 507250 BLAKE2B 3ba3a989f2e9eb281f519e36a24772fe329fee849097028f3183b0e0c7908b7e06dbf0a70ba28cf7570dccbe88fa87703c47d985ea3cf761ea7d6ec3d41ac04b SHA512 a92d0b641152f653f47c9cb9b2e368d643aae14dcabe7028450d190bd08b883d37116d23d3a1ae4e092207f15926f66b12f57e38dd2edd347f6f8df48baa65ce EBUILD falcon-0.1.6.ebuild 1153 BLAKE2B 51fe15bfbe8b73f7c3796ba39d23aaa17bd9cfd4bd706bb8c98c3168f4cdeadc11916d0aa1723413107c60f0b4fb92fdd182acfa7b600252ae53e85f9451631d SHA512 6249ca64562e0ad210bc2ff0df65ad60d2ed0dcdec7c7c0ade688166d2aef5d05fa6cddf784de0890b12bf3b3ccc83a42c7e60010bc4e8421fcd57ef94a71d97 EBUILD falcon-0.1.7.ebuild 1193 BLAKE2B 94de90b76573bfd5f8c880356d8c686cfacff72d0a8e6183228bc42b829dcd1b4928677d1a408a5e7c3868c0c8572928a779fc66bb0a0e9d197885b43a65338f SHA512 7de089879fa647df628d95482c48eb3d14e32273b4533e6f40e6d148c662ab8813aa3b4d41c06b8b07c9549618b4475064fd7b09728e6b0f960a4842c34a8d55 EBUILD falcon-0.1.8.ebuild 1341 BLAKE2B 7dd3a141ce3d6f9698a92bbae9325bf330a0c930c4fea46476216346e86584b67f989851d1654a32643ef15373dd27303f5dd110f7dd5b057a6739f6d7e6bca8 SHA512 d1b2763bde210ccc84b81febc5f998033ca06aa263cecfc241a1bdcdbc6669e0bc6305b8e487251008edaa3ff307d0883f8b523cfa791e629dafe6dac7ac7f35 EBUILD falcon-0.1.9.ebuild 1345 BLAKE2B ebad80dfb699c0f8c7c24755552708a917598f8754813e67c42b58873bab21ab794b078f09baf8951e6280f7a2b6ce4fd87ad536a014f9306f748d4a275cd070 SHA512 abde203d262a811e476cc88faac204b279c27445d1cb4071daba8a7c6fed7cb63037be72788dbde6d627a5f0856f99c5caa1b22ab04554093b07a2c1813ebec4 +EBUILD falcon-1.3.0.ebuild 1508 BLAKE2B 6326f754c8586d818f2761c96524cffaa4285c62bd48f9eeaa6f0d321da6af52ee4dc742a3779c58c157ec120059cb646684e92d81a239b81c46a1cb196c1348 SHA512 da323568a17c521db3f49188b0095ddc300928951325b45ba4cbb3f99cc8959b0faa4d8f93a734ecdb64ce2477b0a1930f6e4a4d917709eddb98835adaff9b3d MISC metadata.xml 427 BLAKE2B 419677eaecb3e5eb3fb26781cc3df41cff373a70a4899ce89cef22efbce131c457ce2bdd489b92287ff80f6d12962bd210035a5db77e518e456898498a5eea1d SHA512 7221c24f2bfa8068d4f5516e094af7dfc01786c63ae8d3f040b8d1da0ec4a83a6c507332e524fbd78e0644c978c11c89bec8c9771e0247ef48de1f50c50d8fbe diff --git a/dev-python/falcon/falcon-1.3.0.ebuild b/dev-python/falcon/falcon-1.3.0.ebuild new file mode 100644 index 000000000000..2696344e3cf4 --- /dev/null +++ b/dev-python/falcon/falcon-1.3.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +# Python 2.6 is supported, but depends on ordereddict, which has been in +# improvise for months and is a minimal package. If needed +# please let me know. PyPy also works +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="A supersonic micro-framework for building cloud APIs" +HOMEPAGE="http://falconframework.org/ https://pypi.python.org/pypi/falcon" +SRC_URI="https://github.com/racker/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+cython test" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}] + dev-python/mimeparse[${PYTHON_USEDEP}] + cython? ( dev-python/cython[$(python_gen_usedep python{2_7,3_3})] )" + +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/cython[$(python_gen_usedep python{2_7,3_3})] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] )" + +python_test() { + nosetests || die "Testing failed with ${EPYTHON}" +} + +src_prepare() { + if ! use cython; then + sed -i -e 's/if with_cython:/if False:/' setup.py \ + || die 'sed failed.' + fi + + # fix tests installation : potential file collision + sed -e 's@^where = tests@where = falcon/tests@g' -i setup.cfg || die + mv tests falcon/ +} -- cgit v1.2.3