From bc75b42f7650c33ffdb61e5e29b0b96cb9111932 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Mar 2023 17:57:54 +0000 Subject: gentoo auto-resync : 07:03:2023 - 17:57:54 --- .../webapp-config/webapp-config-1.55-r2.ebuild | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'app-admin/webapp-config/webapp-config-1.55-r2.ebuild') 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..daf5ce1eeff8 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 arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~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" -- cgit v1.2.3