From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/textx/
Date: Mon, 21 Mar 2022 08:54:50 +0000 (UTC) [thread overview]
Message-ID: <1647852879.3adb4469beb2594991bfaca1e342edbec0d450c2.mgorny@gentoo> (raw)
commit: 3adb4469beb2594991bfaca1e342edbec0d450c2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 08:02:01 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 21 08:54:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3adb4469
dev-python/textx: Bump to 3.0.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/textx/Manifest | 1 +
dev-python/textx/metadata.xml | 2 +-
dev-python/textx/textx-3.0.0.ebuild | 61 +++++++++++++++++++++++++++++++++++++
3 files changed, 63 insertions(+), 1 deletion(-)
diff --git a/dev-python/textx/Manifest b/dev-python/textx/Manifest
index 4c6a31a92455..2010f82f0da7 100644
--- a/dev-python/textx/Manifest
+++ b/dev-python/textx/Manifest
@@ -1 +1,2 @@
DIST textX-1.4.tar.gz 21967 BLAKE2B b9e5b15715e370795470be855e0425075b1f704cab0ea2f24021345d8748f9f1a36e84618207c7684cadf86dae2ee0d613af3aaf217a881ba922385a544064ba SHA512 7783f4dd1358d8e0df126f1be893c58e32f57015fd577bd20d00a17b63111d6e48222c9b78420a307fcd0833f6d9ac3a1398d55986681251f7c378cdcd68c8a4
+DIST textX-3.0.0.gh.tar.gz 1827894 BLAKE2B 1b4dff3919838b8aa27faee9387fafd6771891b730c221e10a5f2593d138634950d6ced5a7344944913d99e591ed87adfac403add582baa50b0b94c9c6498572 SHA512 59b175a3f68b0a5b9b3522e814602c791df3fa7dffb8fabffdeed79ce746ae698ee61c748ce991d8cfee15e094c9437530912e84bdeed4531d0bd96d07477c90
diff --git a/dev-python/textx/metadata.xml b/dev-python/textx/metadata.xml
index 3d4b8ec02717..de4b16fe0e05 100644
--- a/dev-python/textx/metadata.xml
+++ b/dev-python/textx/metadata.xml
@@ -6,6 +6,6 @@
</maintainer>
<upstream>
<remote-id type="pypi">textX</remote-id>
- <remote-id type="github">igordejanovic/textX</remote-id>
+ <remote-id type="github">textX/textX</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/textx/textx-3.0.0.ebuild b/dev-python/textx/textx-3.0.0.ebuild
new file mode 100644
index 000000000000..5d3a9735321c
--- /dev/null
+++ b/dev-python/textx/textx-3.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+MY_P=textX-${PV}
+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
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ >=dev-python/arpeggio-2.0.0[${PYTHON_USEDEP}]
+ dev-python/future[${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
+}
next reply other threads:[~2022-03-21 8:54 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-21 8:54 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 20:00 [gentoo-commits] repo/gentoo:master commit in: dev-python/textX/ Michał Górny
2024-11-22 20:00 Michał Górny
2024-10-27 3:26 Michał Górny
2024-05-19 11:47 Michał Górny
2023-11-23 19:38 Michał Górny
2023-11-12 16:00 Michał Górny
2023-10-04 5:51 Michał Górny
2023-05-20 15:55 Michał Górny
2023-03-16 16:35 Michał Górny
2023-02-11 7:27 Michał Górny
2023-02-08 17:36 Michał Górny
2023-02-08 17:36 Michał Górny
2023-01-27 16:05 Arthur Zamarin
2022-05-16 13:30 Michał Górny
2020-10-15 1:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/textx/ Zac Medico
2020-10-15 1:44 Zac Medico
2020-04-27 1:06 Zac Medico
2019-12-28 16:16 David Seifert
2018-04-13 9:53 Zac Medico
2017-03-15 6:36 Zac Medico
2016-08-23 20:14 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1647852879.3adb4469beb2594991bfaca1e342edbec0d450c2.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox