summaryrefslogtreecommitdiff
path: root/dev-python/cffi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-19 17:57:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-19 17:57:29 +0100
commitd473a706836012853193afc7000922601e4ada61 (patch)
tree01c43bd6b2121d90bc97ead47dd7654d9402ea1d /dev-python/cffi
parent420eeee727d39d869d864caddb04a80dafda7160 (diff)
gentoo resync : 19.10.2017
Diffstat (limited to 'dev-python/cffi')
-rw-r--r--dev-python/cffi/Manifest2
-rw-r--r--dev-python/cffi/cffi-1.11.2.ebuild50
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest
index 553ade640327..e9b21c5de842 100644
--- a/dev-python/cffi/Manifest
+++ b/dev-python/cffi/Manifest
@@ -1,7 +1,9 @@
DIST cffi-1.10.0.tar.gz 418131 SHA256 b3b02911eb1f6ada203b0763ba924234629b51586f72a21faacc638269f4ced5 SHA512 02c9987c44698708dcb7e0aa17637df6b15f81732dc25b03e54563ca5664a817863b87daf7a782a62c7b6150388cdca858ef496a975ab289c86f05e5492465ef WHIRLPOOL 577cd975c6937537184b19432d185461964e5b66e851b1e3c4a8a3cc4a6a3329689dc15da717fb1921380af7479ca4dc9cb98c92a3763fe982abc582c012f474
+DIST cffi-1.11.2.tar.gz 435142 SHA256 ab87dd91c0c4073758d07334c1e5f712ce8fe48f007b86f8238773963ee700a6 SHA512 8ccd8988bb6b4beb760abe5d8cac7cbf65a7dcfad5a535343e5961912751f426fdf6e602a983430e6aa9f56f2f623855b0cfb5ed8e5294a95d122866a4533eda WHIRLPOOL 103c9d2681cc88c33677ea9c31eab059b0e061814a9178899d0a589fae2d1059289f0d352ff99cd4bf378649a3ae9af6af783445d91845487ef10b1a99327642
DIST cffi-1.5.2.tar.gz 388793 SHA256 da9bde99872e46f7bb5cff40a9b1cc08406765efafb583c704de108b6cb821dd SHA512 3c707db85032bc13287beec0211d85a7b9f9dfcb87844adba3a86b23211acd495e88072ec23f22e7c7626d25cadd5b9843c34255d4080eefb171020ad0a2d552 WHIRLPOOL 35cfd86d06dcc2bb2a0e8e196f06d5df0eeaa6dd65d13dc4489284108fa596a88f46918c5b70e38584965290d141f5cbf0e2bcb469c3316cd1962109d77889dd
DIST cffi-1.9.1.tar.gz 407108 SHA256 563e0bd53fda03c151573217b3a49b3abad8813de9dd0632e10090f6190fdaf8 SHA512 6e76f181b6b7b760a14ad70338edd104a8b8e2eac5680e336d3868e0bd031a1665608e29a65dc0c56806afb8a8c03811586f151f3acef11e54e60c1bfcf902e3 WHIRLPOOL 12f9c044b7552520e5fe373fe85b0437734cee79a3f9a7eb1ec107ee877c85830e7f5d327d4a4a9504176cdb207a44e169ab52896a78459f00af285fd660c106
EBUILD cffi-1.10.0.ebuild 1480 SHA256 6a37ff9df3a062934cce8babf3f4a45796cae07677f3eaecb42e10150d12bb94 SHA512 53a7ffd66b39c0913db5fb8a1d299964311243282a0adb95b3a909fa1875777d5a4d0fa730805a1f488a157f27083f6221884662ed6e57d6772e752421a62b5c WHIRLPOOL cfc976b39c431bfe0683f6f8b3c609f06d5f6de25085dac087de56eeffb5b681bdce0f546d24709861cde86c4b14bdcdb65abe71a4161947ec15eec07859d685
+EBUILD cffi-1.11.2.ebuild 1480 SHA256 6a37ff9df3a062934cce8babf3f4a45796cae07677f3eaecb42e10150d12bb94 SHA512 53a7ffd66b39c0913db5fb8a1d299964311243282a0adb95b3a909fa1875777d5a4d0fa730805a1f488a157f27083f6221884662ed6e57d6772e752421a62b5c WHIRLPOOL cfc976b39c431bfe0683f6f8b3c609f06d5f6de25085dac087de56eeffb5b681bdce0f546d24709861cde86c4b14bdcdb65abe71a4161947ec15eec07859d685
EBUILD cffi-1.5.2.ebuild 1455 SHA256 9749edbd69a91b95709048e6a305bc4ea7ba5d29c812ad4649b80631853cb14d SHA512 645a517547580caa1198202297c741f4fdf39711f2db34eb6bbd3d8e1d11482baaeee704f9c2d9a48565221c78d4ee279a90171164dabc46d31937e67f9d71ca WHIRLPOOL de14d8753d4c667c6f03a8ba42ff0ea461d53cccc647872c22de65a310443ecf4c01599658ef47015e550c11cc2832980f57e6aa0eea3107330dd5e2956f3ccf
EBUILD cffi-1.9.1.ebuild 1470 SHA256 df18dc7557446b432afafca07e6d63125ac471310f3069bf9f1e304c522af44d SHA512 54dce8ee5a318e032fe01e6e47682674a7f9c0f5d04f56e96ffd028902d19e2bceecef123cfca68f3c0048ca40193fc49ebaac555ada72847642331d85ccd7c3 WHIRLPOOL aec65e37623392ade75056c8a0c73a9f917baf67a134b9937ef441557ae9eabe95142130a599dff14dee9801be6f18d58793d50a63968bd1ba834c58dbb2b8b7
MISC ChangeLog 12470 SHA256 43b0a91647f5b908f4a76d094235858a90e4683ed9b23098426ebbece68c122d SHA512 1632b347a58423975514e9d7cb73257dfa5596dfc2acc88923b918a2775bab074b737b89520aa8476837d77d331d78130e3ca8602cef43a0c9ca80cb82957dce WHIRLPOOL 25ac62b089d47c43bd54791dc7470f4c6c714c7a7ffd8e8429467949a45be96594ae4b22bfda01c032746da38588faf517bf224bc4363379ba007839e5a171af
diff --git a/dev-python/cffi/cffi-1.11.2.ebuild b/dev-python/cffi/cffi-1.11.2.ebuild
new file mode 100644
index 000000000000..63bcc3190973
--- /dev/null
+++ b/dev-python/cffi/cffi-1.11.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# 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_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Foreign Function Interface for Python calling C code"
+HOMEPAGE="https://cffi.readthedocs.io/ 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 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
+IUSE="doc test"
+
+RDEPEND="
+ virtual/libffi
+ dev-python/pycparser[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+# 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() {
+ einfo "$PYTHONPATH"
+ $PYTHON -c "import _cffi_backend as backend" || die
+ PYTHONPATH="${PYTHONPATH}" \
+ py.test -x -v \
+ --ignore testing/test_zintegration.py \
+ --ignore testing/embedding \
+ c/ testing/ \
+ || die "Testing failed with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/build/html/. )
+ distutils-r1_python_install_all
+}