From da9c5b3126d42bcb170edd056e751e83e712b810 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Wed, 5 Jul 2017 00:15:29 +0300 Subject: [PATCH] add python/cffi-1.10.0 --- components/components.whitelist | 1 + components/python/cffi/Makefile | 24 ++++++++++++++++++++++ components/python/cffi/cffi-PYVER.p5m | 38 +++++++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+) create mode 100644 components/python/cffi/Makefile create mode 100644 components/python/cffi/cffi-PYVER.p5m diff --git a/components/components.whitelist b/components/components.whitelist index 58ba80982..c9bdd2c46 100644 --- a/components/components.whitelist +++ b/components/components.whitelist @@ -43,6 +43,7 @@ libxslt$ network/ntp$ nghttp2$ python/python27$ +python/cffi$ python/cherrypy$ python/jsonrpclib$ python/jsonschema$ diff --git a/components/python/cffi/Makefile b/components/python/cffi/Makefile new file mode 100644 index 000000000..0b9e0423f --- /dev/null +++ b/components/python/cffi/Makefile @@ -0,0 +1,24 @@ +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= cffi +COMPONENT_VERSION= 1.10.0 +COMPONENT_PROJECT_URL= http://cffi.readthedocs.org/ +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz +COMPONENT_LICENSE= MIT +COMPONENT_LICENSE_FILE= $(COMPONENT_SRC)/LICENSE +COMPONENT_ARCHIVE_HASH= \ + sha256:b3b02911eb1f6ada203b0763ba924234629b51586f72a21faacc638269f4ced5 +COMPONENT_ARCHIVE_URL= $(call pypi_url) + +PYTHON_VERSIONS= 2.7 + +include $(WS_MAKE_RULES)/prep.mk +include $(WS_MAKE_RULES)/setup.py.mk +include $(WS_MAKE_RULES)/ips.mk + +build: $(BUILD_32_and_64) +install: $(INSTALL_32_and_64) + +REQUIRED_PACKAGES += runtime/python-27 +REQUIRED_PACKAGES += system/library diff --git a/components/python/cffi/cffi-PYVER.p5m b/components/python/cffi/cffi-PYVER.p5m new file mode 100644 index 000000000..c4aae33f0 --- /dev/null +++ b/components/python/cffi/cffi-PYVER.p5m @@ -0,0 +1,38 @@ +set name=pkg.fmri value=pkg:/library/python/cffi-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="Foreign Function Interface for Python calling C code." +set name=info.classification value="$(COMPONENT_CLASSIFICATION)" +set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) +set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' + +file path=usr/lib/python2.7/vendor-packages/64/_cffi_backend.so +file path=usr/lib/python2.7/vendor-packages/_cffi_backend.so +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/PKG-INFO +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/SOURCES.txt +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/dependency_links.txt +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/entry_points.txt +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/not-zip-safe +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/requires.txt +file path=usr/lib/python2.7/vendor-packages/cffi-$(COMPONENT_VERSION)-py2.7.egg-info/top_level.txt +file path=usr/lib/python2.7/vendor-packages/cffi/__init__.py +file path=usr/lib/python2.7/vendor-packages/cffi/_cffi_include.h +file path=usr/lib/python2.7/vendor-packages/cffi/_embedding.h +file path=usr/lib/python2.7/vendor-packages/cffi/api.py +file path=usr/lib/python2.7/vendor-packages/cffi/backend_ctypes.py +file path=usr/lib/python2.7/vendor-packages/cffi/cffi_opcode.py +file path=usr/lib/python2.7/vendor-packages/cffi/commontypes.py +file path=usr/lib/python2.7/vendor-packages/cffi/cparser.py +file path=usr/lib/python2.7/vendor-packages/cffi/error.py +file path=usr/lib/python2.7/vendor-packages/cffi/ffiplatform.py +file path=usr/lib/python2.7/vendor-packages/cffi/lock.py +file path=usr/lib/python2.7/vendor-packages/cffi/model.py +file path=usr/lib/python2.7/vendor-packages/cffi/parse_c_type.h +file path=usr/lib/python2.7/vendor-packages/cffi/recompiler.py +file path=usr/lib/python2.7/vendor-packages/cffi/setuptools_ext.py +file path=usr/lib/python2.7/vendor-packages/cffi/vengine_cpy.py +file path=usr/lib/python2.7/vendor-packages/cffi/vengine_gen.py +file path=usr/lib/python2.7/vendor-packages/cffi/verifier.py + +depend type=require fmri=library/python/pycparser-$(PYV) -- 2.11.4.GIT