blob: 5239a296f16592e0fa5ce7872a03152834dd8d3f (
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
40
41
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
AT_M4DIR="build/autotools/"
inherit autotools python-single-r1
DESCRIPTION="Python bindings for the libmemphis library"
HOMEPAGE="http://gitorious.net/pymemphis"
SRC_URI="mirror://gentoo/${P}.tar.gz"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="LGPL-2.1"
IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]
')
media-libs/memphis"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${PN}-mainline
src_prepare() {
default
eautoreconf
sed 's:0.1:0.2:g' -i pymemphis.pc.in || die
}
src_install() {
default
find "${D}" -name '*.la' -delete || die
}
|