diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/lark | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/lark')
-rw-r--r-- | dev-python/lark/Manifest | 4 | ||||
-rw-r--r-- | dev-python/lark/lark-0.11.3-r1.ebuild | 32 | ||||
-rw-r--r-- | dev-python/lark/lark-1.1.2.ebuild | 21 |
3 files changed, 17 insertions, 40 deletions
diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 358a2aaff723..99cdd82705a3 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1,5 +1,3 @@ DIST lark-1.1.2.tar.gz 243201 BLAKE2B 0f1b51b0276ad893f29d0afa6c3e18211b0b92832c8c6f5cba6bbe9e03486b5598f55fa7c6f4d77798ed070decd902d01faa4df62039031fe21d392d29122125 SHA512 fc797c263410f461e1ef28fbbba526472b9c4d8dbb296b309e59daa5945fdcc0c2f9347b3b4bf78e189c6a3d8f1333c74a5f3d80b82ee54867181b84ba263c00 -DIST lark-parser-0.11.3.tar.gz 229917 BLAKE2B 14bd76f1faaa4fa0aa3fea300d7a4969e0afd70cecd163304047b34a001c012932f37a170d6727a01c93f69ad4c29da70e0b26cee477d81880fa7f97ebd01598 SHA512 34cb6b53dc782a8de57f1f9a0946e7d1f383fad83aaf85102f7d8ca9e5ecd1f83a7666ee1ed8bf556a0d21e1ac5af23964377619882b81dd1033512f544d51c0 -EBUILD lark-0.11.3-r1.ebuild 791 BLAKE2B 52472cd0e01845abb9529baad9a1d2bad5ad92e0ac87cda74b7cc91a9d6a4409c5c725f76bd089812c43b2574eb2739c511956cd9e1b3d210d5b18bae2f59f17 SHA512 d085cca68608cf4988ed78fb9faff1bfe55c63e8aa489f0ce2c49cd930dfd9c17ce5d98035047a027c572c6daeac2efa20ff1e96a743f3db912df1e28d26d1e8 -EBUILD lark-1.1.2.ebuild 788 BLAKE2B e03b82650760ed40a86090bd30451f8fe15e57b76573ead802f30965bae9b203f8551c41b9751ff83ec2758d781f6186c9db144ad2740963a151de249e5538ec SHA512 023b3048c03e2e5ad60160119affb1b275b8e017fc6e0c91bc1a44f9980070bdfae4bbca0cdc4a0a0209f75b2a8ed85f14444192597f5e237784f4d213f3d3d2 +EBUILD lark-1.1.2.ebuild 1044 BLAKE2B 37651f4ac118748c27f1ba76db1cf0400957dcd8e348023295306f86b88c7e864dfebf80a273a0fbc515c6a536f9fa3d1010172df4682c35a7097254ec75b841 SHA512 e5b8c6d42e4af12bf07d2c6efe3d330f99da1f5cdac46a0ead309707f812489ef43a91cd54d61249e6c13cc21a4fff3352a0ea2987182af60b73f658801462df MISC metadata.xml 364 BLAKE2B 8a1409bfc4f242907355a931f5ca7308c96b424cc06cfbc82f281abbaea32a0aaa5257d04f4fbd6131e9056dc08ec2f5834d80608d68d5e9efd32314d0a5cd47 SHA512 ed2ecc7da195e14e5a8071f3c5d277ead1dbbb811c1b7b1163c53d0b5e01ab299a7547de82782c9211aeb8fb6d97d3cd6bc0c4f258c533e884c4e096e7ff20b1 diff --git a/dev-python/lark/lark-0.11.3-r1.ebuild b/dev-python/lark/lark-0.11.3-r1.ebuild deleted file mode 100644 index 1b17ebf7368b..000000000000 --- a/dev-python/lark/lark-0.11.3-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# 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} pypy3 ) - -inherit distutils-r1 - -MY_P=lark-parser-${PV} -DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python" -HOMEPAGE="https://github.com/lark-parser/lark" -SRC_URI="mirror://pypi/${PN:0:1}/lark-parser/${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/atomicwrites[${PYTHON_USEDEP}] - dev-python/regex[${PYTHON_USEDEP}] - ) -" - -python_test() { - "${EPYTHON}" -m tests -v || die "Tests fail with ${EPYTHON}" -} diff --git a/dev-python/lark/lark-1.1.2.ebuild b/dev-python/lark/lark-1.1.2.ebuild index 8c13517ad359..a74107bac7a7 100644 --- a/dev-python/lark/lark-1.1.2.ebuild +++ b/dev-python/lark/lark-1.1.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} pypy3 ) +PYTHON_COMPAT=( python3_{8..11} pypy3 ) inherit distutils-r1 @@ -17,9 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/lark/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="test" -RESTRICT="!test? ( test )" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND=" test? ( @@ -28,6 +26,19 @@ BDEPEND=" ) " +distutils_enable_tests pytest + python_test() { - "${EPYTHON}" -m tests -v || die "Tests fail with ${EPYTHON}" + local EPYTEST_DESELECT=() + local EPYTEST_IGNORE=( + # require dev-python/js2py which is a really bad quality package + tests/test_nearley/test_nearley.py + ) + + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( + # https://github.com/lark-parser/lark/issues/1146 + tests/test_trees.py::TestTrees::test_smart_decorator + ) + + epytest } |