gentoo/dev-python/thunarx-python/thunarx-python-0.5.1-r1.ebuild
Jakov Smolic 31417f07a9
dev-python/thunarx-python: port to EAPI 7
* Fix build with gcc-10. Thanks to Sam James for providing the patch
  link

Closes: https://bugs.gentoo.org/710948
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
2020-11-30 22:39:45 +01:00

39 lines
843 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
inherit python-single-r1
DESCRIPTION="Python bindings for the Thunar file manager"
HOMEPAGE="https://goodies.xfce.org/projects/bindings/thunarx-python"
SRC_URI="https://archive.xfce.org/src/bindings/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
RDEPEND="${PYTHON_DEPS}
>=dev-libs/glib-2.30:2
>=x11-libs/gtk+-3.20:3
>=xfce-base/thunar-1.7.0
$(python_gen_cond_dep '
>=dev-python/pygobject-3.20:3[${PYTHON_MULTI_USEDEP}]
')"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
REQUIRED_USE=${PYTHON_REQUIRED_USE}
PATCHES=(
"${FILESDIR}"/${P}-py38.patch
"${FILESDIR}"/${P}-fno-common.patch
)
src_install() {
default
find "${D}" -name '*.la' -delete || die
}