From 285b5325ac67ccc6dcfc98c08e6264e886ca44a2 Mon Sep 17 00:00:00 2001 From: KronoZed Date: Sat, 1 Oct 2016 08:43:59 +0300 Subject: [PATCH] Create pycares-2.1.0.ebuild --- dev-python/pycares/pycares-2.1.0.ebuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-python/pycares/pycares-2.1.0.ebuild diff --git a/dev-python/pycares/pycares-2.1.0.ebuild b/dev-python/pycares/pycares-2.1.0.ebuild new file mode 100644 index 0000000..99f037d --- /dev/null +++ b/dev-python/pycares/pycares-2.1.0.ebuild @@ -0,0 +1,24 @@ +# 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="Python interface for c-ares" +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 +}