-
Notifications
You must be signed in to change notification settings - Fork 13
/
linuxfd-1.3.ebuild
31 lines (23 loc) · 1.09 KB
/
linuxfd-1.3.ebuild
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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{3_3,3_4} )
inherit distutils-r1 linux-info
DESCRIPTION="Python bindings for the Linux eventfd/signalfd/timerfd syscalls"
HOMEPAGE="https://pypi.python.org/pypi/linuxfd/1.3 https://www.github.com/abelbeck/linuxfd"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="LGPL"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND=""
DOCS=( COPYING README )
CONFIG_CHECK="EVENTFD SIGNALFD TIMERFD"
ERROR_EVENTFD="${PN} requires support for timerfd() system calls (CONFIG_EVENTFD), being enabled in 'General setup -> Configure standard kernel features (expert users)'."
ERROR_SIGNALFD="${PN} requires support for signalfd() system calls (CONFIG_SIGNALFD), being enabled in 'General setup -> Configure standard kernel features (expert users)'."
ERROR_TIMERFD="${PN} requires support for eventfd() system calls (CONFIG_TIMERFD), being enabled in 'General setup -> Configure standard kernel features (expert users)'."
pkg_setup() {
linux-info_pkg_setup
}