[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-11-23 Thread Michał Górny
commit: 4aa76fadbfe5170a95dc981071cc6c80764cedcf
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 23 19:38:05 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 23 19:38:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa76fad

dev-python/textX: Keyword 4.0.1 arm64, #918070

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/textX-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/textX/textX-4.0.1.ebuild 
b/dev-python/textX/textX-4.0.1.ebuild
index 38d9669826ff..8d63e4c0ada0 100644
--- a/dev-python/textX/textX-4.0.1.ebuild
+++ b/dev-python/textX/textX-4.0.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 RDEPEND="
>=dev-python/Arpeggio-2.0.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-11-12 Thread Michał Górny
commit: 6ce0a0aa98d743f157a718f6766940b559d0a352
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 12 15:51:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 12 15:51:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce0a0aa

dev-python/textX: Bump to 4.0.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/Manifest   |  1 +
 dev-python/textX/textX-4.0.1.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest
index 852dcb38f387..cdb686273c3f 100644
--- a/dev-python/textX/Manifest
+++ b/dev-python/textX/Manifest
@@ -1,2 +1,3 @@
 DIST textX-3.1.1.gh.tar.gz 1824060 BLAKE2B 
48c2faeaff52b9f4a3acd1cf36dabc5edc38bb264bd3efbddd2aacaf0aca80a50445a7b30716bd5acdae0219cc2c63fbe2b26c90923758a4fa2a0b9cffb71e65
 SHA512 
33fa803a5bc2b4cd3782790625304e952e52b64f8791ddbe0fef100b521b36aa8be5291a3cd467771bd9a2d32fac41209e7895a18cc7c4c0f9a672f0ec4211f4
 DIST textX-4.0.0.gh.tar.gz 1824285 BLAKE2B 
ad5b1f0e7b839ffeca4e5609f1ff9fd4d9828629a5da807870a7ff2ec2fdac35ac80c362086cc1ca037ce2ba37fc3a9ccff9bc9ce8e2c9db26562a9c26de0180
 SHA512 
137ce6ef24defcd38bf2a65fb87e79d5313dcf6ec6cd363712781870dacfd1328b52e6e5a4124fc607a7abb5a284821e300072c7087310953c652191d1b69991
+DIST textX-4.0.1.gh.tar.gz 1824450 BLAKE2B 
35c18f4f3acbccb57a027c40438099c17eaf97b6124f6cd2fef5b407fb51fc0810ec46daf563ab724ee3e3e6a2775308a0513dab91d6cff5e88d2c18fc6f6af0
 SHA512 
036eab82760f5f7f11f5da553097a3c1264070516d868568aebc09c6f143ca5f94fcaa21bff90c94e136860269789eda7b704e66e3396d25db491155dceb5bf0

diff --git a/dev-python/textX/textX-4.0.1.ebuild 
b/dev-python/textX/textX-4.0.1.ebuild
new file mode 100644
index ..38d9669826ff
--- /dev/null
+++ b/dev-python/textX/textX-4.0.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{10..12} )
+
+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/attrs[${PYTHON_USEDEP}]
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/, dev-python/textX/files/

2023-11-12 Thread Michał Górny
commit: af144ff087b228aecfb25d6832123152307a17cd
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 12 15:51:15 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 12 15:51:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af144ff0

dev-python/textX: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/Manifest |   2 -
 dev-python/textX/files/textX-4.0.0-flit.patch | 125 --
 dev-python/textX/textX-3.1.1.ebuild   |  59 
 dev-python/textX/textX-4.0.0.ebuild   |  63 -
 4 files changed, 249 deletions(-)

diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest
index cdb686273c3f..d7165bfffee2 100644
--- a/dev-python/textX/Manifest
+++ b/dev-python/textX/Manifest
@@ -1,3 +1 @@
-DIST textX-3.1.1.gh.tar.gz 1824060 BLAKE2B 
48c2faeaff52b9f4a3acd1cf36dabc5edc38bb264bd3efbddd2aacaf0aca80a50445a7b30716bd5acdae0219cc2c63fbe2b26c90923758a4fa2a0b9cffb71e65
 SHA512 
