diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-10-21 16:44:06 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-10-21 17:17:39 +0200 |
commit | 76f85d6b80750ee02168a9b3d640d78a96c14bad (patch) | |
tree | eba1a3c4d10c9bda5a2990fd0948b373de4d6bc1 | |
parent | dev-vcs/git: add alpha keyword (diff) | |
download | gentoo-76f85d6b80750ee02168a9b3d640d78a96c14bad.tar.gz gentoo-76f85d6b80750ee02168a9b3d640d78a96c14bad.tar.bz2 gentoo-76f85d6b80750ee02168a9b3d640d78a96c14bad.zip |
dev-python/cffi: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r-- | dev-python/cffi/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cffi/cffi-1.3.0.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest index d3d7ea9da2bb..e42d5135feb0 100644 --- a/dev-python/cffi/Manifest +++ b/dev-python/cffi/Manifest @@ -1,3 +1,4 @@ DIST cffi-0.8.6.tar.gz 196835 SHA256 2532d9e3af9e3c6d0f710fc98b0295b563c7f39cfd97dd2242bd36fbf4900610 SHA512 b913d459bf0d355f0cb42fa0587a940c227d6765450033b14ab4d5281173cd1875cd6872911bb4f0b567cc1c5b0ca330615ec5f6ba205b25c41b683ae8c77790 WHIRLPOOL 4a03a077f15f943e0f06acf1bc10572b19680379e36805dbfc3dfffb8a5d735d28d9bab38e2d233f3a347fc03cede8126cc2ce017c6e3a0896b9baecddfae39f DIST cffi-1.1.2.tar.gz 326758 SHA256 390970b602708c91ddc73953bb6929e56291c18a4d80f360afa00fad8b6f3339 SHA512 d146984013b63382ea64bd2d6188cdbf9154cf83d66bf4dbb9353f1daea66f9eae07c6da47e152c5758d3458a742adde0310f71c792eb0a80950d7f857bfb943 WHIRLPOOL 02b92f0d13b02e351ba63e55a731c0b5480ae0b376c99a8dc1a256b3b55bf0119b4238dca88171605c1348b0847a6ff305ba4ec69cd1b42b9950708f42d6067e DIST cffi-1.2.1.tar.gz 335778 SHA256 eab571deb0a152e2f53c404c08a94870a131526896cad08cd43bf86ce3771e3d SHA512 26ab695d34ef1895f38c735b2c6400cbf6325d622ce93799513130791365bb71d656288e991b86861ac8e899872504c1f4368d27104c4ac9b881c83c7f8dad88 WHIRLPOOL a8bbe3c24be660946c1f31fbb8b1f50810f78b9485a32aadfb091a624b5386641bde71981c58792f8e95e8e77cfce7d9959eb197c417464cf5351e568aa6336d +DIST cffi-1.3.0.tar.gz 347342 SHA256 9daa53aff0b5cf64c85c10eab7ce6776880d0ee71b78cedeae196ae82b6734e9 SHA512 2ea789d67782b2f23501bea4480f42f79e312d047e2d8c777aab8113400cfa136585aa92c0a51608a0da35cd6734bc24914fcccfc5bbdad3041aad2e9f784400 WHIRLPOOL 5daea22a7ad04a68aea0f962de8ff08c96b41d45539c43d2157ebc7f26799cf75f251b6b5c54901bc4f8e988791cc3ddefc52528b1c0ab3d3163adc56dea452a diff --git a/dev-python/cffi/cffi-1.3.0.ebuild b/dev-python/cffi/cffi-1.3.0.ebuild new file mode 100644 index 000000000000..762c53823878 --- /dev/null +++ b/dev-python/cffi/cffi-1.3.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# DO NOT ADD pypy to PYTHON_COMPAT +# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. +PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) + +inherit distutils-r1 + +DESCRIPTION="Foreign Function Interface for Python calling C code" +HOMEPAGE="http://cffi.readthedocs.org/ https://pypi.python.org/pypi/cffi" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="doc" + +RDEPEND=" + virtual/libffi + dev-python/pycparser[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile) +DISTUTILS_IN_SOURCE_BUILD=1 + +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() { + use doc && local HTML_DOCS=( doc/build/html/. ) + distutils-r1_python_install_all +} |