From: jbenden <jbenden@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: iwyu-9.0.1_1
Date: Sat, 02 May 2020 21:14:51 +0200 [thread overview]
Message-ID: <20200502191451.BMW1j-NDxtxbsnu0eXjt2r9I1-tPHAVtV5C7GJfHT7Y@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21562@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 541 bytes --]
There is an updated pull request by jbenden against master on the void-packages repository
https://github.com/jbenden/void-packages include-what-you-use
https://github.com/void-linux/void-packages/pull/21562
New package: iwyu-9.0.1_1
This is the developer tool `include-what-you-use` version 9.0.1 (paired against the packaged Clang/LLVM).
I have been locally using the package, without problems.
Signed-off-by: Joseph Benden <joe@benden.us>
A patch file from https://github.com/void-linux/void-packages/pull/21562.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-include-what-you-use-21562.patch --]
[-- Type: text/x-diff, Size: 1756 bytes --]
From afb432324a7420236f8bc506a1aabd0c8a9249d8 Mon Sep 17 00:00:00 2001
From: Joseph Benden <joe@benden.us>
Date: Sat, 2 May 2020 11:58:59 -0700
Subject: [PATCH] New package: iwyu-9.0.1_1
Signed-off-by: Joseph Benden <joe@benden.us>
---
srcpkgs/iwyu/template | 33 +++++++++++++++++++++++++++++++++
srcpkgs/iwyu/update | 2 ++
2 files changed, 35 insertions(+)
create mode 100644 srcpkgs/iwyu/template
create mode 100644 srcpkgs/iwyu/update
diff --git a/srcpkgs/iwyu/template b/srcpkgs/iwyu/template
new file mode 100644
index 00000000000..e2cddbb58d5
--- /dev/null
+++ b/srcpkgs/iwyu/template
@@ -0,0 +1,33 @@
+# Template file for 'iwyu'
+pkgname=iwyu
+version=9.0.1
+revision=1
+__version=( ${version//./ } )
+_major=${__version[0]}
+_minor=${__version[1]}
+build_style=cmake
+configure_args="
+ -DCMAKE_BUILD_TYPE=Release
+ -DCMAKE_PREFIX_PATH=/usr/lib/clang/${version}"
+hostmakedepends="git python3"
+makedepends="clang clang-tools-extra llvm9 python3-devel"
+depends="libllvm9>=${version} libllvm9<10.0.0"
+short_desc="Automatically determine headers used in your project"
+maintainer="Joseph Benden <joe@benden.us>"
+license="NCSA"
+homepage="https://include-what-you-use.org/"
+# necessary to override auto default
+python_version=3
+
+do_fetch() {
+ git clone --branch=clang_${_major}.${_minor} \
+ https://github.com/include-what-you-use/include-what-you-use.git \
+ $pkgname-$version
+}
+
+do_install() {
+ vlicense LICENSE.TXT
+
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=${DESTDIR}/usr -P cmake_install.cmake
+}
diff --git a/srcpkgs/iwyu/update b/srcpkgs/iwyu/update
new file mode 100644
index 00000000000..3d09eaff373
--- /dev/null
+++ b/srcpkgs/iwyu/update
@@ -0,0 +1,2 @@
+site=https://releases.llvm.org/
+pattern="'\K[\d\.]*(?=')"
next prev parent reply other threads:[~2020-05-02 19:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-02 19:03 [PR PATCH] " jbenden
2020-05-02 19:14 ` jbenden [this message]
2020-05-02 19:42 ` Chocimier
2020-05-02 19:50 ` jbenden
2020-05-02 19:50 ` [PR PATCH] [Closed]: " jbenden
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200502191451.BMW1j-NDxtxbsnu0eXjt2r9I1-tPHAVtV5C7GJfHT7Y@z \
--to=jbenden@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).