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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 28209158087 for ; Wed, 26 Jan 2022 23:19:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DC7D2BC012; Wed, 26 Jan 2022 23:19:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E80B2BC012 for ; Wed, 26 Jan 2022 23:19:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2FD83343211 for ; Wed, 26 Jan 2022 23:19:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CD252B0 for ; Wed, 26 Jan 2022 23:19:52 +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: <1643239188.ff76c242a809e92606f5404be7427701736c7d46.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-1.0.0_alpha0-r1.ebuild X-VCS-Directories: dev-python/funcparserlib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ff76c242a809e92606f5404be7427701736c7d46 X-VCS-Branch: master Date: Wed, 26 Jan 2022 23:19:52 +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: 04d49605-cfd2-4475-88b8-6dfe4bd74f4e X-Archives-Hash: 9f3b96a3a20c52044df91c369d66af79 commit: ff76c242a809e92606f5404be7427701736c7d46 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 26 22:53:28 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 26 23:19:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff76c242 dev-python/funcparserlib: Switch to PEP 517 build Signed-off-by: Michał Górny gentoo.org> .../funcparserlib-1.0.0_alpha0-r1.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dev-python/funcparserlib/funcparserlib-1.0.0_alpha0-r1.ebuild b/dev-python/funcparserlib/funcparserlib-1.0.0_alpha0-r1.ebuild new file mode 100644 index 000000000000..3a82a59f0c12 --- /dev/null +++ b/dev-python/funcparserlib/funcparserlib-1.0.0_alpha0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +MY_PV="${PV/_alpha/a}" + +DESCRIPTION="Recursive descent parsing library based on functional combinators" +HOMEPAGE="https://pypi.org/project/funcparserlib/" +SRC_URI=" + https://github.com/vlasovskikh/funcparserlib/archive/${MY_PV}.tar.gz + -> ${P}.gh.tar.gz +" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +BDEPEND="test? ( dev-python/six[${PYTHON_USEDEP}] )" + +distutils_enable_tests unittest + +src_prepare() { + sed -e '/requires/s:poetry:&-core:' \ + -e '/backend/s:poetry:&.core:' \ + -i pyproject.toml || die + + distutils-r1_src_prepare +} + +python_install_all() { + local DOCS=( doc/*.md ) + distutils-r1_python_install_all +}