net-p2p/nicotine+: Fix deps
authorPacho Ramos <pacho@gentoo.org>
Sat, 12 Jan 2019 10:30:51 +0000 (11:30 +0100)
committerPacho Ramos <pacho@gentoo.org>
Sat, 12 Jan 2019 10:30:51 +0000 (11:30 +0100)
Closes: https://bugs.gentoo.org/673916
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
net-p2p/nicotine+/nicotine+-1.4.1-r1.ebuild [new file with mode: 0644]

diff --git a/net-p2p/nicotine+/nicotine+-1.4.1-r1.ebuild b/net-p2p/nicotine+/nicotine+-1.4.1-r1.ebuild
new file mode 100644 (file)
index 0000000..97f31a5
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+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/1.4.1.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="
+       >=dev-python/pygtk-2.24[${PYTHON_USEDEP}]
+       media-libs/mutagen[${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/nicotine-plus-${PV}"
+
+src_install() {
+       distutils-r1_src_install
+       mv "${ED}/usr/share/doc/nicotine" "${ED}/usr/share/doc/${PF}" || die
+}