Diff profanity-0.14.0 with a profanity-0.14.0-r1

/usr/portage/net-im/profanity/profanity-0.14.0-r1.ebuild 2023-10-09 14:52:34.448368475 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_{10..11} )
7
inherit python-single-r1
8

  
6 9
DESCRIPTION="A console based XMPP client inspired by Irssi"
7 10
HOMEPAGE="https://profanity-im.github.io"
8
SRC_URI="https://github.com/profanity-im/profanity/releases/download/${PV}/${P}.tar.gz"
11
SRC_URI="
12
	https://github.com/profanity-im/profanity/releases/download/${PV}/${P}.tar.gz
13
	https://github.com/profanity-im/profanity/commit/122434a.patch
14
		-> ${PN}-0.14.0-ox-carbons.patch
15
	https://github.com/profanity-im/profanity/commit/2ed6211c.patch
16
		-> ${PN}-0.14.0-xscreensaver.patch
17
"
9 18

  
10 19
LICENSE="GPL-3"
11 20
SLOT="0"
12
KEYWORDS="amd64 ~arm64"
13
IUSE="libnotify omemo omemo-qrcode otr gpg test xscreensaver"
21
KEYWORDS="~amd64 ~arm64"
22
IUSE="libnotify omemo omemo-qrcode otr gpg test xscreensaver python"
14 23
RESTRICT="!test? ( test )"
15
REQUIRED_USE="omemo-qrcode? ( omemo )"
24
REQUIRED_USE="omemo-qrcode? ( omemo ) python? ( ${PYTHON_REQUIRED_USE} )"
16 25

  
17 26
RDEPEND="
18 27
	>=app-accessibility/at-spi2-core-2.46.0
......
36 45
	)
37 46
	omemo-qrcode? ( media-gfx/qrencode:= )
38 47
	otr? ( net-libs/libotr )
48
	python? ( ${PYTHON_DEPS} )
39 49
	xscreensaver? (
40 50
		x11-libs/libXScrnSaver
41 51
		x11-libs/libX11
......
44 54
DEPEND="
45 55
	${RDEPEND}
46 56
	test? ( dev-util/cmocka )
57
	python? (
58
		$(python_gen_cond_dep '
59
			dev-python/cython[${PYTHON_USEDEP}]
60
		')
61
	)
47 62
"
48 63

  
64
PATCHES=(
65
	"${DISTDIR}/${PN}-0.14.0-ox-carbons.patch"
66
	"${DISTDIR}/${PN}-0.14.0-xscreensaver.patch"
67
)
68

  
69
pkg_setup() {
70
	use python && python-single-r1_pkg_setup
71
}
72

  
49 73
src_configure() {
50 74
	local myeconfargs=(
51 75
		--enable-gdk-pixbuf
......
53 77
		$(use_enable omemo)
54 78
		$(use_enable omemo-qrcode)
55 79
		$(use_enable otr)
80
		$(use_enable python python-plugins)
56 81
		$(use_enable gpg pgp)
57 82
		$(use_with xscreensaver)
58 83
	)
Thank you!