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 9D83115800F for ; Sat, 11 Feb 2023 07:28:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C5FBE0839; Sat, 11 Feb 2023 07:27:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1747EE0839 for ; Sat, 11 Feb 2023 07:27:57 +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 40447340E11 for ; Sat, 11 Feb 2023 07:27:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82A108B8 for ; Sat, 11 Feb 2023 07:27:51 +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: <1676097964.1bbcf665d14f2422a313319d123bb2f9342b9739.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/textX/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/textX/Manifest dev-python/textX/textX-3.1.1.ebuild X-VCS-Directories: dev-python/textX/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1bbcf665d14f2422a313319d123bb2f9342b9739 X-VCS-Branch: master Date: Sat, 11 Feb 2023 07:27:51 +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: f7f066f1-5bc5-4de8-8729-b503f38963a3 X-Archives-Hash: 55203f1177d0722c8aa1940ce9f56ff7 commit: 1bbcf665d14f2422a313319d123bb2f9342b9739 Author: Michał Górny gentoo org> AuthorDate: Sat Feb 11 06:46:04 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Feb 11 06:46:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bbcf665 dev-python/textX: Bump to 3.1.1 Signed-off-by: Michał Górny gentoo.org> dev-python/textX/Manifest | 1 + dev-python/textX/textX-3.1.1.ebuild | 58 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest index a4a534925998..5bae6b9bc737 100644 --- a/dev-python/textX/Manifest +++ b/dev-python/textX/Manifest @@ -1 +1,2 @@ DIST textX-3.1.0.gh.tar.gz 1822985 BLAKE2B 4418cc98bfe68dcfe1e312a64810819335a1ac55f97661c4c2d9729a988bf70ed34ad710f7c51b1ab7f48f7092460ae79f3756f0566f19dfabac6c2875f2f690 SHA512 a300178990d30b7b0c1a77f48a7d51e9582d51dabc9dfa50dc5195afc1e3b2ce4b0cf6475de815078b460cb564bfb03054154741a50a8d213a0c0eb4cdb5b2ef +DIST textX-3.1.1.gh.tar.gz 1824060 BLAKE2B 48c2faeaff52b9f4a3acd1cf36dabc5edc38bb264bd3efbddd2aacaf0aca80a50445a7b30716bd5acdae0219cc2c63fbe2b26c90923758a4fa2a0b9cffb71e65 SHA512 33fa803a5bc2b4cd3782790625304e952e52b64f8791ddbe0fef100b521b36aa8be5291a3cd467771bd9a2d32fac41209e7895a18cc7c4c0f9a672f0ec4211f4 diff --git a/dev-python/textX/textX-3.1.1.ebuild b/dev-python/textX/textX-3.1.1.ebuild new file mode 100644 index 000000000000..2ef355c35dfd --- /dev/null +++ b/dev-python/textX/textX-3.1.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Meta-language for DSL implementation inspired by Xtext" +HOMEPAGE=" + https://pypi.org/project/textX/ + https://github.com/textX/textX/ +" +SRC_URI=" + https://github.com/textX/textX/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/Arpeggio-2.0.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/click[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + cp -a "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test/usr/bin:${PATH} + + # Update the shebang + sed -e "s:install/usr/bin/${EPYTHON}:test/usr/bin/${EPYTHON}:" \ + -i "${BUILD_DIR}"/test/usr/bin/textx || die + + # Install necessary plugins + local plugins=( + tests/functional/subcommands/example_project + tests/functional/registration/projects/* + ) + local p + for p in "${plugins[@]}"; do + pushd "${p}" >/dev/null || die + distutils_pep517_install "${BUILD_DIR}"/test + popd >/dev/null || die + done + + epytest tests/functional +}