From 39887e1fa5878d53a132e354bfeb15ecb93cc8d5 Mon Sep 17 00:00:00 2001 From: Philip Miess Date: Sat, 3 Jun 2023 15:43:16 -0400 Subject: python compat update and version bumps Signed-off-by: Philip Miess --- sys-apps/0install/0install-2.3.12.ebuild | 2 +- sys-apps/0install/0install-2.3.13.ebuild | 2 +- sys-apps/0install/0install-2.3.14.ebuild | 54 ++++++++++++++++++++++++++++++++ sys-apps/0install/0install-2.3.15.ebuild | 54 ++++++++++++++++++++++++++++++++ sys-apps/0install/0install-2.3.16.ebuild | 54 ++++++++++++++++++++++++++++++++ 5 files changed, 164 insertions(+), 2 deletions(-) create mode 100644 sys-apps/0install/0install-2.3.14.ebuild create mode 100644 sys-apps/0install/0install-2.3.15.ebuild create mode 100644 sys-apps/0install/0install-2.3.16.ebuild diff --git a/sys-apps/0install/0install-2.3.12.ebuild b/sys-apps/0install/0install-2.3.12.ebuild index 8ce01e5..2e3fbbe 100644 --- a/sys-apps/0install/0install-2.3.12.ebuild +++ b/sys-apps/0install/0install-2.3.12.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) PYTHON_REQ_USE="xml(+)" inherit xdg-utils distutils-r1 diff --git a/sys-apps/0install/0install-2.3.13.ebuild b/sys-apps/0install/0install-2.3.13.ebuild index 8ce01e5..2e3fbbe 100644 --- a/sys-apps/0install/0install-2.3.13.ebuild +++ b/sys-apps/0install/0install-2.3.13.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) PYTHON_REQ_USE="xml(+)" inherit xdg-utils distutils-r1 diff --git a/sys-apps/0install/0install-2.3.14.ebuild b/sys-apps/0install/0install-2.3.14.ebuild new file mode 100644 index 0000000..2e3fbbe --- /dev/null +++ b/sys-apps/0install/0install-2.3.14.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="xml(+)" +inherit xdg-utils distutils-r1 + +DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves" +HOMEPAGE="http://0install.net/" +SRC_URI="https://sourceforge.net/projects/zero-install/files/${PN}/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +RDEPEND=" + $(python_gen_any_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + app-crypt/gnupg +" + +python_check_deps() { + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # Change manpage install path (Bug 207495) + sed -i 's:man/man1:share/man/man1:' setup.py || die 'Documentation path fix sed failed.' + distutils-r1_python_prepare_all +} + +python_prepare(){ + sed -i 's:def async:def aasync:' zeroinstall/support/async_compat.py || die 'async name sed failed.' +} + +python_install_all() { + distutils-r1_python_install_all + + local BASE_XDG_CONFIG="/etc/xdg/0install.net" + local BASE_XDG_DATA="/usr/share/0install.net" + + insinto "${BASE_XDG_CONFIG}/injector" + newins "${FILESDIR}/global.cfg" global + + dodir "${BASE_XDG_DATA}/native_feeds" +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/sys-apps/0install/0install-2.3.15.ebuild b/sys-apps/0install/0install-2.3.15.ebuild new file mode 100644 index 0000000..2e3fbbe --- /dev/null +++ b/sys-apps/0install/0install-2.3.15.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="xml(+)" +inherit xdg-utils distutils-r1 + +DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves" +HOMEPAGE="http://0install.net/" +SRC_URI="https://sourceforge.net/projects/zero-install/files/${PN}/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +RDEPEND=" + $(python_gen_any_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + app-crypt/gnupg +" + +python_check_deps() { + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # Change manpage install path (Bug 207495) + sed -i 's:man/man1:share/man/man1:' setup.py || die 'Documentation path fix sed failed.' + distutils-r1_python_prepare_all +} + +python_prepare(){ + sed -i 's:def async:def aasync:' zeroinstall/support/async_compat.py || die 'async name sed failed.' +} + +python_install_all() { + distutils-r1_python_install_all + + local BASE_XDG_CONFIG="/etc/xdg/0install.net" + local BASE_XDG_DATA="/usr/share/0install.net" + + insinto "${BASE_XDG_CONFIG}/injector" + newins "${FILESDIR}/global.cfg" global + + dodir "${BASE_XDG_DATA}/native_feeds" +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/sys-apps/0install/0install-2.3.16.ebuild b/sys-apps/0install/0install-2.3.16.ebuild new file mode 100644 index 0000000..2e3fbbe --- /dev/null +++ b/sys-apps/0install/0install-2.3.16.ebuild @@ -0,0 +1,54 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="xml(+)" +inherit xdg-utils distutils-r1 + +DESCRIPTION="Zeroinstall Injector allows regular users to install software themselves" +HOMEPAGE="http://0install.net/" +SRC_URI="https://sourceforge.net/projects/zero-install/files/${PN}/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +RDEPEND=" + $(python_gen_any_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + app-crypt/gnupg +" + +python_check_deps() { + has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # Change manpage install path (Bug 207495) + sed -i 's:man/man1:share/man/man1:' setup.py || die 'Documentation path fix sed failed.' + distutils-r1_python_prepare_all +} + +python_prepare(){ + sed -i 's:def async:def aasync:' zeroinstall/support/async_compat.py || die 'async name sed failed.' +} + +python_install_all() { + distutils-r1_python_install_all + + local BASE_XDG_CONFIG="/etc/xdg/0install.net" + local BASE_XDG_DATA="/usr/share/0install.net" + + insinto "${BASE_XDG_CONFIG}/injector" + newins "${FILESDIR}/global.cfg" global + + dodir "${BASE_XDG_DATA}/native_feeds" +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} -- cgit v1.2.3-65-gdbad