commit:     32a430d6f3c1cf269dd0582e08074513549121e2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 15:10:01 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 18:05:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a430d6

virtual/python-cffi: Introduce a virtual for cffi package

 virtual/python-cffi/metadata.xml         |  8 ++++++++
 virtual/python-cffi/python-cffi-0.ebuild | 24 ++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/virtual/python-cffi/metadata.xml b/virtual/python-cffi/metadata.xml
new file mode 100644
index 00000000..7f4f33c
--- /dev/null
+++ b/virtual/python-cffi/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>pyt...@gentoo.org</email>
+               <name>Python</name>
+       </maintainer>
+</pkgmetadata>

diff --git a/virtual/python-cffi/python-cffi-0.ebuild 
b/virtual/python-cffi/python-cffi-0.ebuild
new file mode 100644
index 00000000..d5af52c
--- /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*')"

Reply via email to