From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/thin-provisioning-tools/
Date: Sun, 23 Feb 2025 19:10:00 +0000 (UTC) [thread overview]
Message-ID: <1740337797.910b33c8f17fa6add5601d02fb4ad98f303376b8.robbat2@gentoo> (raw)
commit: 910b33c8f17fa6add5601d02fb4ad98f303376b8
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 23 19:09:44 2025 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Feb 23 19:09:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910b33c8
sys-block/thin-provisioning-tools: support LLVM 19
Closes: https://bugs.gentoo.org/948405
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
.../thin-provisioning-tools-1.1.0-r3.ebuild | 238 +++++++++++++++++++++
1 file changed, 238 insertions(+)
diff --git a/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r3.ebuild b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r3.ebuild
new file mode 100644
index 000000000000..2b3147f389f1
--- /dev/null
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-1.1.0-r3.ebuild
@@ -0,0 +1,238 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CRATES="
+ adler@1.0.2
+ aho-corasick@1.1.3
+ anstream@0.6.15
+ anstyle-parse@0.2.5
+ anstyle-query@1.1.1
+ anstyle-wincon@3.0.4
+ anstyle@1.0.8
+ anyhow@1.0.86
+ atty@0.2.14
+ autocfg@1.3.0
+ base64@0.22.1
+ bindgen@0.69.4
+ bitflags@1.3.2
+ bitflags@2.6.0
+ bytemuck@1.16.3
+ byteorder@1.5.0
+ cassowary@0.3.0
+ cexpr@0.6.0
+ cfg-if@1.0.0
+ cfg_aliases@0.2.1
+ clang-sys@1.8.1
+ clap@4.5.13
+ clap_builder@4.5.13
+ clap_lex@0.7.2
+ colorchoice@1.0.2
+ console@0.15.8
+ crc32c@0.6.8
+ crc32fast@1.4.2
+ data-encoding@2.6.0
+ devicemapper-sys@0.3.0
+ devicemapper@0.34.3
+ downcast@0.11.0
+ duct@0.13.7
+ either@1.13.0
+ encode_unicode@0.3.6
+ env_filter@0.1.2
+ env_logger@0.11.5
+ env_logger@0.8.4
+ errno@0.3.9
+ exitcode@1.1.2
+ fastrand@2.1.0
+ fixedbitset@0.4.2
+ flate2@1.0.31
+ fragile@2.0.0
+ getrandom@0.2.15
+ glob@0.3.1
+ hermit-abi@0.1.19
+ hermit-abi@0.3.9
+ humantime@2.1.0
+ indicatif@0.17.8
+ instant@0.1.13
+ iovec@0.1.4
+ is_terminal_polyfill@1.70.1
+ itertools@0.12.1
+ lazy_static@1.5.0
+ lazycell@1.3.0
+ libc@0.2.155
+ libloading@0.8.5
+ libudev-sys@0.1.4
+ linux-raw-sys@0.4.14
+ log@0.4.22
+ memchr@2.7.4
+ minimal-lexical@0.2.1
+ miniz_oxide@0.7.4
+ mockall@0.13.0
+ mockall_derive@0.13.0
+ nix@0.29.0
+ nom@7.1.3
+ num-derive@0.4.2
+ num-traits@0.2.19
+ num_cpus@1.16.0
+ number_prefix@0.4.0
+ numtoa@0.1.0
+ once_cell@1.19.0
+ os_pipe@1.2.1
+ pkg-config@0.3.30
+ portable-atomic@1.7.0
+ ppv-lite86@0.2.20
+ predicates-core@1.0.8
+ predicates-tree@1.0.11
+ predicates@3.1.2
+ proc-macro2@1.0.86
+ quick-xml@0.36.1
+ quickcheck@1.0.3
+ quickcheck_macros@1.0.0
+ quote@1.0.36
+ rand@0.8.5
+ rand_chacha@0.3.1
+ rand_core@0.6.4
+ rangemap@1.5.1
+ redox_syscall@0.2.16
+ redox_termios@0.1.3
+ regex-automata@0.4.7
+ regex-syntax@0.8.4
+ regex@1.10.6
+ retry@2.0.0
+ roaring@0.10.6
+ rustc-hash@1.1.0
+ rustc_version@0.4.0
+ rustix@0.38.34
+ safemem@0.3.3
+ semver@1.0.23
+ serde@1.0.204
+ serde_derive@1.0.204
+ shared_child@1.0.1
+ shlex@1.3.0
+ strsim@0.11.1
+ syn@1.0.109
+ syn@2.0.72
+ tempfile@3.11.0
+ termion@1.5.6
+ termtree@0.4.1
+ thiserror-impl@1.0.63
+ thiserror@1.0.63
+ threadpool@1.8.1
+ tui@0.19.0
+ udev@0.7.0
+ unicode-ident@1.0.12
+ unicode-segmentation@1.11.0
+ unicode-width@0.1.13
+ utf8parse@0.2.2
+ wasi@0.11.0+wasi-snapshot-preview1
+ winapi-i686-pc-windows-gnu@0.4.0
+ winapi-x86_64-pc-windows-gnu@0.4.0
+ winapi@0.3.9
+ windows-sys@0.52.0
+ windows-sys@0.59.0
+ windows-targets@0.52.6
+ windows_aarch64_gnullvm@0.52.6
+ windows_aarch64_msvc@0.52.6
+ windows_i686_gnu@0.52.6
+ windows_i686_gnullvm@0.52.6
+ windows_i686_msvc@0.52.6
+ windows_x86_64_gnu@0.52.6
+ windows_x86_64_gnullvm@0.52.6
+ windows_x86_64_msvc@0.52.6
+ zerocopy-derive@0.7.35
+ zerocopy@0.7.35
+"
+
+declare -A GIT_CRATES=(
+ [rio]='https://github.com/jthornber/rio;2979a720f671e836302c01546f9cc9f7988610c8;rio-%commit%'
+)
+
+LLVM_COMPAT=( {17..19} )
+
+inherit cargo llvm-r1
+
+DESCRIPTION="A suite of tools for thin provisioning on Linux"
+HOMEPAGE="https://github.com/jthornber/thin-provisioning-tools"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://github.com/jthornber/thin-provisioning-tools.git"
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/jthornber/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ ${CARGO_CRATE_URIS}
+ "
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-3"
+# Dependent crate licenses
+LICENSE+=" Apache-2.0 BSD GPL-3 ISC MIT MPL-2.0 Unicode-DFS-2016"
+SLOT="0"
+IUSE="io-uring"
+
+RDEPEND="virtual/libudev:="
+# libdevmapper.h needed for devicemapper-sys crate
+DEPEND="
+ ${RDEPEND}
+ sys-fs/lvm2
+"
+# Needed for bindgen
+BDEPEND="
+ $(llvm_gen_dep '
+ llvm-core/clang:${LLVM_SLOT}
+ ')
+ virtual/pkgconfig
+"
+
+DOCS=(
+ CHANGES
+ COPYING
+ README.md
+ doc/TODO.md
+ doc/thinp-version-2/notes.md
+)
+
+# Rust
+QA_FLAGS_IGNORED="usr/sbin/pdata_tools"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.0.6-build-with-cargo.patch"
+)
+
+pkg_setup() {
+ llvm-r1_pkg_setup
+ rust_pkg_setup
+}
+
+src_unpack() {
+ if [[ ${PV} == 9999 ]] ; then
+ git-r3_src_unpack
+ cargo_live_src_unpack
+ else
+ cargo_src_unpack
+ fi
+}
+
+src_prepare() {
+ default
+
+ cd "${WORKDIR}"/rio* || die
+ eapply "${FILESDIR}/${PN}-1.1.0-rio-nightly.patch"
+}
+
+src_configure() {
+ local myfeatures=( $(usev io-uring io_uring) )
+ cargo_src_configure
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ DATADIR="${ED}/usr/share" \
+ PDATA_TOOLS="$(cargo_target_dir)/pdata_tools" \
+ install
+
+ einstalldocs
+}
next reply other threads:[~2025-02-23 19:10 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-23 19:10 Robin H. Johnson [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-05 11:34 [gentoo-commits] repo/gentoo:master commit in: sys-block/thin-provisioning-tools/ Arthur Zamarin
2025-04-05 11:14 Arthur Zamarin
2024-11-24 11:02 Sam James
2024-11-15 21:09 Sam James
2024-11-15 10:50 Arthur Zamarin
2024-11-15 10:50 Arthur Zamarin
2024-11-15 9:25 Arthur Zamarin
2024-11-15 9:23 Arthur Zamarin
2024-11-13 17:46 Ben Kohler
2024-11-13 2:23 Sam James
2024-11-11 20:19 Sam James
2024-11-11 19:06 Sam James
2024-11-11 19:06 Sam James
2024-11-11 17:08 Sam James
2024-10-17 4:33 Sam James
2024-10-16 7:55 Sam James
2024-10-16 7:55 Sam James
2024-10-16 7:41 Sam James
2024-07-15 2:37 Sam James
2024-07-15 2:37 Sam James
2024-07-15 2:37 Sam James
2024-07-15 2:37 Sam James
2024-07-15 2:37 Sam James
2024-07-15 2:37 Sam James
2024-07-15 2:23 Sam James
2024-07-15 2:23 Sam James
2024-06-17 9:39 James Le Cuirot
2024-03-11 16:17 Viorel Munteanu
2024-02-29 4:34 Sam James
2024-02-29 4:34 Sam James
2024-02-18 13:17 Sam James
2024-01-18 1:47 Sam James
2024-01-14 3:40 Sam James
2023-12-16 2:45 Sam James
2023-12-08 20:54 Arthur Zamarin
2023-12-02 11:13 Arthur Zamarin
2023-11-25 16:57 Arthur Zamarin
2023-10-23 14:05 Arthur Zamarin
2023-10-22 12:22 Sam James
2023-09-06 18:57 WANG Xuerui
2023-09-06 18:57 WANG Xuerui
2023-09-06 9:19 Sam James
2023-09-06 8:39 Sam James
2023-09-06 8:39 Sam James
2023-09-06 8:39 Sam James
2023-09-06 8:39 Sam James
2023-09-06 8:39 Sam James
2023-09-06 8:39 Sam James
2023-09-06 8:39 Sam James
2023-03-31 21:16 Robin H. Johnson
2022-05-08 16:12 WANG Xuerui
2022-04-17 17:06 Sam James
2022-01-15 23:31 James Le Cuirot
2021-12-31 19:24 Arthur Zamarin
2021-12-24 21:10 Sam James
2021-12-24 19:42 Mike Gilbert
2021-11-16 4:43 Sam James
2021-11-16 4:42 Sam James
2021-07-09 6:55 Hans de Graaff
2021-06-10 9:41 Guilherme Amadio
2021-05-14 9:36 Agostino Sarubbo
2021-05-14 9:35 Agostino Sarubbo
2021-05-13 16:18 Sam James
2021-02-02 16:46 Lars Wendler
2021-02-01 18:36 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-08-12 21:46 Lars Wendler
2020-04-08 20:40 Göktürk Yüksek
2019-09-01 7:46 Mikle Kolyada
2019-06-07 8:01 Agostino Sarubbo
2019-06-05 14:14 Lars Wendler
2019-06-03 12:38 Lars Wendler
2019-06-03 12:38 Lars Wendler
2019-05-28 2:08 Lars Wendler
2019-05-28 2:08 Lars Wendler
2019-05-28 2:08 Lars Wendler
2019-05-08 13:04 Lars Wendler
2019-04-21 10:16 Lars Wendler
2019-04-21 10:16 Lars Wendler
2019-01-16 21:07 Mart Raudsepp
2018-08-26 20:35 Michał Górny
2018-05-03 12:52 Lars Wendler
2018-04-26 15:14 Mike Gilbert
2018-04-24 8:15 Mikle Kolyada
2018-01-13 19:29 Sergei Trofimovich
2017-12-09 9:59 Michael Palimaka
2017-11-29 20:28 Sergei Trofimovich
2017-11-23 20:48 Thomas Deutschmann
2017-10-29 17:38 Sergei Trofimovich
2017-10-20 11:07 Lars Wendler
2017-10-20 11:07 Lars Wendler
2017-10-04 16:06 Lars Wendler
2017-10-03 0:15 Thomas Deutschmann
2017-10-02 23:45 Thomas Deutschmann
2017-10-02 14:00 Manuel Rüger
2017-09-26 17:03 Robin H. Johnson
2017-09-15 15:38 Tobias Klausmann
2017-09-15 7:50 Sergei Trofimovich
2017-09-12 22:01 Robin H. Johnson
2017-08-14 13:36 Lars Wendler
2016-05-09 4:05 Mike Frysinger
2016-05-09 3:26 Mike Frysinger
2016-05-09 3:04 Mike Frysinger
2016-05-09 2:55 Mike Frysinger
2015-09-22 4:29 Jeroen Roovers
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=1740337797.910b33c8f17fa6add5601d02fb4ad98f303376b8.robbat2@gentoo \
--to=robbat2@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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