public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2022-06-14 18:35 Haelwenn Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2022-06-14 18:35 UTC (permalink / raw
  To: gentoo-commits

commit:     f3429d069c118e224630448b0fa6a53a1a39e264
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu May 26 13:43:00 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Jun 14 18:32:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3429d06

gui-apps/hiprompt-gtk-py: initial import

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 .../hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild     | 21 +++++++++++++++++++++
 gui-apps/hiprompt-gtk-py/metadata.xml               |  8 ++++++++
 2 files changed, 29 insertions(+)

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
new file mode 100644
index 000000000..9271a2358
--- /dev/null
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit git-r3 meson python-single-r1 xdg
+
+DESCRIPTION="GTK+ Himitsu prompter for Wayland"
+HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
+EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
+	x11-libs/gtk+:3[introspection]
+	gui-libs/gtk-layer-shell
+"
+DEPEND="${RDEPEND}"

diff --git a/gui-apps/hiprompt-gtk-py/metadata.xml b/gui-apps/hiprompt-gtk-py/metadata.xml
new file mode 100644
index 000000000..c698af234
--- /dev/null
+++ b/gui-apps/hiprompt-gtk-py/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>contact@hacktivis.me</email>
+		<name>Haelwenn (lanodan) Monnier</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2022-06-14 19:03 Haelwenn Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2022-06-14 19:03 UTC (permalink / raw
  To: gentoo-commits

commit:     bbebed9043554acc799328857a523ad8ce73feb7
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Tue Jun 14 19:03:48 2022 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Tue Jun 14 19:03:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bbebed90

gui-apps/hiprompt-gtk-py: Fix shebang, fix gtk-layer-shell dependency

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
index 9271a2358..bca282598 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
@@ -16,6 +16,12 @@ RDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
 	x11-libs/gtk+:3[introspection]
-	gui-libs/gtk-layer-shell
+	>=gui-libs/gtk-layer-shell-0.5.0
 "
 DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+
+	sed -i "s;@PYTHON@;/usr/bin/${EPYTHON};g" hiprompt_gtk/hiprompt-gtk.in || die
+}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2022-06-24 12:42 Rui Huang
  0 siblings, 0 replies; 7+ messages in thread
From: Rui Huang @ 2022-06-24 12:42 UTC (permalink / raw
  To: gentoo-commits

commit:     68fcb957db4fda6b91020c845b830a84034332da
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Jun 24 12:41:37 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Jun 24 12:41:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68fcb957

gui-apps/hiprompt-gtk-py: add fixed version to fix CI

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 ...ompt-gtk-py-9999.ebuild => hiprompt-gtk-py-0_pre20220624.ebuild} | 6 ++++--
 gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild                | 5 +++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
similarity index 82%
copy from gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
copy to gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
index bca282598..8e83c1d8d 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
@@ -1,16 +1,18 @@
 # Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit git-r3 meson python-single-r1 xdg
 
 DESCRIPTION="GTK+ Himitsu prompter for Wayland"
 HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
+EGIT_COMMIT="f74499302bdd6558d4644c25e15c9b5c482270ea"
 EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
 LICENSE="GPL-3"
 SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
 	${PYTHON_DEPS}

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
index bca282598..c1cef816a 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
@@ -1,9 +1,9 @@
 # Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 inherit git-r3 meson python-single-r1 xdg
 
 DESCRIPTION="GTK+ Himitsu prompter for Wayland"
@@ -11,6 +11,7 @@ HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
 EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
 LICENSE="GPL-3"
 SLOT="0"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
 	${PYTHON_DEPS}


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2022-06-24 13:11 Rui Huang
  0 siblings, 0 replies; 7+ messages in thread
From: Rui Huang @ 2022-06-24 13:11 UTC (permalink / raw
  To: gentoo-commits

commit:     da10b3878c33df3f05931a906f8889e3b94d5f49
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Jun 24 12:56:58 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Jun 24 12:56:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da10b387

gui-apps/hiprompt-gtk-py: keyword 0_pre20220624 for ~amd64

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 gui-apps/hiprompt-gtk-py/Manifest                             | 1 +
 gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gui-apps/hiprompt-gtk-py/Manifest b/gui-apps/hiprompt-gtk-py/Manifest
new file mode 100644
index 000000000..685b4d782
--- /dev/null
+++ b/gui-apps/hiprompt-gtk-py/Manifest
@@ -0,0 +1 @@
+DIST hiprompt-gtk-py-0_pre20220624.tar.gz 17669 BLAKE2B 90ec17475a058f1eb1fcac59c9994e99a2b80fa34ac185f3b05f579c30cec3b4f98f60dcc121df457af5ea0569614d5d16a14f197a26e7601889c95965930cf4 SHA512 e5ea9ee81ec524764549ed15b64df17b607e7d1ef7f6b0d59980d94bf1dfd079a32a5b8d9de7b6e562e304e3a905e1a6bea7eb94c84d06dd1125e04f2b0c2c37

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
index 8e83c1d8d..3bf24e841 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
@@ -4,14 +4,16 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..11} )
-inherit git-r3 meson python-single-r1 xdg
+inherit meson python-single-r1 xdg
 
 DESCRIPTION="GTK+ Himitsu prompter for Wayland"
 HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
 EGIT_COMMIT="f74499302bdd6558d4644c25e15c9b5c482270ea"
-EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
+SRC_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
 LICENSE="GPL-3"
 SLOT="0"
+KEYWORDS="~amd64"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2022-06-24 13:11 Rui Huang
  0 siblings, 0 replies; 7+ messages in thread
From: Rui Huang @ 2022-06-24 13:11 UTC (permalink / raw
  To: gentoo-commits

commit:     e2a02abc3279ff04f02fc70dde575daabf8fec73
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Jun 24 13:08:45 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Jun 24 13:09:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2a02abc

gui-apps/hiprompt-gtk-py: fix keyword for CI

keyword 0_pre20220624 for ~arm64, ~riscv

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
index 3bf24e841..e05221444 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/${EGIT_COMMIT}.tar.
 S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~arm64 ~riscv"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2024-01-11  5:52 Haelwenn Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2024-01-11  5:52 UTC (permalink / raw
  To: gentoo-commits

commit:     79a763365d88ae417e44d5c77f9d7a5f4cbef75d
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Thu Jan 11 05:50:07 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Thu Jan 11 05:52:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79a76336

gui-apps/hiprompt-gtk-py: Add use-dep gtk-layer-shell[introspection]

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 ...-py-0_pre20220624.ebuild => hiprompt-gtk-py-0_pre20220624-r1.ebuild} | 2 +-
 gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild                    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624-r1.ebuild
similarity index 94%
rename from gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
rename to gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624-r1.ebuild
index 82451cf595..a6fae08788 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624-r1.ebuild
@@ -20,7 +20,7 @@ RDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
 	x11-libs/gtk+:3[introspection]
-	>=gui-libs/gtk-layer-shell-0.5.0
+	>=gui-libs/gtk-layer-shell-0.5.0[introspection]
 "
 DEPEND="${RDEPEND}"
 

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
index 105f043231..26205d1966 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
@@ -17,7 +17,7 @@ RDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
 	x11-libs/gtk+:3[introspection]
-	>=gui-libs/gtk-layer-shell-0.5.0
+	>=gui-libs/gtk-layer-shell-0.5.0[introspection]
 "
 DEPEND="${RDEPEND}"
 


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/
@ 2024-03-10 21:26 Haelwenn Monnier
  0 siblings, 0 replies; 7+ messages in thread
From: Haelwenn Monnier @ 2024-03-10 21:26 UTC (permalink / raw
  To: gentoo-commits

commit:     407dffe2eee8f0cbee3eef884697b784628b1e21
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Sun Mar 10 21:12:25 2024 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sun Mar 10 21:18:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=407dffe2

gui-apps/hiprompt-gtk-py: drop 0_pre20220624-r1, add 0_pre20221221

Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me>

 gui-apps/hiprompt-gtk-py/Manifest                  |  2 +-
 ...ebuild => hiprompt-gtk-py-0_pre20221221.ebuild} | 22 ++++++++++++++++------
 .../hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild    | 21 +++++++++++++++++----
 3 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/gui-apps/hiprompt-gtk-py/Manifest b/gui-apps/hiprompt-gtk-py/Manifest
