gentoo-overlay/dev-python/pycares/pycares-1.0.0.ebuild

26 lines
506 B
Bash
Raw Normal View History

2016-02-09 19:37:40 +00:00
2016-02-09 20:17:17 +00:00
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit eutils distutils-r1
DESCRIPTION="Simple DNS resolver for asyncio"
HOMEPAGE="https://github.com/saghul/pycares/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="net-dns/c-ares"
python_test() {
esetup.py test
}