commit:     c61987c2c76d6105822eaddc1c3b119e6b286ed3
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Wed Jul 23 01:20:34 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 23 21:43:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c61987c2

app-misc/watchexec: add 2.3.2, 9999

Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>

 app-misc/watchexec/Manifest               |  2 +
 app-misc/watchexec/watchexec-2.3.2.ebuild | 68 +++++++++++++++++++++++++++++++
 app-misc/watchexec/watchexec-9999.ebuild  | 68 +++++++++++++++++++++++++++++++
 3 files changed, 138 insertions(+)

diff --git a/app-misc/watchexec/Manifest b/app-misc/watchexec/Manifest
index 9a572c23b5..ee371c8dde 100644
--- a/app-misc/watchexec/Manifest
+++ b/app-misc/watchexec/Manifest
@@ -4,3 +4,5 @@ DIST watchexec-2.2.1-deps.tar.xz 40785992 BLAKE2B 
6e805847bc97320e37a1fd5f975742
 DIST watchexec-2.2.1.tar.gz 361762 BLAKE2B 
b19876101e6ca452cc20c7164b8fc8160be21153ed5c602b1bc4c4a8f994f93acb09e981bd9635df0c9dd0fd1f0dca41e10bf4227ec0ddd820b6517004507ae7
 SHA512 
53efb25fbfed169f76fb85ba2c5bf6f98a39f841f34bbd40f2dba5f19b6a46ac08f6fb9aabb14243065113cbb812910e8955106841badd472647447b889bc304
 DIST watchexec-2.3.0-deps.tar.xz 52466184 BLAKE2B 
88a2c897baa38bb007257faff1de2509d817007643d072697eef98dd8edb49791385a6824ce59cf6ee78934d6f2c69737e4cf4fa3eac65763aae922c98ab087f
 SHA512 
2308b4dbcc74da9a75ed8c09fca0917a40451af0cce019ed89f43b5aa560c70963e382e89da49df6d445b14a88a7414bcead62070f00c0feb0d08148aceb0c09
 DIST watchexec-2.3.0.tar.gz 380626 BLAKE2B 
57074401d9edcffbbffe8ab42fcb46ea06566b4f2649d9604baaa99b2e6d1f44a71957ebedc6830374bfa064c7dfa67a092a626aeaf6a524d99d5aef8f841793
 SHA512 
9622064b17080e59aeb6488ac3220bf416d0026cff00d014d8090dbbec32bace3334f73da9349662d068c6de2d8b95de3e146eef9f0dc876f845f57282867db7
+DIST watchexec-2.3.2-deps.tar.xz 43121224 BLAKE2B 
83f599435c6878a8a579a9233fac6ce75b1af7e4ad330c7cf895c268efa35b27c47d3a99b04b97cef20808133cdad9d32eb2f84ce884ef56a35cb7d2dc54b21e
 SHA512 
79473f002c9a4b682d2f2b2f24f2f8e90a7597301e2f6da8e8dd05fefe77a9984a7195f753399cd0b0215d307181a808fb1eddf28cdda6faf761051c1390e195
+DIST watchexec-2.3.2.tar.gz 384392 BLAKE2B 
a212ad323380f25fbb8dee39abda19c3b3e9de330b939c424190f9768e4acda32f8908919ce33f7e51dadf489d612ab19d9f7f01d176d253fad9f786a50b00a7
 SHA512 
688a559574c622a39c0e536860b32e8e52f7fd782d7b91e81b0144fc6c24461d047bb7ae6caf2f6ff636650f61b3bbc1226239a1947f7c455e4d1bf8277148c3

