From: "Lucio Sauer" <watermanpaint@posteo.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-admin/gentoo_update/
Date: Mon, 12 Jun 2023 22:20:59 +0000 (UTC) [thread overview]
Message-ID: <1686608371.3d14a319be0352299d8834195b223da6322ebef8.watermanpaint@gentoo> (raw)
commit: 3d14a319be0352299d8834195b223da6322ebef8
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jun 12 22:02:16 2023 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jun 12 22:19:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d14a319
app-admin/gentoo_update: fix tests
* Make use of distutils-r1 eclass to set the correct dependencies for
simple testing via the unittest runner.
* Fetch source with a sensible name.
This program is not packaged correctly upstream:
https://github.com/Lab-Brat/gentoo_update/issues/7
Bug: https://bugs.gentoo.org/908307
Bug: https://bugs.gentoo.org/908308
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-admin/gentoo_update/Manifest | 4 +---
app-admin/gentoo_update/gentoo_update-0.1.3.ebuild | 11 +++++------
2 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/app-admin/gentoo_update/Manifest b/app-admin/gentoo_update/Manifest
index 0f730ef72..4e240f25a 100644
--- a/app-admin/gentoo_update/Manifest
+++ b/app-admin/gentoo_update/Manifest
@@ -1,3 +1 @@
-DIST 0.1.3.tar.gz 7356 BLAKE2B 497e8329f1cf335d699ab4f5549e6d35661e4f761d1b2890bb808383a7d30b621a289ba63e64da44dd57f46407410ce491531e1b85ab68b4ff48f48d7dcf2901 SHA512 c64d46337037a99b3d122a0cda4f1bceddec17432fdc28807f270a1f12edf3d50c4cac0f50c6ac437f5eb73f6d9dc6e065d0be870d39494d7ca635935f7f0561
-EBUILD gentoo_update-0.1.3.ebuild 511 BLAKE2B 742d55359537ef19f4e4ad55b6fcb7ec2f7eb779105ff44ee7398bebfe8fbf3af5a1068e46d1b16480f4fe9cbd45119b6cd5ede8d14c0f8b7bd87c73a76d3a65 SHA512 7c0893c6f992b1d9682d9e29e726500e5e2712b5fd55b61843665544947b12584610fd65d4048ded17828504a4e1dc8243f468c17b9aee079d540dfc2147831c
-MISC metadata.xml 248 BLAKE2B f5ba454b03595a3a57657a2eb5fb7d95e2b97905f4dfae8e20ab39caa9da1a0e98bf2428cecc367bb55bd4fe9442e06e82a9a80ccff93f29d83aa65ee900add4 SHA512 8c19092e1c24e10bc4b030e6d6852f0175425d2343c2894bd964bff0402b0e8b61ff5d6ea24300db3939488ccb44ef1dfc6acba66427bdfa794dca7fdf82f18f
+DIST gentoo_update-0.1.3.gh.tar.gz 7356 BLAKE2B 497e8329f1cf335d699ab4f5549e6d35661e4f761d1b2890bb808383a7d30b621a289ba63e64da44dd57f46407410ce491531e1b85ab68b4ff48f48d7dcf2901 SHA512 c64d46337037a99b3d122a0cda4f1bceddec17432fdc28807f270a1f12edf3d50c4cac0f50c6ac437f5eb73f6d9dc6e065d0be870d39494d7ca635935f7f0561
diff --git a/app-admin/gentoo_update/gentoo_update-0.1.3.ebuild b/app-admin/gentoo_update/gentoo_update-0.1.3.ebuild
index 505abb059..0f72acc65 100644
--- a/app-admin/gentoo_update/gentoo_update-0.1.3.ebuild
+++ b/app-admin/gentoo_update/gentoo_update-0.1.3.ebuild
@@ -2,22 +2,21 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
+DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9,10,11} )
inherit distutils-r1
DESCRIPTION="Gentoo Linux updater"
HOMEPAGE="https://github.com/Lab-Brat/gentoo_update"
-SRC_URI="https://github.com/Lab-Brat/gentoo_update/archive/refs/tags/${PV}.tar.gz"
+SRC_URI="https://github.com/Lab-Brat/gentoo_update/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="${PYTHON_DEPS}"
-RDEPEND="${DEPEND}"
+distutils_enable_tests unittest
src_test() {
- ${EPYTHON} -m unittest discover -v || die "Tests failed"
+ cd tests || die
+ distutils-r1_src_test
}
-
next reply other threads:[~2023-06-12 22:21 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 22:20 Lucio Sauer [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-03 4:30 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/gentoo_update/ Anna Vyalkova
2024-10-29 21:58 Anna Vyalkova
2024-02-20 5:51 Stepan Kulikov
2024-01-01 18:26 Stepan Kulikov
2023-12-04 19:45 Anna Vyalkova
2023-11-16 15:18 Stepan Kulikov
2023-10-07 20:15 Stepan Kulikov
2023-09-26 21:13 Stepan Kulikov
2023-09-01 14:50 Stepan Kulikov
2023-08-20 19:33 Stepan Kulikov
2023-06-21 21:24 Lucio Sauer
2023-06-21 20:36 Stepan Kulikov
2023-06-21 20:31 Stepan Kulikov
2023-06-17 16:01 Stepan Kulikov
2023-06-14 19:20 Stepan Kulikov
2023-06-13 21:46 Lucio Sauer
2023-06-12 22:20 Lucio Sauer
2023-06-12 22:20 Lucio Sauer
2023-06-11 19:38 Stepan Kulikov
2023-06-11 19:33 Stepan Kulikov
2023-06-09 22:47 Stepan Kulikov
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=1686608371.3d14a319be0352299d8834195b223da6322ebef8.watermanpaint@gentoo \
--to=watermanpaint@posteo.net \
--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