diff options
Diffstat (limited to 'dev-python/clang-python')
-rw-r--r-- | dev-python/clang-python/Manifest | 2 | ||||
-rw-r--r-- | dev-python/clang-python/clang-python-10.0.0_rc1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest index dac05d8c28ad..7b6fd3884d85 100644 --- a/dev-python/clang-python/Manifest +++ b/dev-python/clang-python/Manifest @@ -1,7 +1,9 @@ DIST cfe-7.1.0.src.tar.xz 12487872 BLAKE2B ca6ec9e45b94823de1dabf9e68f0c97cdd40b5d2a5e5e15d4b2393f6d7fbdee72a541b957cc22ce4cb726d8ee7190228320941d5713aeb59695673b9e9070ceb SHA512 1cd0b80f32aa4de1118c0c676ba96b1fc78b7ff929b01b6589dfe9b4669e599ac8cfb8f5a0abcd3487594193a7dec06b29530ec3fc03042c20a160f0477a79fd DIST cfe-8.0.1.src.tar.xz 12810056 BLAKE2B 88cee0b6daa477ca0473c76efc45beb634f6194ecd3f45aaec3791e26b203c5dbd33c649435e0d97924096a72c727d76915bffc0b7ea305f24d5e5f06389c4a0 SHA512 1227b2d32052c70b4b494659849000188fce46fc31a71f3352ba8457ac0b0b17e4bc7c8589874c8586d55aa808ee6c1fceb7df501aafa33599f8df7bfd2b791d +DIST llvmorg-10.0.0-rc1.tar.gz 120755822 BLAKE2B a729d37d96ba498cb865c6f708734dccb796b2caabb69167b9aa3b0e12c788f2a5980a048b99d5603da3d26af909fb31f406b4f4743cabae56c45f829a7bf695 SHA512 27137fc700971147c00ded6787eaae9f0bcf98c938fe227a5a559b38d983736f3d086f4ff6772d802c5f48a7d97a97c293261e4af88fcb5a720693b9cb5a4f02 DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59 EBUILD clang-python-10.0.0.9999.ebuild 901 BLAKE2B 1f79a09947039b9a8c1f73545d4007232487260d9b3098a34f25511649bcd1aeb51750942762cbbae87fff96b4830d964cd0d7579d5e9a69363aae883a261da3 SHA512 f346e41814484d59e37c12b2c9aa656faddb05f4599e2ba3cb60543eac666d6b265e6a1abf676294a249cce2a85133e577230264c4b4d6b4851c1e92efca5f22 +EBUILD clang-python-10.0.0_rc1.ebuild 901 BLAKE2B 1f79a09947039b9a8c1f73545d4007232487260d9b3098a34f25511649bcd1aeb51750942762cbbae87fff96b4830d964cd0d7579d5e9a69363aae883a261da3 SHA512 f346e41814484d59e37c12b2c9aa656faddb05f4599e2ba3cb60543eac666d6b265e6a1abf676294a249cce2a85133e577230264c4b4d6b4851c1e92efca5f22 EBUILD clang-python-11.0.0.9999.ebuild 901 BLAKE2B 1f79a09947039b9a8c1f73545d4007232487260d9b3098a34f25511649bcd1aeb51750942762cbbae87fff96b4830d964cd0d7579d5e9a69363aae883a261da3 SHA512 f346e41814484d59e37c12b2c9aa656faddb05f4599e2ba3cb60543eac666d6b265e6a1abf676294a249cce2a85133e577230264c4b4d6b4851c1e92efca5f22 EBUILD clang-python-7.1.0.ebuild 1077 BLAKE2B c7da5b347a56f6bde3052e3c06ec398741e545e7b3e672282eb531e7acaff55153d648412bd9310134d037fadada36115e37ca10a66c853ea54d8429d102f8b8 SHA512 f5c9100f4e5c11052ba332ffeca078f16b7a1b5b4776e2bcb07e302502816dc8e4931d58931cb167dfc5ae04fc4ff67c35cd428f8db74f4c9ca0b131fa7929e5 EBUILD clang-python-8.0.1.ebuild 1110 BLAKE2B aa66d47aef5cad5d7819dc064d618a70e1b38fe6b6cf7c8ea15ac3a6b814770e95abd86a482f5fc874f4bdaf230c3330c0fdb39df1afd88e2c40ae9a6349b49b SHA512 a5b3aace7ab68a0bf9e8624e2b1b23f83dc79a299090479ddde3794f2ff7e344459e8c7167b256748a57ce73099272c2eeb8d8778901c710ccbb08d2c6c12a35 diff --git a/dev-python/clang-python/clang-python-10.0.0_rc1.ebuild b/dev-python/clang-python/clang-python-10.0.0_rc1.ebuild new file mode 100644 index 000000000000..dede9129a35c --- /dev/null +++ b/dev-python/clang-python/clang-python-10.0.0_rc1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit llvm.org python-r1 + +DESCRIPTION="Python bindings for sys-devel/clang" +HOMEPAGE="https://llvm.org/" +LLVM_COMPONENTS=( clang/bindings/python ) +llvm.org_set_globals + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0" +KEYWORDS="" +IUSE="test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +# 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}" + +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 +} |