summaryrefslogtreecommitdiff
blob: f7e08dd695877164bf00dee247afd4a045e43649 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )

inherit distutils-r1

DESCRIPTION="Python interface for libuv"
HOMEPAGE="https://pyuv.readthedocs.org/en"
SRC_URI="https://github.com/saghul/pyuv/archive/${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

# https://github.com/saghul/pyuv/blob/v1.x/setup_libuv.py#L117
RDEPEND=">=dev-libs/libuv-1.7.3:0/1"
DEPEND="${RDEPEND}"

S="${WORKDIR}/pyuv-pyuv-${PV}"

src_configure() {
	mydistutilsargs=( build_ext --use-system-libuv )
	distutils-r1_src_configure
}