From: Michał Górny Date: Wed, 30 Nov 2016 15:10:01 +0000 (+0100) Subject: virtual/python-cffi: Introduce a virtual for cffi package X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=32a430d6f3c1cf269dd0582e08074513549121e2;p=gentoo.git virtual/python-cffi: Introduce a virtual for cffi package --- diff --git a/virtual/python-cffi/metadata.xml b/virtual/python-cffi/metadata.xml new file mode 100644 index 000000000000..7f4f33c6dbc9 --- /dev/null +++ b/virtual/python-cffi/metadata.xml @@ -0,0 +1,8 @@ + + + + + python@gentoo.org + Python + + diff --git a/virtual/python-cffi/python-cffi-0.ebuild b/virtual/python-cffi/python-cffi-0.ebuild new file mode 100644 index 000000000000..d5af52c57744 --- /dev/null +++ b/virtual/python-cffi/python-cffi-0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} ) + +inherit python-r1 + +DESCRIPTION="A virtual for the Python cffi package" +HOMEPAGE="" +SRC_URI="" + +LICENSE="" +SLOT="0" +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="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# built-in in PyPy and PyPy3 +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*')"