diff options
Diffstat (limited to 'dev-python/textX')
-rw-r--r-- | dev-python/textX/Manifest | 8 | ||||
-rw-r--r-- | dev-python/textX/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/textX/textX-3.1.0.ebuild (renamed from dev-python/textX/textX-3.0.0.ebuild) | 1 | ||||
-rw-r--r-- | dev-python/textX/textX-3.1.1.ebuild | 58 |
4 files changed, 68 insertions, 4 deletions
diff --git a/dev-python/textX/Manifest b/dev-python/textX/Manifest index 674bd825216d..de4ee475bfc4 100644 --- a/dev-python/textX/Manifest +++ b/dev-python/textX/Manifest @@ -1,3 +1,5 @@ -DIST textX-3.0.0.gh.tar.gz 1827894 BLAKE2B 1b4dff3919838b8aa27faee9387fafd6771891b730c221e10a5f2593d138634950d6ced5a7344944913d99e591ed87adfac403add582baa50b0b94c9c6498572 SHA512 59b175a3f68b0a5b9b3522e814602c791df3fa7dffb8fabffdeed79ce746ae698ee61c748ce991d8cfee15e094c9437530912e84bdeed4531d0bd96d07477c90 -EBUILD textX-3.0.0.ebuild 1275 BLAKE2B 3502b849961e28e5eaeac68f68ccff77bdf421a1c47f4a67e994108abc9af86d65614854af8cd07969eb3c8fe88e7ea44ac2d145e3b323c81c5596be83a01b39 SHA512 db0dc18f7615bc915990bb4707b68c68a8c0ae20033662898b240c41125a9890345827d5d25c440e99e5d8a21a107ce7b6f5c41f365764eede663b6bbf5889cd -MISC metadata.xml 338 BLAKE2B c8501a0068d2c612d598ce4b6a381693def6cfa5ef548462db75edbd1697651cf74909b9d93a8f2aa0055f3a4a05eb0ff06e7d72e59e453af5d76f53a5bbf137 SHA512 8ad3cdd270107b756aec1341799fdac495c3d8bf31a722e378df596f8d842867e2e4509e9eff0e31da5ad54a4e107d09268ade15cbcd47ea67eb14157d89b939 +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 +EBUILD textX-3.1.0.ebuild 1238 BLAKE2B f3b93d898f1f84d248a242e3e4a5c5276eb06f1d0861760d83a9291b4817a68a345858f3b2d1e94981b1a5a10aedbc3acf3a49b137e0e41e4673809ae09eb5a0 SHA512 e1b766b2486d46045550df8b83b88cbff959dd65bbf52c107c244bfa8a520400e1a58c89e6c7509d4e9da4e507afd1d1d71681fb75f078442183efbd2ddb2fb5 +EBUILD textX-3.1.1.ebuild 1238 BLAKE2B f3b93d898f1f84d248a242e3e4a5c5276eb06f1d0861760d83a9291b4817a68a345858f3b2d1e94981b1a5a10aedbc3acf3a49b137e0e41e4673809ae09eb5a0 SHA512 e1b766b2486d46045550df8b83b88cbff959dd65bbf52c107c244bfa8a520400e1a58c89e6c7509d4e9da4e507afd1d1d71681fb75f078442183efbd2ddb2fb5 +MISC metadata.xml 463 BLAKE2B ce9526aea5bf618a5298b38ccc6d9e734bfd221dfb770f3a7e6b061030d3a14e0e49c91eea239bed273479b4befe43b15cdf50f1c349f8da391247d44edb1737 SHA512 4006ba591063ec8844817d9becc1f8d41167b102df24216d77540bf2d1c934982bab523bed396e24987193c6f2a3880729278910cfda3192e356ceea7828ed7c 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 @@ <maintainer type="person"> <email>zmedico@gentoo.org</email> </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> <upstream> <remote-id type="pypi">textX</remote-id> <remote-id type="github">textX/textX</remote-id> diff --git a/dev-python/textX/textX-3.0.0.ebuild b/dev-python/textX/textX-3.1.0.ebuild index 560f5673c4dd..2ef355c35dfd 100644 --- a/dev-python/textX/textX-3.0.0.ebuild +++ b/dev-python/textX/textX-3.1.0.ebuild @@ -24,7 +24,6 @@ KEYWORDS="~amd64 ~x86" RDEPEND=" >=dev-python/Arpeggio-2.0.0[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] " BDEPEND=" test? ( 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 +} |