diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-25 18:31:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-25 18:38:02 +0200 |
commit | 3b45da1e83ea944a5d29cfb6bd851208e411cb87 (patch) | |
tree | 37822d51413deedbbc353de58290e9a67b4953da /dev-python/lark | |
parent | app-crypt/gnupg: drop 2.3.4-r3, 2.3.5-r1 (diff) | |
download | gentoo-3b45da1e83ea944a5d29cfb6bd851208e411cb87.tar.gz gentoo-3b45da1e83ea944a5d29cfb6bd851208e411cb87.tar.bz2 gentoo-3b45da1e83ea944a5d29cfb6bd851208e411cb87.zip |
dev-python/lark: Bump to 1.1.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/lark')
-rw-r--r-- | dev-python/lark/Manifest | 1 | ||||
-rw-r--r-- | dev-python/lark/lark-1.1.2.ebuild | 33 | ||||
-rw-r--r-- | dev-python/lark/metadata.xml | 2 |
3 files changed, 35 insertions, 1 deletions
diff --git a/dev-python/lark/Manifest b/dev-python/lark/Manifest index 7b9075f7d1c7..1f959cf5ef32 100644 --- a/dev-python/lark/Manifest +++ b/dev-python/lark/Manifest @@ -1 +1,2 @@ +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 diff --git a/dev-python/lark/lark-1.1.2.ebuild b/dev-python/lark/lark-1.1.2.ebuild new file mode 100644 index 000000000000..60322bd56428 --- /dev/null +++ b/dev-python/lark/lark-1.1.2.ebuild @@ -0,0 +1,33 @@ +# 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 + +DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python" +HOMEPAGE=" + https://github.com/lark-parser/lark/ + https://pypi.org/project/lark/ +" +SRC_URI="mirror://pypi/${PN:0:1}/lark/${P}.tar.gz" + +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/metadata.xml b/dev-python/lark/metadata.xml index 2b3b22eccde1..a619139b1f21 100644 --- a/dev-python/lark/metadata.xml +++ b/dev-python/lark/metadata.xml @@ -6,7 +6,7 @@ <name>Python</name> </maintainer> <upstream> - <remote-id type="pypi">lark-parser</remote-id> + <remote-id type="pypi">lark</remote-id> <remote-id type="github">lark-parser/lark</remote-id> </upstream> </pkgmetadata> |