From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5DBB459CA3 for ; Tue, 15 Mar 2016 21:56:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39ACE21C034; Tue, 15 Mar 2016 21:56:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE72421C034 for ; Tue, 15 Mar 2016 21:56:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3EFDD340CA5 for ; Tue, 15 Mar 2016 21:56:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E520A852 for ; Tue, 15 Mar 2016 21:56:20 +0000 (UTC) From: "Tiziano Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tiziano Müller" Message-ID: <1458078948.37235adcb5836ae5dae998e98777d74c31f801a0.dev-zero@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-restful/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild X-VCS-Directories: dev-python/flask-restful/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: 37235adcb5836ae5dae998e98777d74c31f801a0 X-VCS-Branch: master Date: Tue, 15 Mar 2016 21:56:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e6c07d50-cf60-469a-a1b4-d137570ed9aa X-Archives-Hash: bfb5868a9edeca12c402064e791ff8f9 commit: 37235adcb5836ae5dae998e98777d74c31f801a0 Author: Tiziano Müller gentoo org> AuthorDate: Tue Mar 15 21:54:57 2016 +0000 Commit: Tiziano Müller gentoo org> CommitDate: Tue Mar 15 21:55:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37235adc dev-python/flask-restful: rev-bump for py-3.5 support and EAPI-6 Package-Manager: portage-2.2.28 .../flask-restful/flask-restful-0.3.5-r1.ebuild | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) 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 0000000..5b6f387 --- /dev/null +++ b/dev-python/flask-restful/flask-restful-0.3.5-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +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 +}