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 DBDC01382C5 for ; Fri, 23 Feb 2018 06:51:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50941E082D; Fri, 23 Feb 2018 06:51:40 +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 32DD2E082D for ; Fri, 23 Feb 2018 06:51:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3A175335C49 for ; Fri, 23 Feb 2018 06:51:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E510213 for ; Fri, 23 Feb 2018 06:51:35 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1519368640.c9ca0c00b123a6609d9db32df8a15a4c03778e36.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rply/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rply/Manifest dev-python/rply/rply-0.7.5.ebuild X-VCS-Directories: dev-python/rply/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: c9ca0c00b123a6609d9db32df8a15a4c03778e36 X-VCS-Branch: master Date: Fri, 23 Feb 2018 06:51:35 +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: a6cbcc93-8cf9-468e-992c-496c3fd7ced6 X-Archives-Hash: d064c2e827f55617701023be1aad91f2 commit: c9ca0c00b123a6609d9db32df8a15a4c03778e36 Author: Patrick Lauer gentoo org> AuthorDate: Fri Feb 23 06:50:40 2018 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Fri Feb 23 06:50:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ca0c00 dev-python/rply: Bump Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-python/rply/Manifest | 1 + dev-python/rply/rply-0.7.5.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/rply/Manifest b/dev-python/rply/Manifest index b4ab76b49ee..304529764eb 100644 --- a/dev-python/rply/Manifest +++ b/dev-python/rply/Manifest @@ -1 +1,2 @@ DIST rply-0.7.4.tar.gz 27392 BLAKE2B 3604550646e083bf685a192dcf0dbc80c03cf4b97f6771ed37e228c84909c2518a58bde73ea584085351f1a2b5c865418ae671843087660d48f08e0e44e3ab2c SHA512 e3c3a828eb4b3cb20751ecb2d91efaabddbe3702d52b9adefe1748c07c843da1899e3944bcf0ab79f627ae428b8879cf99739ea7e0c6fd1acffc4ac4dee1b652 +DIST rply-0.7.5.tar.gz 27462 BLAKE2B 0f438e6fd786e7436f135da50fe90208970a0950422bb0d8e26b06cc2def964c0ebd7c3e5e3e282a1d56dbb9e804ac267095dc4da16eb57899f455d66fed2d71 SHA512 ccecc451d9e2e0fdf9df7eaaeabface782d9159cc1caf1feae6e46210f6384aa1a78c15ea3c0e9dcc0bd0d2b28e3b1328c8d37e94a8968b07ef7938e5f5ce201 diff --git a/dev-python/rply/rply-0.7.5.ebuild b/dev-python/rply/rply-0.7.5.ebuild new file mode 100644 index 00000000000..cc54268d31f --- /dev/null +++ b/dev-python/rply/rply-0.7.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Pure python parser generator that also works with RPython" +HOMEPAGE="https://github.com/alex/rply" +SRC_URI="https://github.com/alex/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/appdirs[${PYTHON_USEDEP}] + test? ( + dev-python/py[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] )" + +python_prepare() { + # https://github.com/alex/rply/issues/26; fail under py[3-4] + if python_is_python3; then + sed -e s':test_simple:_&:' -e s':test_empty_production:_&:' \ + -i tests/test_parsergenerator.py + fi + distutils-r1_python_prepare +} + +python_test() { + py.test || die "Tests fail with ${EPYTHON}" +}