Lines 1-13
Link Here
|
1 |
# Copyright 1999-2011 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/p3d/p3d-0.4.3.ebuild,v 1.2 2011/06/26 08:46:21 jlec Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/p3d/p3d-0.4.3.ebuild,v 1.2 2011/06/26 08:46:21 jlec Exp $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
PYTHON_DEPEND="2" |
7 |
PYTHON_COMPAT=( python2_7 ) |
8 |
SUPPORT_PYTHON_ABIS="1" |
8 |
DISTUTILS_SINGLE_IMPL=1 |
9 |
|
9 |
|
10 |
inherit distutils versionator |
10 |
inherit distutils-r1 versionator |
11 |
|
11 |
|
12 |
MY_P="${PN}-$(replace_version_separator 3 -)" |
12 |
MY_P="${PN}-$(replace_version_separator 3 -)" |
13 |
GITHUB_ID="gb8b9a75" |
13 |
GITHUB_ID="gb8b9a75" |
Lines 21-35
Link Here
|
21 |
LICENSE="GPL-3" |
21 |
LICENSE="GPL-3" |
22 |
IUSE="examples" |
22 |
IUSE="examples" |
23 |
|
23 |
|
24 |
src_prepare() { |
24 |
S="${WORKDIR}"/fu-${PN}-9128134 |
25 |
mv fu* ${P} |
25 |
|
26 |
distutils_src_prepare |
26 |
pkg_setup() { |
|
|
27 |
python-single-r1_pkg_setup |
27 |
} |
28 |
} |
28 |
|
29 |
|
29 |
src_install() { |
30 |
python_install_all() { |
30 |
distutils_src_install |
|
|
31 |
if use examples; then |
31 |
if use examples; then |
32 |
insinto /usr/share/${PN} |
32 |
local EXAMPLES=( pdbs ) |
33 |
doins -r pdbs exampleScripts || die |
33 |
EXAMPLES+=( exampleScripts ) |
34 |
fi |
34 |
fi |
|
|
35 |
distutils-r1_python_install_all |
35 |
} |
36 |
} |