1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 1.12.2

- Take maintainership

Changes:	https://cffi.readthedocs.io/en/latest/whatsnew.html
		https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
PR:		236265
Submitted by:	sunpoet (myself)
Approved by:	wg (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-03-06 18:07:41 +00:00
parent 717733405f
commit 97861dccd3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494818
2 changed files with 8 additions and 10 deletions

View File

@ -2,23 +2,22 @@
# $FreeBSD$
PORTNAME= cffi
PORTVERSION= 1.11.5
PORTVERSION= 1.12.2
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Foreign Function Interface for Python calling C code
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libffi.so:devel/libffi
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:devel/py-pycparser@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=0:devel/py-pycparser@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
# Actually 2.6-2.7,3.2-3.5
USES= localbase python compiler
USES= compiler localbase python
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
@ -31,8 +30,7 @@ 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} ${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>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1522555152
SHA256 (cffi-1.11.5.tar.gz) = e90f17980e6ab0f3c2f3730e56d1fe9bcba1891eeea58966e89d352492cc74f4
SIZE (cffi-1.11.5.tar.gz) = 438498
TIMESTAMP = 1551681280
SHA256 (cffi-1.12.2.tar.gz) = e113878a446c6228669144ae8a56e268c91b7f1fafae927adc4879d9849e0ea7
SIZE (cffi-1.12.2.tar.gz) = 453893