summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-30 12:31:59 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-30 12:39:44 +0100
commit262ac770c8b88caac089a13b5500f030e3ede036 (patch)
treed967ef469a437cbd7bc8280be7aa3c77ab98a1d4 /dev-python/clang-python
parentdev-util/lldb: Remove 7.0.0 (diff)
downloadgentoo-262ac770c8b88caac089a13b5500f030e3ede036.tar.gz
gentoo-262ac770c8b88caac089a13b5500f030e3ede036.tar.bz2
gentoo-262ac770c8b88caac089a13b5500f030e3ede036.zip
dev-python/clang-python: Remove 7.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/clang-python')
-rw-r--r--dev-python/clang-python/Manifest1
-rw-r--r--dev-python/clang-python/clang-python-7.0.0.ebuild53
-rw-r--r--dev-python/clang-python/files/7.0.0/0001-python-tests-Update-test_code_completion.patch33
3 files changed, 0 insertions, 87 deletions
diff --git a/dev-python/clang-python/Manifest b/dev-python/clang-python/Manifest
index d3274eab8b74..6ce40a69e49a 100644
--- a/dev-python/clang-python/Manifest
+++ b/dev-python/clang-python/Manifest
@@ -1,5 +1,4 @@
DIST cfe-4.0.1.src.tar.xz 10933628 BLAKE2B bc1bb8875e83ccecd446a48cfa41f5c98a09d6ad24ff439a983f629711b4513b9c4bee4070f8df13b6b2a52d673b0706733a4c151ce5021a0233147debff14ac SHA512 936c9e1626b27e63a4fb11f3c0cb998eeaf9a520ad6e2bcd67cb4352e59e7781ecc700df79794f3fd70473d90b7e2ba418a39038eb0146b68e843f0705c1f964
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.1.src.tar.xz 12488668 BLAKE2B b80247b5caf81661dfa715d9bf454b8023221bd27ce49b6bd8cd66f40ffe01448e40fb828fbcc64e49f059af7a7c5a95a0737b0b998454ac5c1dd39388150fa6 SHA512 df2f38153ebdc261bcfa6a569567f759bbb1a803192882a9d4eca55a47878166ac9057151a94ad341dc1281136547e4faa783a68070dfde2307b48cacd4b9194
diff --git a/dev-python/clang-python/clang-python-7.0.0.ebuild b/dev-python/clang-python/clang-python-7.0.0.ebuild
deleted file mode 100644
index 331287bbb424..000000000000
--- a/dev-python/clang-python/clang-python-7.0.0.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# 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://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz"
-
-LICENSE="UoI-NCSA"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~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/files/7.0.0/0001-python-tests-Update-test_code_completion.patch b/dev-python/clang-python/files/7.0.0/0001-python-tests-Update-test_code_completion.patch
deleted file mode 100644
index 824da55ca416..000000000000
--- a/dev-python/clang-python/files/7.0.0/0001-python-tests-Update-test_code_completion.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From c083c4bbe436bb0db520998e035ec384dd87e0ad Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Thu, 2 Aug 2018 10:25:10 +0200
-Subject: [PATCH] [python] [tests] Update test_code_completion
-
-Update expected completions to match output generated by clang-7.0.
----
- bindings/python/tests/cindex/test_code_completion.py | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/bindings/python/tests/cindex/test_code_completion.py b/bindings/python/tests/cindex/test_code_completion.py
-index a56bb304cd..efc7912c91 100644
---- a/tests/cindex/test_code_completion.py
-+++ b/tests/cindex/test_code_completion.py
-@@ -61,11 +61,11 @@ void f(P x, Q y) {
- cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files)
-
- expected = [
-- "{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
-- "{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
-+ "{'const', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
-+ "{'volatile', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
- "{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
-- "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",
-- "{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None"
-+ "{'P', TypedText} || Priority: 50 || Availability: Available || Brief comment: None",
-+ "{'Q', TypedText} || Priority: 50 || Availability: Available || Brief comment: None"
- ]
- self.check_completion_results(cr, expected)
-
---
-2.19.0
-