* [PR PATCH] New package: iwyu-9.0.1_1
@ 2020-05-02 19:03 jbenden
2020-05-02 19:14 ` [PR PATCH] [Updated] " jbenden
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: jbenden @ 2020-05-02 19:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 536 bytes --]
There is a new 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: 1780 bytes --]
From a4d6f6c8da59d1437dc1e418ab27d4e61a4cb498 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..5c0b66d30ef
--- /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\.]*(?=')"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] New package: iwyu-9.0.1_1
2020-05-02 19:03 [PR PATCH] New package: iwyu-9.0.1_1 jbenden
@ 2020-05-02 19:14 ` jbenden
2020-05-02 19:42 ` Chocimier
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: jbenden @ 2020-05-02 19:14 UTC (permalink / raw)
To: ml
[-- 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\.]*(?=')"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: iwyu-9.0.1_1
2020-05-02 19:03 [PR PATCH] New package: iwyu-9.0.1_1 jbenden
2020-05-02 19:14 ` [PR PATCH] [Updated] " jbenden
@ 2020-05-02 19:42 ` Chocimier
2020-05-02 19:50 ` jbenden
2020-05-02 19:50 ` [PR PATCH] [Closed]: " jbenden
3 siblings, 0 replies; 5+ messages in thread
From: Chocimier @ 2020-05-02 19:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/21562#issuecomment-623003982
Comment:
There is `include-what-you-use` in repo.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New package: iwyu-9.0.1_1
2020-05-02 19:03 [PR PATCH] New package: iwyu-9.0.1_1 jbenden
2020-05-02 19:14 ` [PR PATCH] [Updated] " jbenden
2020-05-02 19:42 ` Chocimier
@ 2020-05-02 19:50 ` jbenden
2020-05-02 19:50 ` [PR PATCH] [Closed]: " jbenden
3 siblings, 0 replies; 5+ messages in thread
From: jbenden @ 2020-05-02 19:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
New comment by jbenden on void-packages repository
https://github.com/void-linux/void-packages/pull/21562#issuecomment-623004866
Comment:
Sorry, for some reason I did not find it when I originally created this package... I just now got around to submitting it....
Oops!
-Joe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Closed]: New package: iwyu-9.0.1_1
2020-05-02 19:03 [PR PATCH] New package: iwyu-9.0.1_1 jbenden
` (2 preceding siblings ...)
2020-05-02 19:50 ` jbenden
@ 2020-05-02 19:50 ` jbenden
3 siblings, 0 replies; 5+ messages in thread
From: jbenden @ 2020-05-02 19:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 372 bytes --]
There's a closed pull request on the void-packages repository
New package: iwyu-9.0.1_1
https://github.com/void-linux/void-packages/pull/21562
Description:
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-02 19:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-02 19:03 [PR PATCH] New package: iwyu-9.0.1_1 jbenden
2020-05-02 19:14 ` [PR PATCH] [Updated] " jbenden
2020-05-02 19:42 ` Chocimier
2020-05-02 19:50 ` jbenden
2020-05-02 19:50 ` [PR PATCH] [Closed]: " jbenden
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).