Files
gentoo/dev-python/pymountboot/pymountboot-0.2.3-r1.ebuild
Joonas Niilola 7f29532fd0 dev-python/pymountboot: add missing pkgconfig BDEPEND
File "/var/tmp/portage/dev-python/pymountboot-0.2.3-r1/work/pymountboot-0.2.3/setup.py", line 18, in <module>
    cflags, libs = [pkgconfig_get(x, 'mount') for x in ('--cflags', '--libs')]
  File "/var/tmp/portage/dev-python/pymountboot-0.2.3-r1/work/pymountboot-0.2.3/setup.py", line 18, in <listcomp>
    cflags, libs = [pkgconfig_get(x, 'mount') for x in ('--cflags', '--libs')]
  File "/var/tmp/portage/dev-python/pymountboot-0.2.3-r1/work/pymountboot-0.2.3/setup.py", line 11, in pkgconfig_get
    subp = subprocess.Popen(('pkg-config',) + args,
  File "/usr/lib/python3.10/subprocess.py", line 971, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.10/subprocess.py", line 1847, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pkg-config'

Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2023-01-20 09:39:25 +02:00

24 lines
536 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Python extension module to (re)mount /boot"
HOMEPAGE="https://github.com/mgorny/pymountboot/"
SRC_URI="
https://github.com/mgorny/pymountboot/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~riscv x86"
RDEPEND=">=sys-apps/util-linux-2.20"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"