commit: 738ead9714e426c8046879ac818407e38cfb15b0 Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net> AuthorDate: Wed Jun 28 23:21:04 2023 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Wed Jun 28 23:25:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=738ead97
x11-misc/i3status-rust: install man page unconditionally * .. as per https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0306 * make use of cargo.eclass speed improvements Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net> x11-misc/i3status-rust/Manifest | 1 + x11-misc/i3status-rust/i3status-rust-0.31.7.ebuild | 597 ++++++++++----------- 2 files changed, 296 insertions(+), 302 deletions(-) diff --git a/x11-misc/i3status-rust/Manifest b/x11-misc/i3status-rust/Manifest index a4910bb59..5f3ca0d76 100644 --- a/x11-misc/i3status-rust/Manifest +++ b/x11-misc/i3status-rust/Manifest @@ -97,6 +97,7 @@ DIST httpdate-1.0.2.crate 10673 BLAKE2B fbe2230262cd041e1ea8d6f9782376c25b0e841d DIST humantime-2.1.0.crate 16749 BLAKE2B e2ae8325b037fb175b9200cc5c1944ce579056c6662cce307beb6701894552362a25e371aad65f8fb9384945b48815ca74bb8b544a32e0a5845b7edd30b918c9 SHA512 3bf29ddd1391d82897c22baa0ff3ed58ef6d6959859f1f8ed54d324caba5b6fb4422e56790511ce82f902cd11467f93c8ab7fc7b0e0bdb719308a4d0a446ae0c DIST hyper-0.14.26.crate 195570 BLAKE2B 5a663a038d930c467fdfb2694eedd7f98e3ff994516102d5f6882407d3d6edc6f2195f905d707be1c644d7286f9f17188ae5f0fb02a2ff1a17d2621b0abef36e SHA512 7ffae47f5d4e98283202cf6dbb0ad8ffbcf9f0207c8e8aeece7432bda50f4e4d2b2fd97e85c89a42d23b9f607dae5c223d51f90b41b8b9b060bb84781ec0224b DIST hyper-tls-0.5.0.crate 13257 BLAKE2B 50cbe4ca7c1862fd3fff192de070341dd32bfb9f108b516e1e261ec8da7c4f7972b7b66e3d45c1497733a913b0281bef706994270ec8bd03eba7368612127aa4 SHA512 45dc16cc9ce48706e0b3575dca35ba1b6b3084dda8c2cc489d126e1c4f0bb96a9b2baa860d09f68c5e0a48c2a69e3eaf62f4f0406fffc4efefcd79d26c82896e +DIST i3status-rust-0.31.7-man.1 118796 BLAKE2B aba0b6bc0d8bec69a942b71790b02932f281e8190d402d7dea0cd97c5d696580651f65639f8a0ce15ca829fb7d3f1bbb08a9b84597b02b55baa837df0a8fc4ce SHA512 b02fb2c56888dfe4b9701deb8cc9d48247dc269e0227bedcdd15be60c1c274894b46a7f9846e8843dfab1d8c09b1b3538c0152c73ab4654a94068a36844b4db2 DIST i3status-rust-0.31.7.gh.tar.gz 324724 BLAKE2B cdec3ddb562bd9935c57c3b36d2512623103a2756e199b93b5a2a9ab9f636fe72ede35c79b815f544a5169fbb9b21cbddd08955ad891f6865f8a5612ec33349f SHA512 a5adc2a5cc0912baafc4188e28bbac5565a993c309ed7614762a01f4ccde05f3838ea39ff4deb54dba68d537aef0b36c591516ec6ff7afc3e0d8ef37773f3405 DIST iana-time-zone-0.1.56.crate 19517 BLAKE2B 88a83a65b2e17afff6491953c1ec508168e3cb0d720992c7958aa98ffec263d3b32f4ad07664703b1e429d96faa211a50c557d5a1398a849c45ab9df796f8e4c SHA512 d1bc3ccc17c6d3abc44f8662a15b5c84f5381f90dceb5e14a826595706178ba0f8cbf7cfa86d3b7e967a51ef75a27cb868fda7a3531be9bd6e77e813580131e8 DIST iana-time-zone-haiku-0.1.2.crate 7185 BLAKE2B 37fa14b589ff092377b9271c414d4e584c5a531f13f70ac48df26df3cc03353db635b4630ba192fc65b800cce11823e91b91f03dfad85e4bed55aa18398156cb SHA512 448224ecafa935472ff6f0aab7cb71f9dabdbe71569c4b94fcc65baea925ef48841577687c9a31106a1826c2105e8dd73c748e9d27fd002648e5b0ce838af6b2 diff --git a/x11-misc/i3status-rust/i3status-rust-0.31.7.ebuild b/x11-misc/i3status-rust/i3status-rust-0.31.7.ebuild index d7491ae45..9a9f01708 100644 --- a/x11-misc/i3status-rust/i3status-rust-0.31.7.ebuild +++ b/x11-misc/i3status-rust/i3status-rust-0.31.7.ebuild @@ -6,301 +6,302 @@ EAPI=8 CRATES=" - aho-corasick-1.0.1 - android-tzdata-0.1.1 - android_system_properties-0.1.5 - anstream-0.3.2 - anstyle-1.0.0 - anstyle-parse-0.2.0 - anstyle-query-1.0.0 - anstyle-wincon-1.0.1 - anyhow-1.0.71 - async-broadcast-0.5.1 - async-io-1.13.0 - async-lock-2.7.0 - async-once-cell-0.5.2 - async-pidfd-0.1.4 - async-recursion-1.0.4 - async-trait-0.1.68 - autocfg-1.1.0 - backon-0.4.1 - base64-0.13.1 - base64-0.21.2 - bitflags-1.3.2 - block-buffer-0.10.4 - bumpalo-3.13.0 - byteorder-1.4.3 - bytes-1.4.0 - calibright-0.1.4 - cc-1.0.79 - cfg-if-1.0.0 - charset-0.1.3 - chrono-0.4.26 - chrono-tz-0.8.2 - chrono-tz-build-0.1.0 - clap-4.3.1 - clap_builder-4.3.1 - clap_derive-4.3.1 - clap_lex-0.5.0 - clap_mangen-0.2.12 - colorchoice-1.0.0 - concurrent-queue-2.2.0 - convert_case-0.6.0 - core-foundation-0.9.3 - core-foundation-sys-0.8.4 - cpufeatures-0.2.7 - crossbeam-channel-0.5.8 - crossbeam-utils-0.8.15 - crypto-common-0.1.6 - darling-0.10.2 - darling-0.20.1 - darling_core-0.10.2 - darling_core-0.20.1 - darling_macro-0.10.2 - darling_macro-0.20.1 - data-encoding-2.4.0 - derivative-2.2.0 - digest-0.10.7 - dirs-5.0.1 - dirs-sys-0.4.1 - either-1.8.1 - encoding_rs-0.8.32 - enumflags2-0.7.7 - enumflags2_derive-0.7.7 - env_logger-0.10.0 - errno-0.3.1 - errno-dragonfly-0.1.2 - event-listener-2.5.3 - fastrand-1.9.0 - filetime-0.2.21 - fnv-1.0.7 - foreign-types-0.3.2 - foreign-types-shared-0.1.1 - form_urlencoded-1.1.0 - from_variants-0.6.0 - from_variants_impl-0.6.0 - futures-0.3.28 - futures-channel-0.3.28 - futures-core-0.3.28 - futures-executor-0.3.28 - futures-io-0.3.28 - futures-lite-1.13.0 - futures-sink-0.3.28 - futures-task-0.3.28 - futures-util-0.3.28 - generic-array-0.14.7 - gethostname-0.2.3 - getrandom-0.2.9 - glob-0.3.1 - h2-0.3.19 - hashbrown-0.12.3 - heck-0.4.1 - hermit-abi-0.2.6 - hermit-abi-0.3.1 - hex-0.4.3 - http-0.2.9 - http-body-0.4.5 - httparse-1.8.0 - httpdate-1.0.2 - humantime-2.1.0 - hyper-0.14.26 - hyper-tls-0.5.0 - iana-time-zone-0.1.56 - iana-time-zone-haiku-0.1.2 - ident_case-1.0.1 - idna-0.3.0 - indexmap-1.9.3 - inotify-0.10.0 - inotify-0.9.6 - inotify-sys-0.1.5 - instant-0.1.12 - io-lifetimes-1.0.11 - ipnet-2.7.2 - is-terminal-0.4.7 - itertools-0.8.2 - itoa-1.0.6 - js-sys-0.3.63 - kqueue-1.0.7 - kqueue-sys-1.0.3 - lazy_static-1.4.0 - libc-0.2.144 - libpulse-binding-2.27.1 - libpulse-sys-1.20.1 - libsensors-sys-0.2.0 - linux-raw-sys-0.3.8 - log-0.4.18 - maildir-0.6.4 - mailparse-0.14.0 - memchr-2.5.0 - memoffset-0.7.1 - mime-0.3.17 - minimal-lexical-0.2.1 - mio-0.8.8 - native-tls-0.2.11 - neli-0.6.4 - neli-proc-macros-0.1.3 - neli-wifi-0.5.1 - nix-0.26.2 - nom-7.1.3 - notify-5.2.0 - notmuch-0.8.0 - num-derive-0.3.3 - num-traits-0.2.15 - num_cpus-1.15.0 - once_cell-1.17.2 - openssl-0.10.54 - openssl-macros-0.1.1 - openssl-probe-0.1.5 - openssl-sys-0.9.88 - option-ext-0.2.0 - ordered-stream-0.2.0 - pandoc-0.8.10 - parking-2.1.0 - parse-zoneinfo-0.3.0 - percent-encoding-2.2.0 - phf-0.11.1 - phf_codegen-0.11.1 - phf_generator-0.11.1 - phf_shared-0.11.1 - pin-project-1.1.0 - pin-project-internal-1.1.0 - pin-project-lite-0.2.9 - pin-utils-0.1.0 - pkg-config-0.3.27 - polling-2.8.0 - ppv-lite86-0.2.17 - proc-macro-crate-1.3.1 - proc-macro2-1.0.59 - pure-rust-locales-0.5.6 - quick-xml-0.28.2 - quote-1.0.28 - quoted_printable-0.4.8 - rand-0.8.5 - rand_chacha-0.3.1 - rand_core-0.6.4 - redox_syscall-0.2.16 - redox_syscall-0.3.5 - redox_users-0.4.3 - regex-1.8.3 - regex-syntax-0.7.2 - reqwest-0.11.18 - roff-0.2.1 - rustix-0.37.19 - ryu-1.0.13 - same-file-1.0.6 - schannel-0.1.21 - security-framework-2.9.1 - security-framework-sys-2.9.0 - sensors-0.2.2 - serde-1.0.163 - serde_derive-1.0.163 - serde_json-1.0.96 - serde_repr-0.1.12 - serde_spanned-0.6.2 - serde_urlencoded-0.7.1 - serde_with-3.0.0 - serde_with_macros-3.0.0 - sha1-0.10.5 - shellexpand-3.1.0 - signal-hook-0.3.15 - signal-hook-registry-1.4.1 - signal-hook-tokio-0.3.1 - siphasher-0.3.10 - slab-0.4.8 - smart-default-0.7.1 - socket2-0.4.9 - static_assertions-1.1.0 - strsim-0.10.0 - strsim-0.9.3 - swayipc-async-2.0.1 - swayipc-types-1.3.0 - syn-1.0.109 - syn-2.0.18 - tempfile-3.5.0 - termcolor-1.2.0 - thiserror-1.0.40 - thiserror-impl-1.0.40 - time-0.3.21 - time-core-0.1.1 - time-macros-0.2.9 - tinyvec-1.6.0 - tinyvec_macros-0.1.1 - tokio-1.28.2 - tokio-macros-2.1.0 - tokio-native-tls-0.3.1 - tokio-util-0.7.8 - toml-0.7.4 - toml_datetime-0.6.2 - toml_edit-0.19.10 - tower-service-0.3.2 - tracing-0.1.37 - tracing-attributes-0.1.24 - tracing-core-0.1.31 - try-lock-0.2.4 - typenum-1.16.0 - uds_windows-1.0.2 - unicode-bidi-0.3.13 - unicode-ident-1.0.9 - unicode-normalization-0.1.22 - unicode-segmentation-1.10.1 - url-2.3.1 - utf8parse-0.2.1 - vcpkg-0.2.15 - version_check-0.9.4 - waker-fn-1.1.0 - walkdir-2.3.3 - want-0.3.0 - wasi-0.11.0+wasi-snapshot-preview1 - wasm-bindgen-0.2.86 - wasm-bindgen-backend-0.2.86 - wasm-bindgen-futures-0.4.36 - wasm-bindgen-macro-0.2.86 - wasm-bindgen-macro-support-0.2.86 - wasm-bindgen-shared-0.2.86 - wayrs-client-0.10.4 - wayrs-protocols-0.10.5 - wayrs-scanner-0.10.3 - web-sys-0.3.63 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-util-0.1.5 - winapi-x86_64-pc-windows-gnu-0.4.0 - windows-0.48.0 - windows-sys-0.42.0 - windows-sys-0.45.0 - windows-sys-0.48.0 - windows-targets-0.42.2 - windows-targets-0.48.0 - windows_aarch64_gnullvm-0.42.2 - windows_aarch64_gnullvm-0.48.0 - windows_aarch64_msvc-0.42.2 - windows_aarch64_msvc-0.48.0 - windows_i686_gnu-0.42.2 - windows_i686_gnu-0.48.0 - windows_i686_msvc-0.42.2 - windows_i686_msvc-0.48.0 - windows_x86_64_gnu-0.42.2 - windows_x86_64_gnu-0.48.0 - windows_x86_64_gnullvm-0.42.2 - windows_x86_64_gnullvm-0.48.0 - windows_x86_64_msvc-0.42.2 - windows_x86_64_msvc-0.48.0 - winnow-0.4.6 - winreg-0.10.1 - xdg-home-1.0.0 - zbus-3.12.0 - zbus_macros-3.12.0 - zbus_names-2.5.1 - zvariant-3.13.0 - zvariant_derive-3.13.0 - zvariant_utils-1.0.0 + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected]+wasi-snapshot-preview1 + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] + [email protected] " inherit cargo optfeature DESCRIPTION="A feature-rich and resource-friendly replacement for i3status, written in Rust." HOMEPAGE="https://github.com/greshake/i3status-rust/" -SRC_URI="https://github.com/greshake/i3status-rust/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz - $(cargo_crate_uris)" +SRC_URI="${CARGO_CRATE_URIS} + https://github.com/greshake/i3status-rust/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz + https://git.sr.ht/~antecrescent/gentoo-files/blob/main/x11-misc/i3status-rust/${P}-man.1" LICENSE="GPL-3" # Dependent crate licenses @@ -311,14 +312,13 @@ LICENSE+=" " SLOT="0" KEYWORDS="~amd64" -IUSE="man notmuch pulseaudio" +IUSE="notmuch pulseaudio" DEPEND="dev-libs/openssl:= sys-apps/lm-sensors:= notmuch? ( net-mail/notmuch:= ) pulseaudio? ( media-libs/libpulse )" RDEPEND="${DEPEND}" -BDEPEND="man? ( virtual/pandoc )" QA_FLAGS_IGNORED="usr/bin/i3status-rs" @@ -331,19 +331,12 @@ src_configure() { cargo_src_configure $(usex pulseaudio '' --no-default-features) } -src_compile() { - cargo_src_compile - if use man; then - cargo xtask generate-manpage || die - fi -} - src_install() { cargo_src_install - use man && doman man/i3status-rs.1 - insinto /usr/share/${PN} + newman "${WORKDIR}"/${P}-man.1 i3status-rs.1 + insinto /usr/share/i3status doins -r files/icons files/themes - dodoc NEWS.md + dodoc NEWS.md CONTRIBUTING.md docinto examples dodoc examples/*.toml }
