Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: virtual/python-cffi/
Date: Wed, 30 Nov 2016 18:06:00
Message-Id: 1480529130.32a430d6f3c1cf269dd0582e08074513549121e2.mgorny@gentoo
1 commit: 32a430d6f3c1cf269dd0582e08074513549121e2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 30 15:10:01 2016 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 30 18:05:30 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32a430d6
7
8 virtual/python-cffi: Introduce a virtual for cffi package
9
10 virtual/python-cffi/metadata.xml | 8 ++++++++
11 virtual/python-cffi/python-cffi-0.ebuild | 24 ++++++++++++++++++++++++
12 2 files changed, 32 insertions(+)
13
14 diff --git a/virtual/python-cffi/metadata.xml b/virtual/python-cffi/metadata.xml
15 new file mode 100644
16 index 00000000..7f4f33c
17 --- /dev/null
18 +++ b/virtual/python-cffi/metadata.xml
19 @@ -0,0 +1,8 @@
20 +<?xml version="1.0" encoding="UTF-8"?>
21 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
22 +<pkgmetadata>
23 + <maintainer type="project">
24 + <email>python@g.o</email>
25 + <name>Python</name>
26 + </maintainer>
27 +</pkgmetadata>
28
29 diff --git a/virtual/python-cffi/python-cffi-0.ebuild b/virtual/python-cffi/python-cffi-0.ebuild
30 new file mode 100644
31 index 00000000..d5af52c
32 --- /dev/null
33 +++ b/virtual/python-cffi/python-cffi-0.ebuild
34 @@ -0,0 +1,24 @@
35 +# Copyright 1999-2016 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Id$
38 +
39 +EAPI=6
40 +
41 +PYTHON_COMPAT=( python2_7 python3_{4,5} pypy{,3} )
42 +
43 +inherit python-r1
44 +
45 +DESCRIPTION="A virtual for the Python cffi package"
46 +HOMEPAGE=""
47 +SRC_URI=""
48 +
49 +LICENSE=""
50 +SLOT="0"
51 +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"
52 +IUSE=""
53 +
54 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
55 +
56 +# built-in in PyPy and PyPy3
57 +RDEPEND="${PYTHON_DEPS}
58 + $(python_gen_cond_dep 'dev-python/cffi[${PYTHON_USEDEP}]' 'python*')"