From a67cd6675142fbbe7b09fff2361f2961a9031451 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 7 Oct 2022 01:22:59 +0100 Subject: gentoo auto-resync : 07:10:2022 - 01:22:59 --- dev-python/clang-python/Manifest | 2 + .../clang-python-16.0.0_pre20221006.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild (limited to 'dev-python/clang-python') diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index 4a3e5a9b4ab0..2b3822cdb674 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -5,6 +5,7 @@ DIST llvm-project-15.0.1.src.tar.xz.sig 438 BLAKE2B d8f634adab531bb19178fb27bc83 DIST llvm-project-15.0.2.src.tar.xz 112071864 BLAKE2B 96f2884d6c1007260d71e5dd41951eed029e8f50ff78f3c90f7194df13e1d4fb80ab7705c51c45a3e6b2a7714a98d9c5919fc7064d1d5f7c675e65b9b4229b65 SHA512 a0e815369c15bb4f8e8aa0fede29c3d557fcc5c8f2b39d457c03f1ef1d860082a41027238571b2aee9a158a87eb118deb08dc2ba94ce750320837a84e9908b8c DIST llvm-project-15.0.2.src.tar.xz.sig 438 BLAKE2B 37a3a7fbc2d74db9060e85f04e159b475cf818c95a6fe2e9f5f038eb990f414d94833ecac2f9c826825a69b752876399e37e70e6934def06363f7ccb18be033a SHA512 cfe3bc400a64536ad9181c2ede7227a0953a8632fdc777d1ea1d9225c1fc4e699d90ce0b99e057ee5b87c1272d5810c4b52fb0cac167ddd2aad88f1f3ef46ee8 DIST llvm-project-215c9fa4deac9ec6b4e504843830551f03b60620.tar.gz 168942763 BLAKE2B 545c7c372c38667b7d811753464e91134aae600060d9054979eab8735d535a72d6bbb33a6008dc81f3b14513f58791ca3b8c3068e62ff146ccb14f32abb41a32 SHA512 d0c244357650ef5d56bc7afd836cd747cc2cce92d5f7fb4ddec3414e5bafe4e611acb2a7ff42343c184caad14a30fa9a6ced7e493df3ceb06fe8f9445aeb5a9b +DIST llvm-project-5a0722e0469894564dd9b0ee1d4f8c291d09c776.tar.gz 169164627 BLAKE2B c9a8672cac0faa747baa366545d21f91b50e7611e062eb95042cbccc2dc00b74f44c5c2fcccda49b44975320dfadca5916585766235a406dfbd7321afba03025 SHA512 bad4043fab0e4f9c633bc0aa74df1f1ea886f1d20c1c7a2704bd8317371cf6325e70a770623307d7a455e815cce8c5f00be1ed4ec3f06a7b69038a2784f73243 DIST llvmorg-13.0.1.tar.gz 147290251 BLAKE2B 2a44b012a672501761d0c27c6b3a315b69bfef0cd13b078a7e7d2fccc4a9c8c0f2bee0f164c4271c9106b0a99cb06e8b64986f66253b613336719fb86b82541b SHA512 9a8cb5d11964ba88b7624f19ec861fb28701f23956ea3c92f6ac644332d5f41fde97bd8933dd3ee70ed378058c252fa3a3887c8d1af90d219970c2b27691166f EBUILD clang-python-13.0.1.ebuild 925 BLAKE2B 1dab0cbb672643072e7d824a262c81505d19e555f24f97f82156473affc2f5ba6fc34ec493ffeedbc82feb1245fc6a39126e1b81fcdc8f8b4ddd0b7fe108e4bb SHA512 11eaf5c7a484d756f01986eacce19c912666518892f3213ff42367c126c2d8474abf6608cca24e6250c64e7423464e7cb3e58c2b069c7febf4893b249f2ee304 EBUILD clang-python-14.0.6.ebuild 956 BLAKE2B 491c8335c64484034663fd84ca2397e13afdd8cab6d3b4adfcc9317379e7a3620372ffe5996d4a0029a7d412f11a0d598f741a6893803ebadba85d330e49682a SHA512 4ef0d1ab2cbc3d277d4cced33fa87de7c3d43295a60a3b418ad4a95399e8de8c2e1e5c594681bf7ce1bfc465732d34b2db3a9e8636c0ed124ddf79c8ed7a5750 @@ -13,4 +14,5 @@ EBUILD clang-python-15.0.2.9999.ebuild 1137 BLAKE2B 513e5f0e8ed5118ef7cca0271276 EBUILD clang-python-15.0.2.ebuild 1160 BLAKE2B 22d78219abedc96b7ccf9ebc75ec7c6f7961c28ba74d3bad2036ae7ea4147f2b160ca9bde45724720caa87945e52c8afedac1c119d97d21092e527b7fda2acf9 SHA512 07fcdaafb91fe6b7551d2aca4e859f94ef05c006a0ae00e4c2ca26340858ea808b8c138d376b55d3308dd66bcf56e4c97640fb960b01776ef8e80769f77ee9df EBUILD clang-python-16.0.0.9999.ebuild 1137 BLAKE2B 513e5f0e8ed5118ef7cca0271276d02f912b74234464f8c891d17ecbfc7bd4fbfadd7216b5e62ea5b5b8b857dc781d6dc341f5e84d0b3f10b366125cf8a72dc1 SHA512 5a25a98c9715e6cb4e69f8025e0faf29816c91c1b64dfdb4a8518e252e0e31f15ee2d8568d00a54ba2e7d0937804621984118d3a4e201e92c66377c35f362e05 EBUILD clang-python-16.0.0_pre20220930.ebuild 1137 BLAKE2B 513e5f0e8ed5118ef7cca0271276d02f912b74234464f8c891d17ecbfc7bd4fbfadd7216b5e62ea5b5b8b857dc781d6dc341f5e84d0b3f10b366125cf8a72dc1 SHA512 5a25a98c9715e6cb4e69f8025e0faf29816c91c1b64dfdb4a8518e252e0e31f15ee2d8568d00a54ba2e7d0937804621984118d3a4e201e92c66377c35f362e05 +EBUILD clang-python-16.0.0_pre20221006.ebuild 1137 BLAKE2B 513e5f0e8ed5118ef7cca0271276d02f912b74234464f8c891d17ecbfc7bd4fbfadd7216b5e62ea5b5b8b857dc781d6dc341f5e84d0b3f10b366125cf8a72dc1 SHA512 5a25a98c9715e6cb4e69f8025e0faf29816c91c1b64dfdb4a8518e252e0e31f15ee2d8568d00a54ba2e7d0937804621984118d3a4e201e92c66377c35f362e05 MISC metadata.xml 299 BLAKE2B 2feead2cd1b35b3a43335ddd7711f8181b52bc63ee7166608914260c67528add5251349063afbef4f8cf0ec09b2cd4c3ffdd90f2c14ed60bb69ebc03888f6333 SHA512 cd745c54ab18d25bdaff18582105072574103a36cfe7c175ef740f266d00e9fc6f44c332904d23b911c939cf5bdf52973b388923099d8dd5dfef3c283b5cb685 diff --git a/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild b/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild new file mode 100644 index 000000000000..f0290ca4c7b1 --- /dev/null +++ b/dev-python/clang-python/clang-python-16.0.0_pre20221006.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# The module is opening libclang.so directly, and doing some blasphemy +# on top of it. +DEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} +" +BDEPEND=" + ${PYTHON_DEPS} + test? ( + sys-devel/clang:${PV%%.*} + ) +" + +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +python_test() { + # tests rely on results from a specific clang version, so override + # the search path + local -x CLANG_LIBRARY_PATH=${BROOT}/usr/lib/llvm/${PV%%.*}/$(get_libdir) + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + +src_test() { + python_foreach_impl python_test +} + +src_install() { + python_foreach_impl python_domodule clang +} -- cgit v1.2.3