author | Ronald Jordan <ron.jordan@oracle.com> |
Tue, 11 Oct 2016 11:55:12 -0700 | |
branch | s11u3-sru |
changeset 7085 | cad8ee01213d |
parent 4072 | db0cec748ec0 |
permissions | -rw-r--r-- |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
1 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
3 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
7 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
12 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
18 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
20 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
21 |
|
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
22 |
# |
7085
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
23 |
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
24 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
25 |
|
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
26 |
set name=pkg.fmri \ |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
27 |
value=pkg:/library/python/cffi-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
28 |
set name=pkg.summary \ |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
29 |
value="Foreign function interface for Python calling C code" |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
30 |
set name=pkg.description \ |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
31 |
value="CFFI provides a convenient and reliable way of calling C code from Python. It does not require learning a new language or an extensive API, and tries to minimize the amount of C code you have to write. It works at both an ABI level, allowing you to reference symbols in libraries as well as at an API level, allowing you to embed C code in your Python program." |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
32 |
set name=com.oracle.info.description value="the cffi Python module" |
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
3113
diff
changeset
|
33 |
set name=com.oracle.info.tpno value=$(TPNO) |
3734
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
34 |
set name=info.classification value=org.opensolaris.category.2008:Development/C \ |
24181f5eb463
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
35 |
value=org.opensolaris.category.2008:Development/Python |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
36 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
37 |
set name=info.upstream [email protected] |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
38 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
39 |
set name=org.opensolaris.arc-caseid value=PSARC/2014/110 |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
40 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
41 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
42 |
file path=usr/lib/python$(PYVER)/vendor-packages/64/_cffi_backend.so |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
43 |
file path=usr/lib/python$(PYVER)/vendor-packages/_cffi_backend.so |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
44 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
45 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
46 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
7085
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
47 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
48 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
49 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
50 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
51 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/__init__.py |
7085
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
52 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/_cffi_include.h |
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
53 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/_embedding.h |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
54 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/api.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
55 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/backend_ctypes.py |
7085
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
56 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/cffi_opcode.py |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
57 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/commontypes.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
58 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/cparser.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
59 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/ffiplatform.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
60 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/gc_weakref.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
61 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/lock.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
62 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/model.py |
7085
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
63 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/parse_c_type.h |
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
64 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/recompiler.py |
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
65 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/setuptools_ext.py |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
66 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/vengine_cpy.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
67 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/vengine_gen.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
68 |
file path=usr/lib/python$(PYVER)/vendor-packages/cffi/verifier.py |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
69 |
# |
7085
cad8ee01213d
23206271 Upgrade cffi to 1.5.2
Ronald Jordan <ron.jordan@oracle.com>
parents:
4072
diff
changeset
|
70 |
license cffi.license license=MIT |
3113
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
71 |
# |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
72 |
# force a dependency on the Python runtime |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
73 |
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
74 |
pkg.debug.depend.path=usr/bin |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
75 |
|
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
76 |
# force a dependency on the cffi package |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
77 |
depend type=require \ |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
78 |
fmri=library/python/cffi@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
79 |
|
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
80 |
# force a dependency on pycparser; pkgdepend work is needed to flush this |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
81 |
# out. |
49fd14223e17
PSARC/2014/110 CFFI: foreign function interface for Python calling C code
Danek Duvall <danek.duvall@oracle.com>
parents:
diff
changeset
|
82 |
depend type=require fmri=library/python/pycparser-$(PYV) |