blob: 043fd37324ebdf2337377bc9da880bd754b8f294 (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_SINGLE_IMPL="yes"
PYTHON_COMPAT=( python2_7 )
inherit desktop distutils-r1
DESCRIPTION="Program to perform NMR spectra 'De-Pake-ing' and moment calculation"
HOMEPAGE="https://launchpad.net/nmrdepaker"
SRC_URI="https://launchpad.net/${PN}/${PV}/${PV}/+download/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-3+"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
|| (
>=dev-python/matplotlib-python2-0.98.5[gtk2,${PYTHON_USEDEP}]
>=dev-python/matplotlib-0.98.5[gtk2,${PYTHON_USEDEP}]
)
|| (
dev-python/numpy-python2[${PYTHON_USEDEP}]
>=dev-python/numpy-1.2[${PYTHON_USEDEP}]
)
>=dev-python/pygtk-2.12:2[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
S="${WORKDIR}/nmrdpaker-${PV}"
src_install() {
distutils-r1_src_install
newicon lib/data/images/unused/nmrfriend-buddy.svg ${PN}.svg
make_desktop_entry ${PN}
}
|