summaryrefslogtreecommitdiff
path: root/x11-misc/sunflower/sunflower-0.5-r2.ebuild
blob: e1ad6bd9575d0a0a4fccff0c1b4d3a826074a09b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="sqlite"
DISTUTILS_USE_PEP517="setuptools"
inherit distutils-r1 xdg

MY_PN="Sunflower"
MY_PV="${PV}-63"

DESCRIPTION="Small and highly customizable twin-panel file manager with plugin-support"
HOMEPAGE="https://github.com/MeanEYE/Sunflower
	https://sunflower-fm.org/"
SRC_URI="https://github.com/MeanEYE/${MY_PN}/archive/refs/tags/${MY_PV}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND="
	${PYTHON_DEPS}
	dev-python/pygobject:3[${PYTHON_USEDEP}]
	dev-python/chardet[${PYTHON_USEDEP}]
"

RDEPEND="${DEPEND}
	dev-python/pycairo[${PYTHON_USEDEP}]
	x11-libs/vte
"

S="${WORKDIR}/${MY_PN}-${MY_PV}"

src_prepare() {
	default

	# Upstream's get_version requires a lot of BDEPENDS we do not want.
	sed 's%version=get_version()%version="0.5"%g' -i setup.py
}