diff --git a/app-misc/watchexec/watchexec-2.3.2.ebuild 
b/app-misc/watchexec/watchexec-2.3.2.ebuild
new file mode 100644
index 0000000000..5fcfb1074d
--- /dev/null
+++ b/app-misc/watchexec/watchexec-2.3.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.5
+
+EAPI=8
+
+CRATES=" "
+
+# MSRV as of watchexec-2.2.1 is 1.61.
+#RUST_MIN_VER="1.71.1"
+
+inherit cargo shell-completion
+
+DESCRIPTION="Executes commands in response to file modifications"
+HOMEPAGE="https://watchexec.github.io";
+
+if [[ "$PV" == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/watchexec/watchexec.git";
+       src_unpack() {
+               git-r3_src_unpack
+               cargo_live_src_unpack
+       }
+else
+       
SRC_URI="https://github.com/watchexec/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+       SRC_URI+=" 
https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz";
+       ECARGO_VENDOR="${WORKDIR}/vendor"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 WTFPL-2
+       ZLIB
+"
+SLOT="0"
+# Prevent portage from trying to fetch bunch of *.crate from mirror despite 
they are not mirrored.
+RESTRICT="mirror"
+
+DOCS=( crates/cli/README.md )
+
+# rust does not use *FLAGS from make.conf, silence portage warning
+# update with proper path to binaries this crate installs, omit leading /
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_compile() {
+       cargo_src_compile --manifest-path=crates/cli/Cargo.toml
+}
+
+src_test() {
+       cargo_src_test --manifest-path crates/lib/Cargo.toml --lib
+       cargo_src_test --manifest-path crates/cli/Cargo.toml
+}
+
+src_install() {
+       cargo_src_install --path "${S}"/crates/cli
+
+       einstalldocs
+       doman doc/watchexec.1
+
+       newbashcomp completions/bash "${PN}"
+
+       newzshcomp completions/zsh "_${PN}"
+
+       newfishcomp completions/fish "${PN}.fish"
+}

diff --git a/app-misc/watchexec/watchexec-9999.ebuild 
b/app-misc/watchexec/watchexec-9999.ebuild
new file mode 100644
index 0000000000..5fcfb1074d
--- /dev/null
+++ b/app-misc/watchexec/watchexec-9999.ebuild
@@ -0,0 +1,68 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.5
+
+EAPI=8
+
+CRATES=" "
+
+# MSRV as of watchexec-2.2.1 is 1.61.
+#RUST_MIN_VER="1.71.1"
+
+inherit cargo shell-completion
+
+DESCRIPTION="Executes commands in response to file modifications"
+HOMEPAGE="https://watchexec.github.io";
+
+if [[ "$PV" == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/watchexec/watchexec.git";
+       src_unpack() {
+               git-r3_src_unpack
+               cargo_live_src_unpack
+       }
+else
+       
SRC_URI="https://github.com/watchexec/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
+       SRC_URI+=" 
https://github.com/ingenarel/guru-depfiles/releases/download/${P}-deps.tar.xz/${P}-deps.tar.xz";
+       ECARGO_VENDOR="${WORKDIR}/vendor"
+       KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 BSD-2 BSD CC0-1.0 ISC MIT MPL-2.0 Unicode-3.0 WTFPL-2
+       ZLIB
+"
+SLOT="0"
+# Prevent portage from trying to fetch bunch of *.crate from mirror despite 
they are not mirrored.
+RESTRICT="mirror"
+
+DOCS=( crates/cli/README.md )
+
+# rust does not use *FLAGS from make.conf, silence portage warning
+# update with proper path to binaries this crate installs, omit leading /
+QA_FLAGS_IGNORED="usr/bin/${PN}"
+
+src_compile() {
+       cargo_src_compile --manifest-path=crates/cli/Cargo.toml
+}
+
+src_test() {
+       cargo_src_test --manifest-path crates/lib/Cargo.toml --lib
+       cargo_src_test --manifest-path crates/cli/Cargo.toml
+}
+
+src_install() {
+       cargo_src_install --path "${S}"/crates/cli
+
+       einstalldocs
+       doman doc/watchexec.1
+
+       newbashcomp completions/bash "${PN}"
+
+       newzshcomp completions/zsh "_${PN}"
+
+       newfishcomp completions/fish "${PN}.fish"
+}

Reply via email to