33fa803a5bc2b4cd3782790625304e952e52b64f8791ddbe0fef100b521b36aa8be5291a3cd467771bd9a2d32fac41209e7895a18cc7c4c0f9a672f0ec4211f4
-DIST textX-4.0.0.gh.tar.gz 1824285 BLAKE2B 
ad5b1f0e7b839ffeca4e5609f1ff9fd4d9828629a5da807870a7ff2ec2fdac35ac80c362086cc1ca037ce2ba37fc3a9ccff9bc9ce8e2c9db26562a9c26de0180
 SHA512 
137ce6ef24defcd38bf2a65fb87e79d5313dcf6ec6cd363712781870dacfd1328b52e6e5a4124fc607a7abb5a284821e300072c7087310953c652191d1b69991
 DIST textX-4.0.1.gh.tar.gz 1824450 BLAKE2B 
35c18f4f3acbccb57a027c40438099c17eaf97b6124f6cd2fef5b407fb51fc0810ec46daf563ab724ee3e3e6a2775308a0513dab91d6cff5e88d2c18fc6f6af0
 SHA512 
036eab82760f5f7f11f5da553097a3c1264070516d868568aebc09c6f143ca5f94fcaa21bff90c94e136860269789eda7b704e66e3396d25db491155dceb5bf0

diff --git a/dev-python/textX/files/textX-4.0.0-flit.patch 
b/dev-python/textX/files/textX-4.0.0-flit.patch
deleted file mode 100644
index da53f2c333de..
--- a/dev-python/textX/files/textX-4.0.0-flit.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-From aaac277940c70190c126f6775743c59226abd694 Mon Sep 17 00:00:00 2001
-From: Igor Dejanovic 
-Date: Fri, 10 Nov 2023 22:13:36 +0100
-Subject: [PATCH] add flit-core as a build backend for test projects
-
-closes #418

- .../registration/projects/data_dsl/pyproject.toml  | 7 ++-
- .../registration/projects/flow_codegen/pyproject.toml  | 7 ++-
- .../registration/projects/flow_dsl/pyproject.toml  | 7 ++-
- .../registration/projects/types_dsl/pyproject.toml | 7 ++-
- .../functional/subcommands/example_project/pyproject.toml  | 7 ++-
- 5 files changed, 30 insertions(+), 5 deletions(-)
-
-diff --git a/tests/functional/registration/projects/data_dsl/pyproject.toml 
b/tests/functional/registration/projects/data_dsl/pyproject.toml
-index 4db8e9e..15129a5 100644
 a/tests/functional/registration/projects/data_dsl/pyproject.toml
