mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 18:41:17 +02:00
create bsd12 branch
This commit is contained in:
31
python/py-cffi/Makefile
Normal file
31
python/py-cffi/Makefile
Normal file
@@ -0,0 +1,31 @@
|
||||
# Created by: William Grzybowski <wg@FreeBSD.org>
|
||||
# $FreeBSD: head/devel/py-cffi/Makefile 472884 2018-06-20 17:05:41Z mat $
|
||||
|
||||
PORTNAME= cffi
|
||||
PORTVERSION= 1.11.5
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= wg@FreeBSD.org
|
||||
COMMENT= Foreign Function Interface for Python calling C code
|
||||
|
||||
LIB_DEPENDS= libffi.so:devel/libffi
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:python/py-pycparser@${PY_FLAVOR}
|
||||
|
||||
# Actually 2.6-2.7,3.2-3.5
|
||||
USES= localbase python compiler
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
|
||||
.if ${COMPILER_TYPE:Mclang}
|
||||
CFLAGS+= -Wno-shift-negative-value
|
||||
.endif
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
python/py-cffi/distinfo
Normal file
3
python/py-cffi/distinfo
Normal file
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1522555152
|
||||
SHA256 (cffi-1.11.5.tar.gz) = e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4
|
||||
SIZE (cffi-1.11.5.tar.gz) = 438498
|
||||
3
python/py-cffi/pkg-descr
Normal file
3
python/py-cffi/pkg-descr
Normal file
@@ -0,0 +1,3 @@
|
||||
Foreign Function Interface for Python calling C code.
|
||||
|
||||
WWW: http://cffi.readthedocs.org/
|
||||
Reference in New Issue
Block a user