Parent Directory
|
Revision Log
Use virtual/libffi instead of dev-libs/libffi in case we have to move back to using libffi from gcc's source tree later. (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
| 1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/dev-python/cffi/cffi-0.2.1.ebuild,v 1.2 2012/08/09 04:30:38 patrick Exp $ |
| 4 | |
| 5 | EAPI="4" |
| 6 | PYTHON_DEPEND="2" |
| 7 | SUPPORT_PYTHON_ABIS="1" |
| 8 | RESTRICT_PYTHON_ABIS="3.* 2.5 2.5-jython" |
| 9 | |
| 10 | inherit distutils |
| 11 | |
| 12 | DESCRIPTION="Foreign Function Interface for Python calling C code." |
| 13 | HOMEPAGE="http://cffi.readthedocs.org/" |
| 14 | SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
| 15 | |
| 16 | LICENSE="MIT" |
| 17 | SLOT="0" |
| 18 | KEYWORDS="~amd64 ~x86" |
| 19 | IUSE="" |
| 20 | |
| 21 | DEPEND="virtual/libffi |
| 22 | dev-python/pycparser |
| 23 | dev-python/pytest" |
| 24 | RDEPEND="${DEPEND}" |
| 25 | |
| 26 | src_test() { |
| 27 | testing() { |
| 28 | PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" py.test c/ testing/ -x |
| 29 | } |
| 30 | python_execute_function testing |
| 31 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |