# Template file for 'portage'
pkgname=portage
version=3.0.44
revision=3
build_style=python3-module
make_install_args="--sbindir=/usr/bin"
hostmakedepends="python3 python3-setuptools"
depends="python3 rsync xmlto eselect tar zstd"
checkdepends="tar zstd gnupg"
short_desc="Gentoo's package management system"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://wiki.gentoo.org/wiki/Portage"
changelog="https://gitweb.gentoo.org/proj/portage.git/plain/NEWS"
distfiles="https://github.com/gentoo/portage/archive/portage-${version}.tar.gz"
checksum=c7171aae7a6d6228b3ecc37819ce4d5c7652a9f47dde4db21d5ce4437d0ae19a
# unshare cannot be used in CI
# https://bugs.gentoo.org/show_bug.cgi?id=680456
# https://forums.gentoo.org/viewtopic-t-1113256-start-0.html
make_check=ci-skip

conf_files="/etc/dispatch-conf.conf
 /etc/etc-update.conf
 /etc/logrotate.d/elog-save-summary"