-+++ b/tests/functional/registration/projects/data_dsl/pyproject.toml
-@@ -1,5 +1,6 @@
- [project]
--name = "data_dsl"
-+name = "data-dsl"
-+description = "Data DSL"
- version = "1.0.0"
- 
- dependencies = [
-@@ -7,5 +8,9 @@ dependencies = [
- "types_dsl"
- ]
- 
-+[build-system]
-+build-backend = "flit_core.buildapi"
-+requires = ["flit_core >=3.8.0,<4"]
-+
- [project.entry-points.textx_languages]
- data_dsl = "data_dsl:data_dsl"
-diff --git 
a/tests/functional/registration/projects/flow_codegen/pyproject.toml 
b/tests/functional/registration/projects/flow_codegen/pyproject.toml
-index 191a3b2..cec623f 100644
 a/tests/functional/registration/projects/flow_codegen/pyproject.toml
-+++ b/tests/functional/registration/projects/flow_codegen/pyproject.toml
-@@ -1,5 +1,6 @@
- [project]
--name = "flow_codegen"
-+name = "flow-codegen"
-+description = "Flow code generator"
- version = "1.0.0"
- 
- dependencies = [
-@@ -7,5 +8,9 @@ dependencies = [
- "click"
- ]
- 
-+[build-system]
-+build-backend = "flit_core.buildapi"
-+requires = ["flit_core >=3.8.0,<4"]
-+
- [project.entry-points.textx_generators]
- flow_dsl_plantuml = "flow_codegen.generators:flow_pu"
-diff --git a/tests/functional/registration/projects/flow_dsl/pyproject.toml 
b/tests/functional/registration/projects/flow_dsl/pyproject.toml
-index e2ac207..5d57387 100644
 a/tests/functional/registration/projects/flow_dsl/pyproject.toml
-+++ b/tests/functional/registration/projects/flow_dsl/pyproject.toml
-@@ -1,10 +1,15 @@
- [project]
--name = "flow_dsl"
-+name = "flow-dsl"
-+description = "Flow DSL"
- version = "1.0.0"
- 
- dependencies = [
- "textX"
- ]
- 
-+[build-system]
-+build-backend = "flit_core.buildapi"
-+requires = ["flit_core >=3.8.0,<4"]
-+
- [project.entry-points.textx_languages]
- flow_dsl = "flow_dsl:flow_dsl"
-diff --git a/tests/functional/registration/projects/types_dsl/pyproject.toml 
b/tests/functional/registration/projects/types_dsl/pyproject.toml
-index 345d964..9ca7cd3 100644
 a/tests/functional/registration/projects/types_dsl/pyproject.toml

[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/, dev-python/textX/files/

2023-11-11 Thread Michał Górny
commit: 2476c5527dd198a5c3baa515ce00277db7e73c76
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 11 07:34:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 11 08:35:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2476c552

dev-python/textX: Bump to 4.0.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/Manifest |   1 +
 dev-python/textX/files/textX-4.0.0-flit.patch | 125 ++
 dev-python/textX/textX-4.0.0.ebuild   |  63 +
 3 files changed, 189 insertions(+)

diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest
index a9dc1b2f25f9..852dcb38f387 100644
--- a/dev-python/textX/Manifest
+++ b/dev-python/textX/Manifest
@@ -1 +1,2 @@
 DIST textX-3.1.1.gh.tar.gz 1824060 BLAKE2B 
48c2faeaff52b9f4a3acd1cf36dabc5edc38bb264bd3efbddd2aacaf0aca80a50445a7b30716bd5acdae0219cc2c63fbe2b26c90923758a4fa2a0b9cffb71e65
 SHA512 
33fa803a5bc2b4cd3782790625304e952e52b64f8791ddbe0fef100b521b36aa8be5291a3cd467771bd9a2d32fac41209e7895a18cc7c4c0f9a672f0ec4211f4
+DIST textX-4.0.0.gh.tar.gz 1824285 BLAKE2B 
ad5b1f0e7b839ffeca4e5609f1ff9fd4d9828629a5da807870a7ff2ec2fdac35ac80c362086cc1ca037ce2ba37fc3a9ccff9bc9ce8e2c9db26562a9c26de0180
 SHA512 
137ce6ef24defcd38bf2a65fb87e79d5313dcf6ec6cd363712781870dacfd1328b52e6e5a4124fc607a7abb5a284821e300072c7087310953c652191d1b69991

diff --git a/dev-python/textX/files/textX-4.0.0-flit.patch 
b/dev-python/textX/files/textX-4.0.0-flit.patch
new file mode 100644
index ..da53f2c333de
--- /dev/null
+++ b/dev-python/textX/files/textX-4.0.0-flit.patch
@@ -0,0 +1,125 @@
+From aaac277940c70190c126f6775743c59226abd694 Mon Sep 17 00:00:00 2001
+From: Igor Dejanovic 
+Date: Fri, 10 Nov 2023 22:13:36 +0100
+Subject: [PATCH] add flit-core as a build backend for test projects
+
+closes #418
+---
+ .../registration/projects/data_dsl/pyproject.toml  | 7 ++-
+ .../registration/projects/flow_codegen/pyproject.toml  | 7 ++-
+ .../registration/projects/flow_dsl/pyproject.toml  | 7 ++-
+ .../registration/projects/types_dsl/pyproject.toml | 7 ++-
+ .../functional/subcommands/example_project/pyproject.toml  | 7 ++-
+ 5 files changed, 30 insertions(+), 5 deletions(-)
+
+diff --git a/tests/functional/registration/projects/data_dsl/pyproject.toml 
b/tests/functional/registration/projects/data_dsl/pyproject.toml
+index 4db8e9e..15129a5 100644
+--- a/tests/functional/registration/projects/data_dsl/pyproject.toml
 b/tests/functional/registration/projects/data_dsl/pyproject.toml
+@@ -1,5 +1,6 @@
+ [project]
+-name = "data_dsl"
++name = "data-dsl"
++description = "Data DSL"
+ version = "1.0.0"
+ 
+ dependencies = [
+@@ -7,5 +8,9 @@ dependencies = [
+ "types_dsl"
+ ]
+ 
++[build-system]
++build-backend = "flit_core.buildapi"
++requires = ["flit_core >=3.8.0,<4"]
++
+ [project.entry-points.textx_languages]
+ data_dsl = "data_dsl:data_dsl"
+diff --git 
a/tests/functional/registration/projects/flow_codegen/pyproject.toml 
b/tests/functional/registration/projects/flow_codegen/pyproject.toml
+index 191a3b2..cec623f 100644
+--- a/tests/functional/registration/projects/flow_codegen/pyproject.toml
 b/tests/functional/registration/projects/flow_codegen/pyproject.toml
+@@ -1,5 +1,6 @@
+ [project]
+-name = "flow_codegen"
++name = "flow-codegen"
++description = "Flow code generator"
+ version = "1.0.0"
+ 
+ dependencies = [
+@@ -7,5 +8,9 @@ dependencies = [
+ "click"
+ ]
+ 
++[build-system]
++build-backend = "flit_core.buildapi"
++requires = ["flit_core >=3.8.0,<4"]
++
+ [project.entry-points.textx_generators]
+ flow_dsl_plantuml = "flow_codegen.generators:flow_pu"
+diff --git a/tests/functional/registration/projects/flow_dsl/pyproject.toml 
b/tests/functional/registration/projects/flow_dsl/pyproject.toml
+index e2ac207..5d57387 100644
+--- a/tests/functional/registration/projects/flow_dsl/pyproject.toml
 b/tests/functional/registration/projects/flow_dsl/pyproject.toml
+@@ -1,10 +1,15 @@
+ [project]
+-name = "flow_dsl"
++name = "flow-dsl"
++description = "Flow DSL"
+ version = "1.0.0"
+ 
+ dependencies = [
+ "textX"
+ ]
+ 
++[build-system]
++build-backend = "flit_core.buildapi"
++requires = ["flit_core >=3.8.0,<4"]
++
+ [project.entry-points.textx_languages]
+ flow_dsl = "flow_dsl:flow_dsl"
+diff --git a/tests/functional/registration/projects/types_dsl/pyproject.toml 
b/tests/functional/registration/projects/types_dsl/pyproject.toml
+index 345d964..9ca7cd3 100644
+--- a/tests/functional/registration/projects/types_dsl/pyproject.toml
 b/tests/functional/registration/projects/types_dsl/pyproject.toml
+@@ -1,10 +1,15 @@
+ [project]
+-name = "types_dsl"
++name = "types-dsl"
++description = "Types DSL"
+ version = "1.0.0"
+ 
+ dependencies = [
+ "textX"
+ ]
+ 
++[build-system]
++build-backend = "flit_core.buildapi"
++requires = ["flit_core >=3.8.0,<4"]
++
+ [project.entry-points.textx_languages]
+ 

[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-10-03 Thread Michał Górny
commit: 4c9dd8ed99be053bc88fd447b272e1360511e5ed
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 05:30:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 05:51:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c9dd8ed

dev-python/textX: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/textX-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/textX/textX-3.1.1.ebuild 
b/dev-python/textX/textX-3.1.1.ebuild
index d0f7bba95baf..c1b43647ed4a 100644
--- a/dev-python/textX/textX-3.1.1.ebuild
+++ b/dev-python/textX/textX-3.1.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-05-20 Thread Michał Górny
commit: 129a836f5e4242e5dbe3440bb74110f6d0318baf
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 20 15:51:58 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 20 15:54:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=129a836f

dev-python/textX: Add test dep on dev-python/attrs

Closes: https://bugs.gentoo.org/906844
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/textX-3.1.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/textX/textX-3.1.1.ebuild 
b/dev-python/textX/textX-3.1.1.ebuild
index 2ef355c35dfd..d0f7bba95baf 100644
--- a/dev-python/textX/textX-3.1.1.ebuild
+++ b/dev-python/textX/textX-3.1.1.ebuild
@@ -27,6 +27,7 @@ RDEPEND="
 "
 BDEPEND="
test? (
+   dev-python/attrs[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
)



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-03-16 Thread Michał Górny
commit: 97844286bf6b44079b7a2a49a01981608e187609
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 16 16:31:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 16:31:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97844286

dev-python/textX: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/Manifest   |  1 -
 dev-python/textX/textX-3.1.0.ebuild | 58 -
 2 files changed, 59 deletions(-)

diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest
index 5bae6b9bc737..a9dc1b2f25f9 100644
--- a/dev-python/textX/Manifest
+++ b/dev-python/textX/Manifest
@@ -1,2 +1 @@
-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.0.ebuild 
b/dev-python/textX/textX-3.1.0.ebuild
deleted file mode 100644
index 2ef355c35dfd..
--- a/dev-python/textX/textX-3.1.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-02-10 Thread Michał Górny
commit: 1bbcf665d14f2422a313319d123bb2f9342b9739
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 11 06:46:04 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 11 06:46:04 2023 +
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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-02-08 Thread Michał Górny
commit: 2d6754ee2a1220a82cb36cf75df55e0d67b91d73
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  8 16:26:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  8 17:36:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6754ee

dev-python/textX: Add python@ as co-maint.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/metadata.xml | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-python/textX/metadata.xml b/dev-python/textX/metadata.xml
index de4b16fe0e05..2ba693ae45a9 100644
--- a/dev-python/textX/metadata.xml
+++ b/dev-python/textX/metadata.xml
@@ -4,6 +4,11 @@

zmed...@gentoo.org

+   
+   pyt...@gentoo.org
+   Python
+   
+   

textX
textX/textX



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-02-08 Thread Michał Górny
commit: 3a35c35568f8dab6c02dba5767b6ddae78d581f3
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  8 16:18:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  8 17:36:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a35c355

dev-python/textX: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/Manifest   |  1 -
 dev-python/textX/textX-3.0.0.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest
index a0be8f7790c1..a4a534925998 100644
--- a/dev-python/textX/Manifest
+++ b/dev-python/textX/Manifest
@@ -1,2 +1 @@
-DIST textX-3.0.0.gh.tar.gz 1827894 BLAKE2B 
1b4dff3919838b8aa27faee9387fafd6771891b730c221e10a5f2593d138634950d6ced5a7344944913d99e591ed87adfac403add582baa50b0b94c9c6498572
 SHA512 
59b175a3f68b0a5b9b3522e814602c791df3fa7dffb8fabffdeed79ce746ae698ee61c748ce991d8cfee15e094c9437530912e84bdeed4531d0bd96d07477c90
 DIST textX-3.1.0.gh.tar.gz 1822985 BLAKE2B 
4418cc98bfe68dcfe1e312a64810819335a1ac55f97661c4c2d9729a988bf70ed34ad710f7c51b1ab7f48f7092460ae79f3756f0566f19dfabac6c2875f2f690
 SHA512 
a300178990d30b7b0c1a77f48a7d51e9582d51dabc9dfa50dc5195afc1e3b2ce4b0cf6475de815078b460cb564bfb03054154741a50a8d213a0c0eb4cdb5b2ef

diff --git a/dev-python/textX/textX-3.0.0.ebuild 
b/dev-python/textX/textX-3.0.0.ebuild
deleted file mode 100644
index 560f5673c4dd..
--- a/dev-python/textX/textX-3.0.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# 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}]
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2023-01-27 Thread Arthur Zamarin
commit: 875c01269569eef2f5bd1454b384170a29689a81
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jan 27 16:03:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jan 27 16:03:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=875c0126

dev-python/textX: enable py3.11

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/textX/textX-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/textX/textX-3.0.0.ebuild 
b/dev-python/textX/textX-3.0.0.ebuild
index 7d4b032dd291..560f5673c4dd 100644
--- a/dev-python/textX/textX-3.0.0.ebuild
+++ b/dev-python/textX/textX-3.0.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/

2022-05-16 Thread Michał Górny
commit: 7f5f15ea8fe8637510d14925b5286545b1fe538f
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 16 13:28:08 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 16 13:28:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f5f15ea

dev-python/textX: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/textX/Manifest |  1 -
 dev-python/textX/textX-1.4.ebuild | 31 ---
 2 files changed, 32 deletions(-)

diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest
index 2010f82f0da7..eb2765dfa11d 100644
--- a/dev-python/textX/Manifest
+++ b/dev-python/textX/Manifest
@@ -1,2 +1 @@
-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/textX-1.4.ebuild 
b/dev-python/textX/textX-1.4.ebuild
deleted file mode 100644
index e32c8487351d..
--- a/dev-python/textX/textX-1.4.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
-HOMEPAGE="https://pypi.org/project/textX/ 
https://github.com/igordejanovic/textX;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-# pypi tarball omits tests
-RESTRICT="test"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="dev-python/Arpeggio[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? (
-   dev-python/pytest[${PYTHON_USEDEP}]
-   )
-"
-
-python_test() {
-   py.test -v tests/functional || die "tests failed"
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/textX/, dev-python/textx/, profiles/updates/

2022-03-21 Thread Michał Górny
commit: ffa3a3d2bfe07a1d85cf94df8478d26154be7311
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 21 08:35:56 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 21 08:54:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa3a3d2

Move dev-python/{text → textX}

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/{textx => textX}/Manifest | 0
 dev-python/{textx => textX}/metadata.xml | 0
 dev-python/{textx/textx-1.4.ebuild => textX/textX-1.4.ebuild}| 9 +++--
 .../{textx/textx-3.0.0.ebuild => textX/textX-3.0.0.ebuild}   | 4 +---
 profiles/updates/1Q-2022 | 1 +
 5 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/textx/Manifest b/dev-python/textX/Manifest
similarity index 100%
rename from dev-python/textx/Manifest
rename to dev-python/textX/Manifest

diff --git a/dev-python/textx/metadata.xml b/dev-python/textX/metadata.xml
similarity index 100%
rename from dev-python/textx/metadata.xml
rename to dev-python/textX/metadata.xml

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textX/textX-1.4.ebuild
similarity index 76%
rename from dev-python/textx/textx-1.4.ebuild
rename to dev-python/textX/textX-1.4.ebuild
index 4c427c4e236b..29f9dd96c99b 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textX/textX-1.4.ebuild
@@ -1,18 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{8..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 
-MY_PN=textX
-MY_P=${MY_PN}-${PV}
 DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
 HOMEPAGE="https://pypi.org/project/textX/ 
https://github.com/igordejanovic/textX;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 # pypi tarball omits tests
 RESTRICT="test"
 LICENSE="MIT"
@@ -27,7 +25,6 @@ DEPEND="${RDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
)
 "
-S=${WORKDIR}/${MY_P}
 
 python_test() {
py.test -v tests/functional || die "tests failed"

diff --git a/dev-python/textx/textx-3.0.0.ebuild 
b/dev-python/textX/textX-3.0.0.ebuild
similarity index 95%
rename from dev-python/textx/textx-3.0.0.ebuild
rename to dev-python/textX/textX-3.0.0.ebuild
index 5d3a9735321c..79768ec8e29e 100644
--- a/dev-python/textx/textx-3.0.0.ebuild
+++ b/dev-python/textX/textX-3.0.0.ebuild
@@ -8,7 +8,6 @@ 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/
@@ -16,9 +15,8 @@ HOMEPAGE="
 "
 SRC_URI="
https://github.com/textX/textX/archive/${PV}.tar.gz
-   -> ${MY_P}.gh.tar.gz
+   -> ${P}.gh.tar.gz
 "
-S=${WORKDIR}/${MY_P}
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/profiles/updates/1Q-2022 b/profiles/updates/1Q-2022
new file mode 100644
index ..0c7abb5be223
--- /dev/null
+++ b/profiles/updates/1Q-2022
@@ -0,0 +1 @@
+move dev-python/textx dev-python/textX



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2022-03-21 Thread Michał Górny
commit: 3adb4469beb2594991bfaca1e342edbec0d450c2
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Mar 21 08:02:01 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Mar 21 08:54:39 2022 +
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  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 @@


textX
-   igordejanovic/textX
+   textX/textX

 

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 ..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
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2020-10-14 Thread Zac Medico
commit: ac6d7c624b1a3c8ace8326883a76195ffdc5437d
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Oct 14 13:40:24 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Oct 15 01:44:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac6d7c62

dev-python/textx: correct DISTUTILS_USE_SETUPTOOLS

Closes: https://bugs.gentoo.org/748945
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/textx/textx-1.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
index bf660cde8d9..561dbcd457c 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -3,7 +3,8 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..8} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2020-10-14 Thread Zac Medico
commit: 343e2e8537f19b729d5dccbbe0facfb5d84e1bd9
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Oct 14 13:41:47 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Oct 15 01:44:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343e2e85

dev-python/textx: port to python3_9

Closes: https://github.com/gentoo/gentoo/pull/17924
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/textx/textx-1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
index 561dbcd457c..e88d775558d 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{6..8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2020-04-26 Thread Zac Medico
commit: fac13092c0c495514ef54dd397cb1a81b22f5b16
Author: Zac Medico  gentoo  org>
AuthorDate: Mon Apr 27 00:57:44 2020 +
Commit: Zac Medico  gentoo  org>
CommitDate: Mon Apr 27 01:06:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac13092

dev-python/textx: Update PYTHON_COMPAT

Closes: https://bugs.gentoo.org/719586
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Zac Medico  gentoo.org>

 dev-python/textx/textx-1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
index 4434231b96b..bf660cde8d9 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2019-12-28 Thread David Seifert
commit: 36ccb043dd1c9b825e168940465dc1500952cf3d
Author: David Seifert  gentoo  org>
AuthorDate: Sat Dec 28 16:16:14 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Dec 28 16:16:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36ccb043

dev-python/textx: Remove Py2

Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 dev-python/textx/textx-1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
index dc74666dda2..85c6b7a34a4 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
+PYTHON_COMPAT=( python3_{5,6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2018-04-13 Thread Zac Medico
commit: 8004f392d527c694193b3603e4e1d4c31aa3adae
Author: Marty E. Plummer  startmail  com>
AuthorDate: Fri Apr 13 08:26:47 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Apr 13 09:52:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8004f392

dev-python/textx: remove variables from HOMEPAGE

Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-python/textx/textx-1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
index bdb75ef4948..f176c431bf4 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ inherit distutils-r1
 MY_PN=textX
 MY_P=${MY_PN}-${PV}
 DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
-HOMEPAGE="https://pypi.python.org/pypi/${MY_PN} 
https://github.com/igordejanovic/${MY_PN};
+HOMEPAGE="https://pypi.python.org/pypi/textX 
https://github.com/igordejanovic/textX;
 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
 # pypi tarball omits tests
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2017-03-15 Thread Zac Medico
commit: e6691db2f197798634146ccd8781654354b44532
Author: Zac Medico  gentoo  org>
AuthorDate: Wed Mar 15 06:34:02 2017 +
Commit: Zac Medico  gentoo  org>
CommitDate: Wed Mar 15 06:34:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6691db2

dev-python/textx: Add python3_6 to PYTHON_COMPAT

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 dev-python/textx/textx-1.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
index b88f4d4f9ee..bdb75ef4948 100644
--- a/dev-python/textx/textx-1.4.ebuild
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{4,5} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
 
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/textx/

2016-08-23 Thread Zac Medico
commit: e5e1f3ef68195823b58e320b288534117d7d0196
Author: Zac Medico  gentoo  org>
AuthorDate: Tue Aug 23 20:10:06 2016 +
Commit: Zac Medico  gentoo  org>
CommitDate: Tue Aug 23 20:14:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e1f3ef

dev-python/textx: add package

Package-Manager: portage-2.3.0

 dev-python/textx/Manifest |  1 +
 dev-python/textx/metadata.xml | 11 +++
 dev-python/textx/textx-1.4.ebuild | 34 ++
 3 files changed, 46 insertions(+)

diff --git a/dev-python/textx/Manifest b/dev-python/textx/Manifest
new file mode 100644
index ..56875a1
--- /dev/null
+++ b/dev-python/textx/Manifest
@@ -0,0 +1 @@
+DIST textX-1.4.tar.gz 21967 SHA256 
6112b73b2c4713630824f7c57f14b3919a2c1e32a8246c37b009378b6079665c SHA512 
7783f4dd1358d8e0df126f1be893c58e32f57015fd577bd20d00a17b63111d6e48222c9b78420a307fcd0833f6d9ac3a1398d55986681251f7c378cdcd68c8a4
 WHIRLPOOL 
8ef80f60e3a56322502912660e5296ad151b22692224c8cf04c83e2dc4e8700e78f0dae1d3f9db063f1e24e208a17d8c474a15ac57570221f9d9dedea29b9538

diff --git a/dev-python/textx/metadata.xml b/dev-python/textx/metadata.xml
new file mode 100644
index ..0de01bf
--- /dev/null
+++ b/dev-python/textx/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   zmed...@gentoo.org
+   
+   
+   textX
+   igordejanovic/textX
+   
+

diff --git a/dev-python/textx/textx-1.4.ebuild 
b/dev-python/textx/textx-1.4.ebuild
new file mode 100644
index ..ccd24ed
--- /dev/null
+++ b/dev-python/textx/textx-1.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5} )
+
+inherit distutils-r1
+
+MY_PN=textX
+MY_P=${MY_PN}-${PV}
+DESCRIPTION="Meta-language for DSL implementation inspired by Xtext"
+HOMEPAGE="https://pypi.python.org/pypi/${MY_PN} 
https://github.com/igordejanovic/${MY_PN};
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+# pypi tarball omits tests
+RESTRICT="test"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/arpeggio[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/pytest[${PYTHON_USEDEP}]
+   )
+"
+S=${WORKDIR}/${MY_P}
+
+python_test() {
+   py.test -v tests/functional || die "tests failed"
+}