From 31e093a090cda5ce11825a74059877f7c9e212e0 Mon Sep 17 00:00:00 2001 From: eroen Date: Mon, 15 Sep 2014 16:43:41 +0200 Subject: cffi-0.8.6 from gentoo --- dev-python/cffi/Manifest | 1 + dev-python/cffi/cffi-0.8.6.ebuild | 35 +++++++++++++++++++++++++++++++++++ dev-python/cffi/metadata.xml | 8 ++++++++ 3 files changed, 44 insertions(+) create mode 100644 dev-python/cffi/Manifest create mode 100644 dev-python/cffi/cffi-0.8.6.ebuild create mode 100644 dev-python/cffi/metadata.xml (limited to 'dev-python') diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest new file mode 100644 index 00000000..b540b3a6 --- /dev/null +++ b/dev-python/cffi/Manifest @@ -0,0 +1 @@ +DIST cffi-0.8.6.tar.gz 196835 SHA256 2532d9e3af9e3c6d0f710fc98b0295b563c7f39cfd97dd2242bd36fbf4900610 SHA512 b913d459bf0d355f0cb42fa0587a940c227d6765450033b14ab4d5281173cd1875cd6872911bb4f0b567cc1c5b0ca330615ec5f6ba205b25c41b683ae8c77790 WHIRLPOOL 4a03a077f15f943e0f06acf1bc10572b19680379e36805dbfc3dfffb8a5d735d28d9bab38e2d233f3a347fc03cede8126cc2ce017c6e3a0896b9baecddfae39f diff --git a/dev-python/cffi/cffi-0.8.6.ebuild b/dev-python/cffi/cffi-0.8.6.ebuild new file mode 100644 index 00000000..0970f977 --- /dev/null +++ b/dev-python/cffi/cffi-0.8.6.ebuild @@ -0,0 +1,35 @@ +# 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_2,3_3,3_4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Foreign Function Interface for Python calling C code" +HOMEPAGE="http://cffi.readthedocs.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc" + +RDEPEND="virtual/libffi + dev-python/pycparser[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + py.test -x -v --ignore testing/test_zintegration.py c/ testing/ || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + use doc && dohtml -r doc/build/ +} diff --git a/dev-python/cffi/metadata.xml b/dev-python/cffi/metadata.xml new file mode 100644 index 00000000..bb68f391 --- /dev/null +++ b/dev-python/cffi/metadata.xml @@ -0,0 +1,8 @@ + + + + python + + cffi + + -- cgit v1.2.1