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/tree-sitter | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/tree-sitter')
-rw-r--r-- | dev-python/tree-sitter/Manifest | 2 | ||||
-rw-r--r-- | dev-python/tree-sitter/tree-sitter-0.20.0-r1.ebuild (renamed from dev-python/tree-sitter/tree-sitter-0.20.0.ebuild) | 27 |
2 files changed, 22 insertions, 7 deletions
diff --git a/dev-python/tree-sitter/Manifest b/dev-python/tree-sitter/Manifest index 1b46b0211bd8..4f435139fb33 100644 --- a/dev-python/tree-sitter/Manifest +++ b/dev-python/tree-sitter/Manifest @@ -2,5 +2,5 @@ AUX tree-sitter-0.19.0_p20210506-unbundle.patch 674 BLAKE2B 3b7f4efb2a0064c6682b DIST py-tree-sitter-4f39f6919ca3be8efb420a338fd2cf9b8b68b156.tar.gz 14075 BLAKE2B b9a7a2247114c34e211f5098f04c456b25a3aee6cfde6d75bdd83427a379c5f339f1e897a3246ef7dafb2b512442bd0e7da18f391bc8283545e060dd00481421 SHA512 21629a147cda0c95a054c31223b082afa2d12491fee7a0d720187e5c390d9771c2e9b7d85fd35a56a2cf97a7addfa5332b58b3a36893aab2d7487f9522c5cddc DIST tree-sitter-javascript-0.19.0.tar.gz 257637 BLAKE2B dc28bcbb003d623f5930dbf575f94f51c00eb008a77ba080f05e730fae63fb24d29c02ebb62d179a59d0f9cb8a02dbd3971440f299d952b1ec29b25bc6d21e34 SHA512 ef842787742e76d2534528ec710800df91958feaa4ba351558b5315f58a4bd85c729d088d139e15e0395726a690a97c05e03846c9176af0fd482777ae57087ed DIST tree-sitter-python-0.19.0.tar.gz 129336 BLAKE2B 8a37b0d74ab89aa56d7164bd38ac527b7b9676cafd8f53faaee3d10316f91decd30c02078b1bb785a474615ae58e6edba1b28bc3311e6ff094435e5f53d64cd6 SHA512 df7c72f988a62af0774df1b3a60c86397725aaeb1e2ffaa9b1295ab22eec09bffaf391cad20fb0d08a20914b22af430c2248c26cad179fd68c9f2b32419c0b60 -EBUILD tree-sitter-0.20.0.ebuild 1323 BLAKE2B 44e72ccd8c455600b2237a66d008ce2b3fc8ebad1cd6aba37adbc4af84b3b69bfd1586c36664afa1faa822b44f43584792bed2e3dcc9a0794935fbc87e7c97ba SHA512 1b796c7407e4806ba87ddc3b9aff89b0f7ba9b5835b99a299f7d7b9379b79acc776934c0e77df32c31e276316fff8351a3370caf1e8f31ad60841d8ac63b577e +EBUILD tree-sitter-0.20.0-r1.ebuild 1472 BLAKE2B 853d53b52651ec093da779c37b2febf324be0fb20d3730ed08f5f9261df9f4bf587cc4245345938202f82175a24a088b0a6588559c1442526dccced38266007a SHA512 33db84798dbb1502c28e4e9eddf816db6d6eb5f7f02feb2a5ef21e28c45ea79334e08abefc8807cc93489fcccda7324e78a2d131b9ddd6abd15f78ea24036a81 MISC metadata.xml 393 BLAKE2B 15f673391ad9e9aab93808392449ddf99ccc35fe1b345010a4373b46a56c8dad461042e0a2dd735e4d53f77059a5f7920fc3215f939aacd1455c61f0ecdfa3c0 SHA512 519fc8d6fbbf3709820b26b1f4786b16f6679e569ae4adafdc5e37b2dfbc03351bfd9c6750264300a0309406ffe20868d48c3ff488dde22f900d59e1813c15ef diff --git a/dev-python/tree-sitter/tree-sitter-0.20.0.ebuild b/dev-python/tree-sitter/tree-sitter-0.20.0-r1.ebuild index 821f1434776b..704c7cce3413 100644 --- a/dev-python/tree-sitter/tree-sitter-0.20.0.ebuild +++ b/dev-python/tree-sitter/tree-sitter-0.20.0-r1.ebuild @@ -3,7 +3,9 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + inherit distutils-r1 EGIT_COMMIT="4f39f6919ca3be8efb420a338fd2cf9b8b68b156" @@ -11,7 +13,10 @@ MY_P=py-tree-sitter-${EGIT_COMMIT} FIXTURE_PV=0.19.0 DESCRIPTION="Python bindings to the Tree-sitter parsing library" -HOMEPAGE="https://github.com/tree-sitter/py-tree-sitter/" +HOMEPAGE=" + https://github.com/tree-sitter/py-tree-sitter/ + https://pypi.org/project/tree-sitter/ +" SRC_URI=" https://github.com/tree-sitter/py-tree-sitter/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz @@ -20,17 +25,22 @@ SRC_URI=" -> tree-sitter-javascript-${FIXTURE_PV}.tar.gz https://github.com/tree-sitter/tree-sitter-python/archive/v${FIXTURE_PV}.tar.gz -> tree-sitter-python-${FIXTURE_PV}.tar.gz - )" + ) +" S=${WORKDIR}/${MY_P} LICENSE="MIT" SLOT="0" KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86" -RDEPEND="dev-libs/tree-sitter:=" -DEPEND=${RDEPEND} +RDEPEND=" + dev-libs/tree-sitter:= +" +DEPEND=" + ${RDEPEND} +" -distutils_enable_tests setup.py +distutils_enable_tests unittest PATCHES=( "${FILESDIR}"/tree-sitter-0.19.0_p20210506-unbundle.patch @@ -48,3 +58,8 @@ src_unpack() { done fi } + +src_test() { + rm -r tree_sitter || die + distutils-r1_src_test +} |