diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /dev-util/catalyst/catalyst-9999.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'dev-util/catalyst/catalyst-9999.ebuild')
-rw-r--r-- | dev-util/catalyst/catalyst-9999.ebuild | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/dev-util/catalyst/catalyst-9999.ebuild b/dev-util/catalyst/catalyst-9999.ebuild index 2c7b1791e8cd..27ca55eff349 100644 --- a/dev-util/catalyst/catalyst-9999.ebuild +++ b/dev-util/catalyst/catalyst-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 if [[ ${PV} == *9999* ]]; then SRC_ECLASS="git-r3" @@ -12,39 +12,43 @@ else KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_8 ) DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 ${SRC_ECLASS} +inherit distutils-r1 linux-info optfeature ${SRC_ECLASS} DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux" HOMEPAGE="https://wiki.gentoo.org/wiki/Catalyst" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" -IUSE="ccache doc +iso kernel_linux system-bootloader" +IUSE="doc +iso" -COMMON_DEPEND=" - >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}] - dev-python/toml[${PYTHON_USEDEP}] +BDEPEND=" + app-text/asciidoc " DEPEND=" - ${COMMON_DEPEND} - app-text/asciidoc + sys-apps/portage[${PYTHON_USEDEP}] + >=dev-python/snakeoil-0.6.5[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + sys-apps/util-linux[python,${PYTHON_USEDEP}] " RDEPEND=" - ${COMMON_DEPEND} + ${DEPEND} >=dev-python/pydecomp-0.3[${PYTHON_USEDEP}] app-arch/lbzip2 + app-arch/pixz app-arch/tar[xattr] dev-vcs/git sys-fs/dosfstools sys-fs/squashfs-tools-ng - ccache? ( dev-util/ccache ) iso? ( virtual/cdrtools + amd64? ( + sys-boot/grub[grub_platforms_efi-32,grub_platforms_efi-64] + ) alpha? ( dev-libs/libisoburn ) @@ -65,22 +69,19 @@ RDEPEND=" dev-libs/libisoburn sys-boot/grub:2[grub_platforms_ieee1275] ) + x86? ( + sys-boot/grub[grub_platforms_efi-32] + ) ) - - amd64? ( >=sys-boot/syslinux-3.72 ) - x86? ( >=sys-boot/syslinux-3.72 ) " -PDEPEND=" - system-bootloader? ( - >=sys-apps/memtest86+-5.01-r4 - sys-boot/grub:2 - sys-boot/shim - sys-boot/syslinux - amd64? ( sys-boot/grub[grub_platforms_efi-32,grub_platforms_efi-64] ) - x86? ( sys-boot/grub[grub_platforms_efi-32] ) - ) -" +pkg_setup() { + CONFIG_CHECK=" + ~UTS_NS ~IPC_NS + ~SQUASHFS ~SQUASHFS_ZLIB + " + linux-info_pkg_setup +} python_prepare_all() { python_setup @@ -100,3 +101,11 @@ python_install_all() { dodoc files/HOWTO.html files/docbook-xsl.css fi } + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog + elog "You may consider installing the following optional packages:" + optfeature "ccache support" dev-util/ccache + fi +} |