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 AD07513888F for ; Sun, 11 Oct 2015 11:25:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2965521C057; Sun, 11 Oct 2015 11:25:23 +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 2BAEB21C058 for ; Sun, 11 Oct 2015 11:25:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5924D340688 for ; Sun, 11 Oct 2015 11:25:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5EEC1E23 for ; Sun, 11 Oct 2015 11:25:12 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1444562669.dfce6a79b3de9cb1441113f98bafae1a4f342cfc.jlec@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/six/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/six/six-1.10.0-r1.ebuild X-VCS-Directories: dev-python/six/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: dfce6a79b3de9cb1441113f98bafae1a4f342cfc X-VCS-Branch: master Date: Sun, 11 Oct 2015 11:25: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: e4e0cce9-6d02-4703-ad09-0e9f3276ba22 X-Archives-Hash: e0db5ffa52a20f431bd9b886dc99bc3e commit: dfce6a79b3de9cb1441113f98bafae1a4f342cfc Author: Justin Lecher gentoo org> AuthorDate: Sun Oct 11 10:50:32 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sun Oct 11 11:24:29 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfce6a79 dev-python/six: Add python3.5 support Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher gentoo.org> dev-python/six/six-1.10.0-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/dev-python/six/six-1.10.0-r1.ebuild b/dev-python/six/six-1.10.0-r1.ebuild new file mode 100644 index 0000000..f5c53b6 --- /dev/null +++ b/dev-python/six/six-1.10.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python 2 and 3 compatibility library" +HOMEPAGE="https://bitbucket.org/gutworth/six https://pypi.python.org/pypi/six" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx ) + test? ( >=dev-python/pytest-2.2.0[${PYTHON_USEDEP}] )" + +PATCHES=( + "${FILESDIR}"/1.9.0-mapping.patch + ) + +python_compile_all() { + use doc && emake -C documentation html +} + +python_test() { + py.test -v || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( documentation/_build/html/ ) + distutils-r1_python_install_all +}