diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-06 13:10:35 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-06 13:24:58 +0100 |
commit | 94c592547c3432b88b98b3c6401ace18c56ca88d (patch) | |
tree | 84550aee90ce02527a70bb5400bd0c7aa44b8dac /dev-lang | |
parent | dev-cpp/gflags: Switch to cmake.eclass, use https (diff) | |
download | gentoo-94c592547c3432b88b98b3c6401ace18c56ca88d.tar.gz gentoo-94c592547c3432b88b98b3c6401ace18c56ca88d.tar.bz2 gentoo-94c592547c3432b88b98b3c6401ace18c56ca88d.zip |
dev-lang/zig: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/zig/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/zig/zig-0.5.0.ebuild | 61 |
2 files changed, 0 insertions, 62 deletions
diff --git a/dev-lang/zig/Manifest b/dev-lang/zig/Manifest index fb74e7a263db..54f58f160a2c 100644 --- a/dev-lang/zig/Manifest +++ b/dev-lang/zig/Manifest @@ -1,2 +1 @@ -DIST zig-0.5.0.tar.gz 15743912 BLAKE2B 1a28dffebc24200cf51e1d94ff7203c8de5641e1a299eff58e808a5a8f3257fc8ff771699a0f90733702b90e5536990adc5bf41b973b4ea642081ef788f7a83d SHA512 9fc2ef827421e54e8db98ce3474ba3bbe9119b0b9aa30b4edd78d73277d2384067b5c78f4ebbca350a97ac230131e7f71e6d54c1e75fc74e1833ce6c51c402df DIST zig-0.7.1.tar.gz 16082917 BLAKE2B 401bb079f2d0e2ad26837940e3b79c14237a492bd0b4df616f91b8b454ebd4ac3de36b2c988369c9eaaf7c2df4f95d4b1bb97760629f813ac8c7220e9542e12b SHA512 ad0b36f7b40481aca03940adfd42d34a724922993fc29a23a80412dc087ca6ce4876a400dc9bb7da455564521a88ea205c218988759ff6c56251a08232bfa41a diff --git a/dev-lang/zig/zig-0.5.0.ebuild b/dev-lang/zig/zig-0.5.0.ebuild deleted file mode 100644 index 223f162cfd9c..000000000000 --- a/dev-lang/zig/zig-0.5.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2019-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake llvm - -DESCRIPTION="A robust, optimal, and maintainable programming language" -HOMEPAGE="https://ziglang.org/" -LICENSE="MIT" -SLOT="0" -IUSE="+experimental" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/ziglang/zig.git" - inherit git-r3 -else - SRC_URI="https://github.com/ziglang/zig/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" -fi - -ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 NVPTX - PowerPC Sparc SystemZ WebAssembly X86 XCore ) -ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) -# According to zig's author, zig builds that do not support all targets are not -# supported by the upstream project. -LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]} - -RDEPEND=" - sys-devel/llvm:9 - !experimental? ( sys-devel/llvm:9[${LLVM_TARGET_USEDEPS// /,}] ) - sys-devel/clang:9 -" - -DEPEND="${RDEPEND}" - -LLVM_MAX_SLOT=9 - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -src_prepare() { - if use experimental; then - sed -i '/^NEED_TARGET(/d' cmake/Findllvm.cmake || die "unable to modify cmake/Findllvm.cmake" - fi - - sed -i 's/--prefix "${CMAKE_INSTALL_PREFIX}"/--prefix ".\/${CMAKE_INSTALL_PREFIX}"/' CMakeLists.txt || \ - die "unable to fix install path" - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCLANG_INCLUDE_DIRS="$(llvm-config --includedir)" - -DCLANG_LIBDIRS="$(llvm-config --libdir)" - ) - - cmake_src_configure -} |