commit: faf2b4f94b2ce2fd3531dee1daba63fa435b139d Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Sun Jan 25 12:57:11 2026 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Sun Jan 25 13:21:22 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf2b4f9
app-admin/webapp-config: add 1.56 New update. Update servers list. Enable python 3.14. Closes: https://bugs.gentoo.org/955762 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> app-admin/webapp-config/Manifest | 1 + app-admin/webapp-config/webapp-config-1.56.ebuild | 66 +++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/app-admin/webapp-config/Manifest b/app-admin/webapp-config/Manifest index 958441a48502..51850fe0a3a6 100644 --- a/app-admin/webapp-config/Manifest +++ b/app-admin/webapp-config/Manifest @@ -1 +1,2 @@ DIST webapp-config-1.55.tar.bz2 72583 BLAKE2B be958dc991f0e1f6835d9c29350b7d97e3f23d52971f6013165ce59a8f4b32ac6262c9719956d1bcdbe60797f07d77910b44a749ae545c4dc15f765525144709 SHA512 44294b276fd036908438cd984ebf70433639caa18d8330bab348433b4f39ea2c42c57fa8de4f0a6198f7875429a3ef9ebe61321c288d910f9be8b3414865f438 +DIST webapp-config-1.56.tar.bz2 63169 BLAKE2B 0840a729b6b79af6cc339f864781273ef3783193f77a8e37fd43e5632f6d0453d6b437b6de297ff6984862df759db738576029dac272d3dc595da4a9f3d50148 SHA512 fff393cad9f33b235a72f9c30306cfd5b788b6bf6d41ba5c9e64f2773c662ae95132136417e245a159081c3d4e52c033ff5e787d2778871250abc1d62ff3168d diff --git a/app-admin/webapp-config/webapp-config-1.56.ebuild b/app-admin/webapp-config/webapp-config-1.56.ebuild new file mode 100644 index 000000000000..2b01afe80ff9 --- /dev/null +++ b/app-admin/webapp-config/webapp-config-1.56.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 prefix + +if [[ ${PV} = 9999* ]] +then + EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/${PN}.git" + inherit git-r3 +else + SRC_URI="https://gitweb.gentoo.org/proj/webapp-config.git/snapshot/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo's installer for web-based applications" +HOMEPAGE="https://wiki.gentoo.org/wiki/Webapp-config" + +LICENSE="GPL-2" +SLOT="0" +IUSE="+portage" + +DEPEND="app-text/xmlto + sys-apps/gentoo-functions" +RDEPEND=" + portage? ( sys-apps/portage[${PYTHON_USEDEP}] )" + +python_prepare_all() { + distutils-r1_python_prepare_all + eprefixify WebappConfig/eprefix.py config/webapp-config +} + +python_compile_all() { + emake -C doc/ +} + +python_test() { + PYTHONPATH="." "${EPYTHON}" WebappConfig/tests/external.py -v || + die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + + # distutils-r1 installs the scripts in /usr/bin in PEP517 mode + mv "${ED}"/usr/bin "${ED}"/usr/sbin || die "Cannot rename scripts directory to /usr/sbin" + + insinto /etc/vhosts + doins config/webapp-config + + keepdir /usr/share/webapps + keepdir /var/db/webapps + + dodoc AUTHORS + doman doc/*.[58] +} + +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" + elog "packages that use webapp-config." +}
