public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/
Date: Thu, 15 Feb 2024 17:53:05 +0000 (UTC)	[thread overview]
Message-ID: <1708019550.1cebce95d40bfab03d5c92b06750b77d201be31c.williamh@gentoo> (raw)

commit:     1cebce95d40bfab03d5c92b06750b77d201be31c
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Sun Feb  4 04:23:27 2024 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Feb 15 17:52:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cebce95

www-client/pybugz: multiple small fixes

- remove extraneous dependencies on setuptools

The distutils eclass already handles this correctly. This includes using
BDEPEND instead of DEPEND.

Avoids a runtime dependency on setuptools, which has never been used --
in general software never uses `import setuptools` at runtime, and
pybugz doesn't actually make use of pkg_resources either.

- migrate to pep517 build
- update EAPI 7 -> 8

Closes: https://bugs.gentoo.org/910045
Closes: https://github.com/gentoo/gentoo/pull/35177

Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 .../pybugz/{pybugz-9999.ebuild => pybugz-0.13-r3.ebuild}       | 10 ++++------
 www-client/pybugz/pybugz-9999.ebuild                           | 10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/www-client/pybugz/pybugz-9999.ebuild b/www-client/pybugz/pybugz-0.13-r3.ebuild
similarity index 77%
copy from www-client/pybugz/pybugz-9999.ebuild
copy to www-client/pybugz/pybugz-0.13-r3.ebuild
index 8f3124991403..17680b4e1e24 100644
--- a/www-client/pybugz/pybugz-9999.ebuild
+++ b/www-client/pybugz/pybugz-0.13-r3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE="readline(+),ssl(+)"
 
@@ -11,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/williamh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 fi
 
 inherit bash-completion-r1 distutils-r1
@@ -22,9 +23,6 @@ HOMEPAGE="https://github.com/williamh/pybugz"
 LICENSE="GPL-2"
 SLOT="0"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
 python_install_all() {
 	distutils-r1_python_install_all
 	newbashcomp contrib/bash-completion bugz

diff --git a/www-client/pybugz/pybugz-9999.ebuild b/www-client/pybugz/pybugz-9999.ebuild
index 8f3124991403..17680b4e1e24 100644
--- a/www-client/pybugz/pybugz-9999.ebuild
+++ b/www-client/pybugz/pybugz-9999.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
 PYTHON_REQ_USE="readline(+),ssl(+)"
 
@@ -11,7 +12,7 @@ if [ "${PV}" = "9999" ]; then
 	inherit git-r3
 else
 	SRC_URI="https://github.com/williamh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 fi
 
 inherit bash-completion-r1 distutils-r1
@@ -22,9 +23,6 @@ HOMEPAGE="https://github.com/williamh/pybugz"
 LICENSE="GPL-2"
 SLOT="0"
 
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-
 python_install_all() {
 	distutils-r1_python_install_all
 	newbashcomp contrib/bash-completion bugz


             reply	other threads:[~2024-02-15 17:53 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-15 17:53 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-15  7:21 [gentoo-commits] repo/gentoo:master commit in: www-client/pybugz/ Arthur Zamarin
2024-07-09 14:50 Michał Górny
2024-05-28 17:01 Sam James
2024-03-01 16:44 Arthur Zamarin
2024-02-29 19:15 Arthur Zamarin
2022-12-17  6:40 WANG Xuerui
2022-12-17  6:40 WANG Xuerui
2022-09-22 21:01 William Hubbs
2022-09-22 20:53 William Hubbs
2022-07-28  8:28 Sam James
2022-06-01  2:46 Sam James
2022-06-01  2:45 Sam James
2022-04-17 19:49 Alexey Shvetsov
2021-09-27 22:05 Marek Szuba
2021-07-31  0:18 Sam James
2021-01-06 11:37 Fabian Groffen
2020-12-27 18:22 Fabian Groffen
2020-09-15 11:03 Pacho Ramos
2020-07-04 21:55 Mart Raudsepp
2020-06-06 20:22 William Hubbs
2020-06-06 18:09 Alexey Shvetsov
2020-05-12 13:14 Agostino Sarubbo
2019-06-05 13:39 Agostino Sarubbo
2018-12-27 23:03 William Hubbs
2018-10-21  9:18 Pacho Ramos
2017-08-09 18:08 Alexey Shvetsov
2017-07-30  9:23 Michał Górny
2017-01-01 19:25 William Hubbs
2016-11-02 16:54 William Hubbs
2016-11-02 16:54 William Hubbs
2016-05-21 15:17 William Hubbs
2016-03-26 14:16 Agostino Sarubbo
2016-03-19 11:35 Agostino Sarubbo
2016-03-17 10:50 Agostino Sarubbo
2016-03-16 11:51 Agostino Sarubbo
2016-03-16 11:00 Agostino Sarubbo
2016-03-16 10:58 Agostino Sarubbo
2016-03-04  2:21 Stephen Klimaszewski
2016-02-22 17:52 William Hubbs
2016-02-21 22:33 William Hubbs
2015-10-20 19:59 William Hubbs
2015-09-18 13:36 William Hubbs

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=1708019550.1cebce95d40bfab03d5c92b06750b77d201be31c.williamh@gentoo \
    --to=williamh@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