Lines 1-7
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2014 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 |
|
3 |
|
4 |
EAPI=5 |
4 |
EAPI=6 |
5 |
|
5 |
|
6 |
PYTHON_COMPAT=( python2_7 ) |
6 |
PYTHON_COMPAT=( python2_7 ) |
7 |
|
7 |
|
Lines 27-35
Link Here
|
27 |
|
27 |
|
28 |
S="${WORKDIR}/${MY_P}" |
28 |
S="${WORKDIR}/${MY_P}" |
29 |
|
29 |
|
|
|
30 |
PATCHES=("${FILESDIR}/${P}-hashlib-r2.patch") |
31 |
|
30 |
src_prepare() { |
32 |
src_prepare() { |
31 |
epatch "${FILESDIR}/${PN}-tar_call_fixes.patch" |
33 |
default |
32 |
epatch "${FILESDIR}/${P}-hashlib.patch" |
|
|
33 |
|
34 |
|
34 |
sed '/python setup.py build/d' -i Makefile |
35 |
sed '/python setup.py build/d' -i Makefile |
35 |
|
36 |
|
Lines 41-47
Link Here
|
41 |
|
42 |
|
42 |
src_compile() { |
43 |
src_compile() { |
43 |
distutils-r1_src_compile |
44 |
distutils-r1_src_compile |
44 |
emake CC="$(tc-getCC)" || die "emake failed" |
45 |
emake CC="$(tc-getCC)" |
45 |
} |
46 |
} |
46 |
|
47 |
|
47 |
python_install() { |
48 |
python_install() { |
Lines 55-63
Link Here
|
55 |
|
56 |
|
56 |
src_install() { |
57 |
src_install() { |
57 |
distutils-r1_src_install |
58 |
distutils-r1_src_install |
|
|
59 |
|
60 |
dobin ipkg-compare-versions |
58 |
} |
61 |
} |
59 |
|
62 |
|
60 |
pkg_postinst() { |
63 |
pkg_postinst() { |
61 |
elog "Consider installing sys-apps/fakeroot for use with the ipkg-build command," |
64 |
elog "Consider installing sys-apps/fakeroot for use with the ipkg-build " |
62 |
elog "that makes it possible to build packages as a normal user." |
65 |
elog "command, that makes it possible to build packages as a normal user." |
63 |
} |
66 |
} |