index 685b4d782d..fd662a99ed 100644
--- a/gui-apps/hiprompt-gtk-py/Manifest
+++ b/gui-apps/hiprompt-gtk-py/Manifest
@@ -1 +1 @@
-DIST hiprompt-gtk-py-0_pre20220624.tar.gz 17669 BLAKE2B 90ec17475a058f1eb1fcac59c9994e99a2b80fa34ac185f3b05f579c30cec3b4f98f60dcc121df457af5ea0569614d5d16a14f197a26e7601889c95965930cf4 SHA512 e5ea9ee81ec524764549ed15b64df17b607e7d1ef7f6b0d59980d94bf1dfd079a32a5b8d9de7b6e562e304e3a905e1a6bea7eb94c84d06dd1125e04f2b0c2c37
+DIST hiprompt-gtk-py-8d6ef1d042ec2731f84245164094e622f4be3f2d.tar.gz 18110 BLAKE2B 46a132b36ac347d01fd7b2b810278ca4a1fdaa034cd34d990b66eef7a4363b87df88b7999261421b8e54497d16275ace5afd8aa677351ee5f8fe86c7a17776b3 SHA512 cac43582ae8de7cb0c68cf28309644a10b6e797d8477ff6af06fc18fd14c3a3a86ae6f17e1f549b39dd263cd43482219a2fb10c7e77e5863da5c72f28c66993c

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624-r1.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20221221.ebuild
similarity index 53%
rename from gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624-r1.ebuild
rename to gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20221221.ebuild
index a6fae08788..3831234a39 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20220624-r1.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-0_pre20221221.ebuild
@@ -1,19 +1,28 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit meson python-single-r1 xdg
 
+if [[ "${PV}" == "9999" ]]
+then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
+else
+	EGIT_COMMIT="8d6ef1d042ec2731f84245164094e622f4be3f2d"
+	MY_P="${PN}-${EGIT_COMMIT}"
+
+	SRC_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
+	S="${WORKDIR}/${MY_P}"
+	KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
+
 DESCRIPTION="GTK+ Himitsu prompter for Wayland"
 HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
-EGIT_COMMIT="f74499302bdd6558d4644c25e15c9b5c482270ea"
-SRC_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="
@@ -27,5 +36,6 @@ DEPEND="${RDEPEND}"
 src_prepare() {
 	default
 
+	# Otherwise you get the fake "python" symlink present in $WORKDIR
 	sed -i "s;@PYTHON@;/usr/bin/${EPYTHON};g" hiprompt_gtk/hiprompt-gtk.in || die
 }

diff --git a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
index 26205d1966..3831234a39 100644
--- a/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
+++ b/gui-apps/hiprompt-gtk-py/hiprompt-gtk-py-9999.ebuild
@@ -1,14 +1,26 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
-inherit git-r3 meson python-single-r1 xdg
+PYTHON_COMPAT=( python3_{10..12} )
+inherit meson python-single-r1 xdg
+
+if [[ "${PV}" == "9999" ]]
+then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
+else
+	EGIT_COMMIT="8d6ef1d042ec2731f84245164094e622f4be3f2d"
+	MY_P="${PN}-${EGIT_COMMIT}"
+
+	SRC_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/${EGIT_COMMIT}.tar.gz -> ${MY_P}.tar.gz"
+	S="${WORKDIR}/${MY_P}"
+	KEYWORDS="~amd64 ~arm64 ~riscv"
+fi
 
 DESCRIPTION="GTK+ Himitsu prompter for Wayland"
 HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
-EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
 LICENSE="GPL-3"
 SLOT="0"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
@@ -24,5 +36,6 @@ DEPEND="${RDEPEND}"
 src_prepare() {
 	default
 
+	# Otherwise you get the fake "python" symlink present in $WORKDIR
 	sed -i "s;@PYTHON@;/usr/bin/${EPYTHON};g" hiprompt_gtk/hiprompt-gtk.in || die
 }


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-03-10 21:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-10 21:26 [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hiprompt-gtk-py/ Haelwenn Monnier
  -- strict thread matches above, loose matches on Subject: below --
2024-01-11  5:52 Haelwenn Monnier
2022-06-24 13:11 Rui Huang
2022-06-24 13:11 Rui Huang
2022-06-24 12:42 Rui Huang
2022-06-14 19:03 Haelwenn Monnier
2022-06-14 18:35 Haelwenn Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox