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 AB22C58973 for ; Fri, 5 Feb 2016 16:10:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4776021C02D; Fri, 5 Feb 2016 16:10:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7B7D21C02D for ; Fri, 5 Feb 2016 16:10:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFA9C340A6A for ; Fri, 5 Feb 2016 16:10:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C1938F4 for ; Fri, 5 Feb 2016 16:10:12 +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: <1454688565.6c1a96064c15f70d9f8fd521cba5e7c5b33deea7.dev-zero@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wtforms/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/wtforms/Manifest dev-python/wtforms/wtforms-2.1.ebuild X-VCS-Directories: dev-python/wtforms/ X-VCS-Committer: dev-zero X-VCS-Committer-Name: Tiziano Müller X-VCS-Revision: 6c1a96064c15f70d9f8fd521cba5e7c5b33deea7 X-VCS-Branch: master Date: Fri, 5 Feb 2016 16:10:12 +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: 8d284c52-d241-4a3b-87d7-0bb0d358c53e X-Archives-Hash: 21f03eb318c7b3051b14a0cc3f41a956 commit: 6c1a96064c15f70d9f8fd521cba5e7c5b33deea7 Author: Tiziano Müller gentoo org> AuthorDate: Fri Feb 5 16:09:25 2016 +0000 Commit: Tiziano Müller gentoo org> CommitDate: Fri Feb 5 16:09:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1a9606 dev-python/wtforms: version bump to 2.1 Fix dependencies for tests and disable broken test (bug #527174). Use EAPI-6. Package-Manager: portage-2.2.26 dev-python/wtforms/Manifest | 1 + dev-python/wtforms/wtforms-2.1.ebuild | 56 +++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/wtforms/Manifest b/dev-python/wtforms/Manifest index b49d14e..c362e7c 100644 --- a/dev-python/wtforms/Manifest +++ b/dev-python/wtforms/Manifest @@ -1,2 +1,3 @@ DIST WTForms-2.0.1.zip 444489 SHA256 62859c74be4683601b5265ba83b9babd8a8f1cdd0ba31600fa1e70d295cd4ed2 SHA512 abae7adb1c7ab46abf401a536a248bf3703be2f0be9f5d8d49191f18855a6989e4c7acb232b006d5809fc13428a9e6214f734be5b917648778169c7dd258eaab WHIRLPOOL d6177e7f9ff5e53085081fb4580d728c08ac19230470435a85a0735745f303b010540ce01e4071735a49f32bb3321d17557511f958452457a882705c3139da9b DIST WTForms-2.0.2.zip 449167 SHA256 10737758ceae03b53021f3aa7e81bfc8dd6f679c879ffeb5e64ac6570facb6c1 SHA512 35d52b2991588d1aef2ed7df5713f5cdd7d64affb0879ccf6b40b9194c3b9492af8f853353df55f833bec268d4332d49cf4c8e0592c21a11cccddaddb3650c52 WHIRLPOOL 7664b533174b44922e8ce733b6d284a1c8814190bab631cf094e0e7f841152502329f203e34638bb6aea2386b74a1afa7e5de09ada06188a39989f4f860e875e +DIST WTForms-2.1.zip 553644 SHA256 ffdf10bd1fa565b8233380cb77a304cd36fd55c73023e91d4b803c96bc11d46f SHA512 2bdac0a35eca465021df9fb37dc0acd87bf487c6158b782d48870e9d5aab6ed3eb635af89bb38b9e8419688185f7c7b7875e68f7435d94bca8b074b2dddb12a0 WHIRLPOOL 91bdb0db56cc7171a87c72a0892f2e4a19ed25398f596996dcba2c4ffb0f2c61b45caeab4da48d7d43a80cccaf9ac650be936aedf61789f01ecdac6cbe657c10 diff --git a/dev-python/wtforms/wtforms-2.1.ebuild b/dev-python/wtforms/wtforms-2.1.ebuild new file mode 100644 index 0000000..60833d9 --- /dev/null +++ b/dev-python/wtforms/wtforms-2.1.ebuild @@ -0,0 +1,56 @@ +# 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} pypy ) + +inherit distutils-r1 + +MY_PN="WTForms" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Flexible forms validation and rendering library for python web development" +HOMEPAGE="http://wtforms.simplecodes.com/ https://pypi.python.org/pypi/WTForms" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +S="${WORKDIR}/${MY_P}" + +RDEPEND=" + app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( >=dev-python/sphinx-0.6[${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( + dev-python/Babel[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/webob[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # Extension-tests are written for an older version of Django + sed \ + -e "s|'ext_django.tests', ||" \ + -i tests/runtests.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}