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 20A74138334 for ; Sun, 14 Jul 2019 12:27:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8AFC2E0897; Sun, 14 Jul 2019 12:27:50 +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 6F349E0897 for ; Sun, 14 Jul 2019 12:27:50 +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 6706E347A75 for ; Sun, 14 Jul 2019 12:27:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0C29870D for ; Sun, 14 Jul 2019 12:27:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563107172.d5d7eb2adee229c3698d600b3a40dc5eaf067fe9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/funcparserlib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild X-VCS-Directories: dev-python/funcparserlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d5d7eb2adee229c3698d600b3a40dc5eaf067fe9 X-VCS-Branch: master Date: Sun, 14 Jul 2019 12:27:46 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af73b5a1-6056-4875-8fea-3733196f87aa X-Archives-Hash: 01190982fed3e05ab3405205db8c0f1e commit: d5d7eb2adee229c3698d600b3a40dc5eaf067fe9 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 14 08:28:27 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 14 12:26:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d7eb2a dev-python/funcparserlib: Bump to EAPI=7 Signed-off-by: Michał Górny gentoo.org> .../funcparserlib/funcparserlib-0.3.6-r1.ebuild | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild b/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild new file mode 100644 index 00000000000..721fe2f08ec --- /dev/null +++ b/dev-python/funcparserlib/funcparserlib-0.3.6-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Recursive descent parsing library based on functional combinators" +HOMEPAGE="https://pypi.org/project/funcparserlib/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_test() { + local m=unittest + cd "${BUILD_DIR}"/lib || die + "${PYTHON}" -m ${m} discover || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( doc/*.md ) + distutils-r1_python_install_all +}