pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-cffi



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 11 06:51:09 UTC 2024

Modified Files:
        pkgsrc/devel/py-cffi: Makefile distinfo

Log Message:
py-cffi: update to 1.17.0.

Add support for Python 3.13.

In API mode, when you get a function from a C library by writing
fn = lib.myfunc, you get an object of a special type for performance
reasons, instead of a <cdata ‘C-function-type’>. Before version
1.17 you could only call such objects. You could write ffi.addressof(lib,
“myfunc”) in order to get a real <cdata> object, based on the idea
that in these cases in C you’d usually write &myfunc instead of
myfunc. In version 1.17, the special object lib.myfunc can now be
passed in many places where CFFI expects a regular <cdata> object.
For example, you can now pass it as a callback to a C function
call, or write it inside a C structure field of the correct
pointer-to-function type, or use ffi.cast() or ffi.typeof() on it.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/py-cffi/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/py-cffi/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-cffi/Makefile
diff -u pkgsrc/devel/py-cffi/Makefile:1.55 pkgsrc/devel/py-cffi/Makefile:1.56
--- pkgsrc/devel/py-cffi/Makefile:1.55  Sun Nov  5 13:44:36 2023
+++ pkgsrc/devel/py-cffi/Makefile       Sun Aug 11 06:51:09 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.55 2023/11/05 13:44:36 wiz Exp $
+# $NetBSD: Makefile,v 1.56 2024/08/11 06:51:09 wiz Exp $
 
-DISTNAME=      cffi-1.16.0
+DISTNAME=      cffi-1.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cffi/}
 
@@ -20,6 +19,9 @@ USE_TOOLS+=   pkg-config
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
+# as of 1.17.0
+# 8 failed, 1910 passed, 130 skipped, 4 xfailed, 11 warnings
+
 .include "../../devel/libffi/buildlink3.mk"
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-cffi/distinfo
diff -u pkgsrc/devel/py-cffi/distinfo:1.49 pkgsrc/devel/py-cffi/distinfo:1.50
--- pkgsrc/devel/py-cffi/distinfo:1.49  Tue Mar 19 10:49:46 2024
+++ pkgsrc/devel/py-cffi/distinfo       Sun Aug 11 06:51:09 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.49 2024/03/19 10:49:46 nia Exp $
+$NetBSD: distinfo,v 1.50 2024/08/11 06:51:09 wiz Exp $
 
-BLAKE2s (cffi-1.16.0.tar.gz) = 9573f137415a07450c7403bd50d5335cd101f538567b9ada700cc00ed88eeff6
-SHA512 (cffi-1.16.0.tar.gz) = fd2588115092202aa9289c9d4e0a0b3e264b5e9ec1dc192950f31aeb412fd9f9d4e5c96a3f9c6762987b58ccc1e229f2012ddda89211797104df672d8ed51152
-Size (cffi-1.16.0.tar.gz) = 512873 bytes
+BLAKE2s (cffi-1.17.0.tar.gz) = f52fe87fb04b4fb2c4dd1eba819a098b359d891ea7c415631c6fc81ece0218a0
+SHA512 (cffi-1.17.0.tar.gz) = 8516abe177c2acfc31ede401287956cc4dc486b26ed9c4752811be71dc6bc94af3adf1f1f685a94e7242f052b74768bfbbb30ce41a3c23b9259c91449347566e
+Size (cffi-1.17.0.tar.gz) = 516073 bytes
 SHA1 (patch-setup.py) = 5d31edc3a7787f04f4e4f18fc4deb25daf338401
 SHA1 (patch-testing_cffi0_test__verify.py) = 91e903aa6aa89f997aba1578cb9452e6ac160f50
 SHA1 (patch-testing_cffi1_test__verify1.py) = 72d564ff8422bc1c8ed8b7058fb95ca669b69529



Home | Main Index | Thread Index | Old Index