public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/webapp-config/
Date: Tue,  7 Mar 2023 11:39:48 +0000 (UTC)	[thread overview]
Message-ID: <1678189095.b4386cdacf80445dd7e9820b8f58fa7254bcdd0c.sam@gentoo> (raw)

commit:     b4386cdacf80445dd7e9820b8f58fa7254bcdd0c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  7 11:38:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar  7 11:38:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4386cda

app-admin/webapp-config: enable py3.11

Closes: https://bugs.gentoo.org/896488
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../webapp-config/webapp-config-1.55-r2.ebuild     | 22 ++++++++++++++--------
 app-admin/webapp-config/webapp-config-9999.ebuild  | 12 ++++++------
 2 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/app-admin/webapp-config/webapp-config-1.55-r2.ebuild b/app-admin/webapp-config/webapp-config-1.55-r2.ebuild
index 9ef0f49f155f..9aad95348cfe 100644
--- a/app-admin/webapp-config/webapp-config-1.55-r2.ebuild
+++ b/app-admin/webapp-config/webapp-config-1.55-r2.ebuild
@@ -4,12 +4,18 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1 prefix
 
-SRC_URI="https://dev.gentoo.org/~twitch153/${PN}/${P}.tar.bz2"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+if [[ ${PV} = 9999* ]]
+then
+	EGIT_REPO_URI="https://anongit.gentoo.org/proj/${PN}.git"
+	inherit git-r3
+else
+	SRC_URI="https://dev.gentoo.org/~blueness/${PN}/${P}.tar.bz2"
+	KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+fi
 
 DESCRIPTION="Gentoo's installer for web-based applications"
 HOMEPAGE="https://sourceforge.net/projects/webapp-config/"
@@ -32,6 +38,11 @@ python_compile_all() {
 	emake -C doc/
 }
 
+python_test() {
+	PYTHONPATH="." "${EPYTHON}" WebappConfig/tests/external.py -v ||
+		die "Testing failed with ${EPYTHON}"
+}
+
 python_install() {
 	# According to this discussion:
 	# http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
@@ -54,11 +65,6 @@ python_install_all() {
 	doman doc/*.[58]
 }
 
-python_test() {
-	PYTHONPATH="." "${EPYTHON}" WebappConfig/tests/external.py -v ||
-		die "Testing failed with ${EPYTHON}"
-}
-
 pkg_postinst() {
 	elog "Now that you have upgraded webapp-config, you **must** update your"
 	elog "config files in /etc/vhosts/webapp-config before you emerge any"

diff --git a/app-admin/webapp-config/webapp-config-9999.ebuild b/app-admin/webapp-config/webapp-config-9999.ebuild
index 80bc77e30465..9aad95348cfe 100644
--- a/app-admin/webapp-config/webapp-config-9999.ebuild
+++ b/app-admin/webapp-config/webapp-config-9999.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 DISTUTILS_USE_SETUPTOOLS=no
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1 prefix
 
@@ -38,6 +38,11 @@ python_compile_all() {
 	emake -C doc/
 }
 
+python_test() {
+	PYTHONPATH="." "${EPYTHON}" WebappConfig/tests/external.py -v ||
+		die "Testing failed with ${EPYTHON}"
+}
+
 python_install() {
 	# According to this discussion:
 	# http://mail.python.org/pipermail/distutils-sig/2004-February/003713.html
@@ -60,11 +65,6 @@ python_install_all() {
 	doman doc/*.[58]
 }
 
-python_test() {
-	PYTHONPATH="." "${EPYTHON}" WebappConfig/tests/external.py -v ||
-		die "Testing failed with ${EPYTHON}"
-}
-
 pkg_postinst() {
 	elog "Now that you have upgraded webapp-config, you **must** update your"
 	elog "config files in /etc/vhosts/webapp-config before you emerge any"


             reply	other threads:[~2023-03-07 11:39 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-07 11:39 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-19 18:28 [gentoo-commits] repo/gentoo:master commit in: app-admin/webapp-config/ Viorel Munteanu
2024-05-25 17:36 Viorel Munteanu
2024-05-25 17:31 Arthur Zamarin
2024-05-20  8:42 Sam James
2024-05-20  8:42 Sam James
2024-05-20  8:19 Sam James
2024-05-20  8:18 Sam James
2024-05-20  8:18 Sam James
2024-05-20  8:18 Sam James
2023-08-27  5:59 Viorel Munteanu
2023-08-26 18:13 Sam James
2023-08-26 18:11 Sam James
2023-08-26 18:09 Sam James
2023-08-26 18:09 Sam James
2023-08-26 18:09 Sam James
2023-08-26 18:09 Sam James
2023-08-26 18:09 Sam James
2023-07-08  7:45 Viorel Munteanu
2023-03-07 11:53 Sam James
2023-03-04  5:47 Arthur Zamarin
2022-10-01  1:02 Sam James
2022-09-14 15:30 Jakov Smolić
2022-02-02 13:15 Craig Andrews
2021-09-18 19:16 Anthony G. Basile
2021-04-07  8:06 Michał Górny
2021-03-08 20:40 Matt Turner
2021-02-18 20:14 Sam James
2020-04-18 17:55 Craig Andrews
2020-03-19  9:41 Michał Górny
2019-03-23  9:11 Anthony G. Basile
2018-06-12 15:32 Mikle Kolyada
2018-03-26  6:54 Sergei Trofimovich
2017-07-11  4:45 Markus Meier
2017-06-30  8:16 Sergei Trofimovich
2017-06-26 20:18 Tobias Klausmann
2017-06-25 16:32 Agostino Sarubbo
2017-06-24  3:59 Devan Franchini
2017-06-24  3:59 Devan Franchini
2017-06-22 23:34 Devan Franchini
2017-06-22 23:34 Devan Franchini
2017-05-23  6:05 Michał Górny
2017-05-16 23:03 Manuel Rüger
2017-05-16 23:03 Manuel Rüger
2017-02-16  3:29 Devan Franchini
2016-10-09  7:47 Pacho Ramos
2015-11-01 15:14 Tobias Klausmann
2015-10-30 10:15 Agostino Sarubbo
2015-10-17 11:13 Markus Meier
2015-10-10 15:10 Mikle Kolyada
2015-10-02 11:05 Mikle Kolyada
2015-09-30  3:54 Jeroen Roovers
2015-09-30  3:50 Jeroen Roovers
2015-09-28 10:04 Mikle Kolyada
2015-09-28  9:31 Agostino Sarubbo

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=1678189095.b4386cdacf80445dd7e9820b8f58fa7254bcdd0c.sam@gentoo \
    --to=sam@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