From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3888138334 for ; Tue, 21 Aug 2018 02:11:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B748E087B; Tue, 21 Aug 2018 02:11:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6D3B9E087B for ; Tue, 21 Aug 2018 02:11:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8165C335D7B for ; Tue, 21 Aug 2018 02:11:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 790EA3A2 for ; Tue, 21 Aug 2018 02:11:07 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1534817395.51f7f84d475e17293c4990aebf082e6049bc892d.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/itsdangerous/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/itsdangerous/itsdangerous-0.24-r1.ebuild X-VCS-Directories: dev-python/itsdangerous/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: 51f7f84d475e17293c4990aebf082e6049bc892d X-VCS-Branch: master Date: Tue, 21 Aug 2018 02:11:07 +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: 0f455fa0-451a-4ce7-a599-3150f983152b X-Archives-Hash: ad528f3eb06111578028bb7da6011b88 commit: 51f7f84d475e17293c4990aebf082e6049bc892d Author: Virgil Dupras gentoo org> AuthorDate: Mon Aug 20 22:15:39 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Tue Aug 21 02:09:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51f7f84d dev-python/itsdangerous: add python 3.7 support Package-Manager: Portage-2.3.47, Repoman-2.3.10 .../itsdangerous/itsdangerous-0.24-r1.ebuild | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/dev-python/itsdangerous/itsdangerous-0.24-r1.ebuild b/dev-python/itsdangerous/itsdangerous-0.24-r1.ebuild new file mode 100644 index 00000000000..6152888f346 --- /dev/null +++ b/dev-python/itsdangerous/itsdangerous-0.24-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Various helpers to pass trusted data to untrusted environments and back" +HOMEPAGE="https://pythonhosted.org/itsdangerous/ https://pypi.org/project/itsdangerous/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +# Required for running tests.py +DISTUTILS_IN_SOURCE_BUILD=1 + +python_test() { + if python_is_python3; then + 2to3 -f unicode -nw --no-diffs tests.py + fi + "${PYTHON}" tests.py || die "Tests failed under ${EPYTHON}" +}