public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/polychromatic/
Date: Fri, 14 Jun 2024 07:27:22 +0000 (UTC)	[thread overview]
Message-ID: <1718350039.d8cfb771b47bd0a18c0772d6c950726e473e458f.xgqt@gentoo> (raw)

commit:     d8cfb771b47bd0a18c0772d6c950726e473e458f
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Fri Jun 14 00:14:35 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 07:27:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8cfb771

sys-apps/polychromatic: wire up tests

Bug: https://bugs.gentoo.org/933050
Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Closes: https://github.com/gentoo/gentoo/pull/37151
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 sys-apps/polychromatic/polychromatic-0.9.1.ebuild | 6 ++++++
 sys-apps/polychromatic/polychromatic-9999.ebuild  | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/sys-apps/polychromatic/polychromatic-0.9.1.ebuild b/sys-apps/polychromatic/polychromatic-0.9.1.ebuild
index 19e9c50db521..17566f06c680 100644
--- a/sys-apps/polychromatic/polychromatic-0.9.1.ebuild
+++ b/sys-apps/polychromatic/polychromatic-0.9.1.ebuild
@@ -51,6 +51,12 @@ DOC_CONTENTS="To automatically start up Polychromatic on session login copy
 /usr/share/polychromatic/polychromatic-autostart.desktop file into Your user's
 ~/.config/autostart/ directory."
 
+src_test() {
+	rm -rf "locale" || die
+	ln -svf "${BUILD_DIR}/locale" "locale" || die
+	PYTHONPATH="tests:${PYTHONPATH}" "${EPYTHON}" "tests/runner.py" || die
+}
+
 src_install() {
 	meson_src_install
 	python_optimize

diff --git a/sys-apps/polychromatic/polychromatic-9999.ebuild b/sys-apps/polychromatic/polychromatic-9999.ebuild
index 19e9c50db521..17566f06c680 100644
--- a/sys-apps/polychromatic/polychromatic-9999.ebuild
+++ b/sys-apps/polychromatic/polychromatic-9999.ebuild
@@ -51,6 +51,12 @@ DOC_CONTENTS="To automatically start up Polychromatic on session login copy
 /usr/share/polychromatic/polychromatic-autostart.desktop file into Your user's
 ~/.config/autostart/ directory."
 
+src_test() {
+	rm -rf "locale" || die
+	ln -svf "${BUILD_DIR}/locale" "locale" || die
+	PYTHONPATH="tests:${PYTHONPATH}" "${EPYTHON}" "tests/runner.py" || die
+}
+
 src_install() {
 	meson_src_install
 	python_optimize


             reply	other threads:[~2024-06-14  7:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14  7:27 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-15 19:55 [gentoo-commits] repo/gentoo:master commit in: sys-apps/polychromatic/ Maciej Barć
2025-03-15 19:55 Maciej Barć
2024-12-07 18:10 Maciej Barć
2024-12-07 18:10 Maciej Barć
2024-09-03 18:32 Jakov Smolić
2024-07-31  0:03 Maciej Barć
2024-06-22 19:05 Maciej Barć
2024-06-22 19:05 Maciej Barć
2024-05-13 17:59 Maciej Barć
2024-04-24 17:10 Maciej Barć
2024-04-24 17:10 Maciej Barć
2023-12-27 23:44 Maciej Barć
2023-12-27 23:44 Maciej Barć
2023-12-27 23:44 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-11-20 20:27 Maciej Barć
2023-11-20 19:17 Maciej Barć
2023-10-09  7:35 Maciej Barć
2023-09-02 14:30 Maciej Barć
2023-05-01 18:46 Maciej Barć
2023-05-01 18:46 Maciej Barć
2023-05-01 18:46 Maciej Barć
2022-12-04 18:28 Maciej Barć
2022-10-01 13:50 Maciej Barć
2022-09-24 21:11 Maciej Barć

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=1718350039.d8cfb771b47bd0a18c0772d6c950726e473e458f.xgqt@gentoo \
    --to=xgqt@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