summaryrefslogtreecommitdiff
blob: 97ddb346a80b9d6f2f0f4fe36fc815e8fb8fdbc2 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
PYTHON_COMPAT=( python3_4 )
AUTOTOOLS_AUTORECONF=yes

inherit autotools-utils python-r1

DESCRIPTION="The Python bindings to libcangjie"
HOMEPAGE="http://cangjians.github.io"
SRC_URI="https://github.com/Cangjians/pycangjie/releases/download/v${PV}/cangjie-${PV}.tar.xz"

LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="amd64 x86"

DEPEND="${PYTHON_DEPS}
	app-i18n/libcangjie
	dev-python/cython[${PYTHON_USEDEP}]"

RDEPEND="app-i18n/libcangjie
	${PYTHON_DEPS}"

PATCHES=( "${FILESDIR}/${P}-cython-022.patch" )

src_configure() {
	python_foreach_impl autotools-utils_src_configure
}

src_compile() {
	python_foreach_impl autotools-utils_src_compile
}

src_install() {
	python_foreach_impl autotools-utils_src_install
}