commit:     a948c22a3af74fdd0ce902cea6ef2c1bcc19c785
Author:     Efe İzbudak <efe.izbudak <AT> metu <DOT> edu <DOT> tr>
AuthorDate: Thu Jul 13 11:32:29 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 03:32:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a948c22a

net-p2p/nicotine+: needs python[gdbm]

Nicotine+ needs python[gdbm] as a runtime dependency.

Signed-off-by: Efe İzbudak <efe.izbudak <AT> metu.edu.tr>
Closes: https://github.com/gentoo/gentoo/pull/31865
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/nicotine+/nicotine+-3.2.9-r1.ebuild | 44 +++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/net-p2p/nicotine+/nicotine+-3.2.9-r1.ebuild 
b/net-p2p/nicotine+/nicotine+-3.2.9-r1.ebuild
new file mode 100644
index 000000000000..bbf1e8854cf3
--- /dev/null
+++ b/net-p2p/nicotine+/nicotine+-3.2.9-r1.ebuild
@@ -0,0 +1,44 @@
+# 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="gdbm"
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 xdg-utils
+
+DESCRIPTION="A fork of nicotine, a Soulseek client in Python"
+HOMEPAGE="https://github.com/Nicotine-Plus/nicotine-plus";
+SRC_URI="https://github.com/Nicotine-Plus/nicotine-plus/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="
+       dev-python/pygobject:3[${PYTHON_USEDEP}]
+       x11-libs/gtk+:3[introspection]
+       ${DEPEND}
+"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/nicotine-plus-${PV}"
+
+EPYTEST_IGNORE=(
+       "test/integration/test_startup.py"
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

Reply via email to