diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-11-18 09:38:27 +0000 |
commit | 536c3711867ec947c1738f2c4b96f22e4863322d (patch) | |
tree | 697733f5cb713908dcf378e13fd15a798a906a91 /dev-python/clang-python | |
parent | f65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff) |
gentoo resync : 18.11.2018
Diffstat (limited to 'dev-python/clang-python')
-rw-r--r-- | dev-python/clang-python/Manifest | 8 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-7.0.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-7.0.1_rc2.ebuild | 53 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-7.0.9999.ebuild | 8 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-9999.ebuild | 2 |
5 files changed, 61 insertions, 12 deletions
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index cb1a48924247..2af44b9fa915 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -3,10 +3,12 @@ DIST cfe-4.0.1.src.tar.xz 10933628 BLAKE2B bc1bb8875e83ccecd446a48cfa41f5c98a09d DIST cfe-5.0.2.src.tar.xz 11459216 BLAKE2B 80d9b2ab70b00c0dfd5c5386a44e0c15d8252e6175c9da55a0519c4f9b8192e32e215110d7d3808225786e2c7f906f2dfbe11dd09bdf21574e99709ae237ed0b SHA512 9931afceb5569ad6caec85d506180c810f7fea94af8c997143b0a37cbf413fcea0d92520478610627eeee1efb65fde684066ace0dfcbbf7b61ecd709d22dd0b1 DIST cfe-6.0.1.src.tar.xz 11905772 BLAKE2B abb60e9f9827d1d8a24f0aaf8a1d1e32979293cc401258d230f93290e633645747fd0344af189ac7081b06be2cada503364e1e432b37110ade4b3578e40c7605 SHA512 f64ba9290059f6e36fee41c8f32bf483609d31c291fcd2f77d41fecfdf3c8233a5e23b93a1c73fed03683823bd6e72757ed993dd32527de3d5f2b7a64bb031b9 DIST cfe-7.0.0.src.tar.xz 12541904 BLAKE2B 92ecfcb37e7efb4f3dde275e7a087a52f1ddc607bee78fd222f87e6391ab7deb9a4e761c05e405126f46170fdff04aeaf9bd1e886a326c92a064ca81be4e6f21 SHA512 17a658032a0160c57d4dc23cb45a1516a897e0e2ba4ebff29472e471feca04c5b68cff351cdf231b42aab0cff587b84fe11b921d1ca7194a90e6485913d62cb7 +DIST cfe-7.0.1rc2.src.tar.xz 12487728 BLAKE2B bba0f7751106ac0438b5db9cbd0e0c5d2f3fe35255eb49cf4ed6a8efbc7e8be3f8263f0d663a739409232e591ab74e7b0abaf4cc1df0d7605db913eac0a085ba SHA512 2e178f1829edd6a7a0f0919358adfe0a88fc8a83b629bf64411cb33181df43b48bf47057b6c3bba95ab939998f7a8db05717bc1e58f175c8dae5df881c88d48f EBUILD clang-python-4.0.1.ebuild 864 BLAKE2B 40d3452c9f28d5c154a51258a764bc380addf20f8fb71e8f5e3d9a0fb60822d805df009f58f24457b834870a07abe365bcb6d3ed6557713282129992c1ae1d84 SHA512 d2900dfa55a69965e146800f097f8be256d022aca8d85f54db205f75b30cf72015d27c4e8f4981725d50c7a1c2a14c15454f009b2d8a3636103d6d133b0a2324 EBUILD clang-python-5.0.2.ebuild 1079 BLAKE2B deb802fba226c098e138775a71fb5a492625ddb681b920b4ecc0aec30306087136ea5ab2f8d7bc36cc4c8474f44e67bfd637f90cd78ae7e1c85719f1a14be5aa SHA512 bf34b1c9b9b43fcda7d3a350e8d664355056b634b65f7741538d8f1eabe7556a46063df7340706f4fe2e0708b0cb4a34c85ce609149ab4f15d64478964622176 EBUILD clang-python-6.0.1.ebuild 1097 BLAKE2B c1af92b85dbe2d5060fea49d3352c8151058b8f86c478c347842a1e46255f313a4ad0985b13543e34bba2214f0b17fde35a449779cccf41367a2b1776b6ed130 SHA512 d88877fc98ee9c631d7139e734a87d0a3f998963951602d5e1717b6158b2caaf79fcac4fa699a35131aa58885c3d01a8eb9106183118fc9a4783164e3be1be49 -EBUILD clang-python-7.0.0.ebuild 1278 BLAKE2B 0a2585c72ea4677a34886063d389fe11b89c27ca458e7b0814e5f181bb716e1385057e7a4a2b01ff337d98d421c64a04f5aaef805c80f1d0e7f36aa3ff29868c SHA512 7c6158ff08a0f46e3b5bf3aa968be8336c28040e51d1f4d88d68ff05bf8941088f5154595b2e889b668f7060643cd2b98d4e25169ed909e59a9e40007985f5a4 -EBUILD clang-python-7.0.9999.ebuild 1236 BLAKE2B 7ef1a49beda02ec169fb0d85606a91cc422485b06b52f4b63599b9b55303749ace19a5b25e1b95e4afc3f15d44c02b211a805077d20cca102cd76ebfad4858ea SHA512 091742af56e14d2ddb284a1d3fdc126c66fa2f309121be5927bd266e185f840ad19e2e07ca077a10c981e1ca3e342f33d9751386e410ae2951e2c8bdad5b7a5a -EBUILD clang-python-9999.ebuild 1030 BLAKE2B 4152729630f6822b4a22e1ec754bf99833951c49e94eb55583ea8d3b2dedd957b435dfc3e24bd8adbd9f12a02161fcd5a16962165f9ec592469a4716820332af SHA512 5889e98300f26a540c93017e72b76232b2c9c871be3bb39c248d30a88316d44114fd1d7545acc0963ccdb4d15dc55f70fa8f30825cccfba69b33ef90e3d73401 +EBUILD clang-python-7.0.0.ebuild 1282 BLAKE2B 1388b1521c6e8d965ea35450e8da412ba51dbca8b8a2f49a52abc748bfe124c88dce8608fcc0d82c1837b6cc648c267705242e207d2ef2d7cb5247d1ecda77cf SHA512 fafa8b51a6b8d953c3abdc589f0e03c0455df1a69222312b012076817738b96db4bdf6311b4fa52c9ef0874257c27547da80e5d7c40541ea87241e266ceb3bb5 +EBUILD clang-python-7.0.1_rc2.ebuild 1285 BLAKE2B 85ea303b42fe5dbee5b4494df3277d32e5ae72038e2417b98f4551fa57abf5c03b42f6a8812e43d1ff24cd97c3b4827a1b3785062c4184801f5a8caa86d2442e SHA512 30510dd9c747fe7ae416d3a9929c05d7e09c38a4504aec92d6b2327e4765db900a451aba2df45c9e8852adaa3d6d0555cd6737ef4c6ade95acc23ed402ecbbea +EBUILD clang-python-7.0.9999.ebuild 1059 BLAKE2B 1ab0d9234fbebea281bf2235f870e6cd468063f2ec5c20f7af3b797e6135aa6730ccea8cbde5ae5993394da1563897f5b45adba1d644257f6bc300b6da5500f9 SHA512 23882089855c9485ccf23129542f3b6a5e891776cf422c9b16a0e534e4084f59d5bfe4526d2510cc094ce8cab311ec141dc76ee45cbee7d43665aaef58c9fec2 +EBUILD clang-python-9999.ebuild 1034 BLAKE2B 3a56c0e391daf98889ba3959f8aa5c944c9930ac482c8beca5f814978507f9869a213384224c6965ade96a3f0b17f83aff9924f07d5ad2d03ed7df8660a54df6 SHA512 bff0eee11762f352ab6616086b19506a2ea0530284f50da24538eb8078d2c04af1d1aa2a8616adecb6bdeab8853728b2f4b5c3133fa15810f00a64855182c486 MISC metadata.xml 216 BLAKE2B fe5e49887842aa513fbf1f2e09bed09a884d531fd21bdaeb2d389e8bf590b6c0e7063f0af98f66e2db129308ab0f0804ba327c3c752bbb4c900c59ac109d99aa SHA512 3485598147c953e72e1785693a489a7e7d73d59620b76054db9c0ce95d8bfa0e8ffec29da7f7a9d73a32e5b77eac07ca3306c56a972dc57fd89d477edaebf3d5 diff --git a/dev-python/clang-python/clang-python-7.0.0.ebuild b/dev-python/clang-python/clang-python-7.0.0.ebuild index cb4c02ae7491..72bb446b4911 100644 --- a/dev-python/clang-python/clang-python-7.0.0.ebuild +++ b/dev-python/clang-python/clang-python-7.0.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) inherit python-r1 MY_P=cfe-${PV/_/}.src diff --git a/dev-python/clang-python/clang-python-7.0.1_rc2.ebuild b/dev-python/clang-python/clang-python-7.0.1_rc2.ebuild new file mode 100644 index 000000000000..02fc25d374b6 --- /dev/null +++ b/dev-python/clang-python/clang-python-7.0.1_rc2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) +inherit python-r1 + +MY_P=cfe-${PV/_/}.src +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" +SRC_URI="https://prereleases.llvm.org/${PV/_//}/${MY_P}.tar.xz" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-fbsd" +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. +RDEPEND=" + >=sys-devel/clang-${PV}:* + !sys-devel/llvm:0[clang(-),python(-)] + !sys-devel/clang:0[python(-)] + ${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P}/bindings/python + +PATCHES=( + # update completion test results due to completion changes + # https://reviews.llvm.org/D50171 + "${FILESDIR}"/7.0.0/0001-python-tests-Update-test_code_completion.patch +) + +src_unpack() { + einfo "Unpacking parts of ${MY_P}.tar.xz ..." + tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/bindings/python" || die +} + +python_test() { + "${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 +} diff --git a/dev-python/clang-python/clang-python-7.0.9999.ebuild b/dev-python/clang-python/clang-python-7.0.9999.ebuild index ff42c58b9e72..f9c2cc23c665 100644 --- a/dev-python/clang-python/clang-python-7.0.9999.ebuild +++ b/dev-python/clang-python/clang-python-7.0.9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) inherit git-r3 python-r1 DESCRIPTION="Python bindings for sys-devel/clang" @@ -31,12 +31,6 @@ DEPEND="${RDEPEND}" S=${WORKDIR}/${P}/bindings/python -PATCHES=( - # update completion test results due to completion changes - # https://reviews.llvm.org/D50171 - "${FILESDIR}"/7.0.0/0001-python-tests-Update-test_code_completion.patch -) - src_unpack() { git-r3_fetch git-r3_checkout '' '' '' bindings/python diff --git a/dev-python/clang-python/clang-python-9999.ebuild b/dev-python/clang-python/clang-python-9999.ebuild index cf488945799b..de5bd6158d7a 100644 --- a/dev-python/clang-python/clang-python-9999.ebuild +++ b/dev-python/clang-python/clang-python-9999.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) inherit git-r3 python-r1 DESCRIPTION="Python bindings for sys-devel/clang" |