[Midnightbsd-cvs] mports [21930] trunk/devel: python cffi
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Sep 28 23:01:20 EDT 2016
Revision: 21930
http://svnweb.midnightbsd.org/mports/?rev=21930
Author: laffer1
Date: 2016-09-28 23:01:20 -0400 (Wed, 28 Sep 2016)
Log Message:
-----------
python cffi
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/py-cffi/
trunk/devel/py-cffi/Makefile
trunk/devel/py-cffi/distinfo
trunk/devel/py-cffi/pkg-descr
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2016-09-29 02:59:08 UTC (rev 21929)
+++ trunk/devel/Makefile 2016-09-29 03:01:20 UTC (rev 21930)
@@ -430,6 +430,7 @@
SUBDIR += py-bcdoc
SUBDIR += py-boto
SUBDIR += py-botocore
+SUBDIR += py-cffi
SUBDIR += py-colorama
SUBDIR += py-dateutil
SUBDIR += py-dbus
Added: trunk/devel/py-cffi/Makefile
===================================================================
--- trunk/devel/py-cffi/Makefile (rev 0)
+++ trunk/devel/py-cffi/Makefile 2016-09-29 03:01:20 UTC (rev 21930)
@@ -0,0 +1,39 @@
+# $MidnightBSD$
+# $FreeBSD: head/devel/py-cffi/Makefile 420385 2016-08-18 05:41:51Z marino $
+
+PORTNAME= cffi
+PORTVERSION= 1.7.0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Foreign Function Interface for Python calling C code
+
+LICENSE= mit
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libffi.so:${PORTSDIR}/devel/libffi
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:${PORTSDIR}/devel/py-pycparser
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest
+
+# Actually 2.6-2.7,3.2-3.5
+USES= localbase python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.pre.mk>
+
+# Tests assume gcc, and fail on pure clang systems
+# Fixed in https://bitbucket.org/cffi/cffi/issues/271
+post-patch:
+ ${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/testing/cffi0/test_ownlib.py
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
+ ${PYDISTUTILS_SETUP} build_ext -i)
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -rs)
+
+.include <bsd.port.post.mk>
Property changes on: trunk/devel/py-cffi/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-cffi/distinfo
===================================================================
--- trunk/devel/py-cffi/distinfo (rev 0)
+++ trunk/devel/py-cffi/distinfo 2016-09-29 03:01:20 UTC (rev 21930)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1470928439
+SHA256 (cffi-1.7.0.tar.gz) = 6ed5dd6afd8361f34819c68aaebf9e8fc12b5a5893f91f50c9e50c8886bb60df
+SIZE (cffi-1.7.0.tar.gz) = 400251
Property changes on: trunk/devel/py-cffi/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-cffi/pkg-descr
===================================================================
--- trunk/devel/py-cffi/pkg-descr (rev 0)
+++ trunk/devel/py-cffi/pkg-descr 2016-09-29 03:01:20 UTC (rev 21930)
@@ -0,0 +1,3 @@
+Foreign Function Interface for Python calling C code.
+
+WWW: http://cffi.readthedocs.org/
Property changes on: trunk/devel/py-cffi/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list