pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-ctypes ctypes is an advanced ffi (Foreign Fun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/899c60a73da0
branches:  trunk
changeset: 519972:899c60a73da0
user:      epg <epg%pkgsrc.org@localhost>
date:      Fri Oct 13 02:30:49 2006 +0000

description:
ctypes is an advanced ffi (Foreign Function Interface) package for Python
2.3 and higher.

ctypes allows to call functions exposed from dlls/shared libraries and
has extensive facilities to create, access and manipulate simple and
complicated C data types in Python - in other words: wrap libraries in
pure Python.  It is even possible to implement C callback functions in
pure Python.

diffstat:

 devel/py-ctypes/DESCR    |    8 +
 devel/py-ctypes/Makefile |   15 +++
 devel/py-ctypes/PLIST    |  226 +++++++++++++++++++++++++++++++++++++++++++++++
 devel/py-ctypes/distinfo |    5 +
 4 files changed, 254 insertions(+), 0 deletions(-)

diffs (270 lines):

diff -r 88d2cb4a166f -r 899c60a73da0 devel/py-ctypes/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ctypes/DESCR     Fri Oct 13 02:30:49 2006 +0000
@@ -0,0 +1,8 @@
+ctypes is an advanced ffi (Foreign Function Interface) package for Python
+2.3 and higher.
+
+ctypes allows to call functions exposed from dlls/shared libraries and
+has extensive facilities to create, access and manipulate simple and
+complicated C data types in Python - in other words: wrap libraries in
+pure Python.  It is even possible to implement C callback functions in
+pure Python.
diff -r 88d2cb4a166f -r 899c60a73da0 devel/py-ctypes/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ctypes/Makefile  Fri Oct 13 02:30:49 2006 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/13 02:30:49 epg Exp $
+
+DISTNAME=      ctypes-1.0.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ctypes/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://starship.python.net/crew/theller/ctypes/
+COMMENT=       Foreign Function Interface package for Python
+
+PYDISTUTILSPKG=        yes
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 88d2cb4a166f -r 899c60a73da0 devel/py-ctypes/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ctypes/PLIST     Fri Oct 13 02:30:49 2006 +0000
@@ -0,0 +1,226 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/13 02:30:49 epg Exp $
+${PYSITELIB}/_ctypes.so
+${PYSITELIB}/_ctypes_test.so
+${PYSITELIB}/ctypes/__init__.py
+${PYSITELIB}/ctypes/__init__.pyc
+${PYSITELIB}/ctypes/__init__.pyo
+${PYSITELIB}/ctypes/__init__.pyo
+${PYSITELIB}/ctypes/_endian.py
+${PYSITELIB}/ctypes/_endian.pyc
+${PYSITELIB}/ctypes/_endian.pyo
+${PYSITELIB}/ctypes/_endian.pyo
+${PYSITELIB}/ctypes/macholib/__init__.py
+${PYSITELIB}/ctypes/macholib/__init__.pyc
+${PYSITELIB}/ctypes/macholib/__init__.pyo
+${PYSITELIB}/ctypes/macholib/__init__.pyo
+${PYSITELIB}/ctypes/macholib/dyld.py
+${PYSITELIB}/ctypes/macholib/dyld.pyc
+${PYSITELIB}/ctypes/macholib/dyld.pyo
+${PYSITELIB}/ctypes/macholib/dyld.pyo
+${PYSITELIB}/ctypes/macholib/dylib.py
+${PYSITELIB}/ctypes/macholib/dylib.pyc
+${PYSITELIB}/ctypes/macholib/dylib.pyo
+${PYSITELIB}/ctypes/macholib/dylib.pyo
+${PYSITELIB}/ctypes/macholib/framework.py
+${PYSITELIB}/ctypes/macholib/framework.pyc
+${PYSITELIB}/ctypes/macholib/framework.pyo
+${PYSITELIB}/ctypes/macholib/framework.pyo
+${PYSITELIB}/ctypes/test/__init__.py
+${PYSITELIB}/ctypes/test/__init__.pyc
+${PYSITELIB}/ctypes/test/__init__.pyo
+${PYSITELIB}/ctypes/test/__init__.pyo
+${PYSITELIB}/ctypes/test/runtests.py
+${PYSITELIB}/ctypes/test/runtests.pyc
+${PYSITELIB}/ctypes/test/runtests.pyo
+${PYSITELIB}/ctypes/test/runtests.pyo
+${PYSITELIB}/ctypes/test/test_anon.py
+${PYSITELIB}/ctypes/test/test_anon.pyc
+${PYSITELIB}/ctypes/test/test_anon.pyo
+${PYSITELIB}/ctypes/test/test_anon.pyo
+${PYSITELIB}/ctypes/test/test_array_in_pointer.py
+${PYSITELIB}/ctypes/test/test_array_in_pointer.pyc
+${PYSITELIB}/ctypes/test/test_array_in_pointer.pyo
+${PYSITELIB}/ctypes/test/test_array_in_pointer.pyo
+${PYSITELIB}/ctypes/test/test_arrays.py
+${PYSITELIB}/ctypes/test/test_arrays.pyc
+${PYSITELIB}/ctypes/test/test_arrays.pyo
+${PYSITELIB}/ctypes/test/test_arrays.pyo
+${PYSITELIB}/ctypes/test/test_bitfields.py
+${PYSITELIB}/ctypes/test/test_bitfields.pyc
+${PYSITELIB}/ctypes/test/test_bitfields.pyo
+${PYSITELIB}/ctypes/test/test_bitfields.pyo
+${PYSITELIB}/ctypes/test/test_buffers.py
+${PYSITELIB}/ctypes/test/test_buffers.pyc
+${PYSITELIB}/ctypes/test/test_buffers.pyo
+${PYSITELIB}/ctypes/test/test_buffers.pyo
+${PYSITELIB}/ctypes/test/test_byteswap.py
+${PYSITELIB}/ctypes/test/test_byteswap.pyc
+${PYSITELIB}/ctypes/test/test_byteswap.pyo
+${PYSITELIB}/ctypes/test/test_byteswap.pyo
+${PYSITELIB}/ctypes/test/test_callbacks.py
+${PYSITELIB}/ctypes/test/test_callbacks.pyc
+${PYSITELIB}/ctypes/test/test_callbacks.pyo
+${PYSITELIB}/ctypes/test/test_callbacks.pyo
+${PYSITELIB}/ctypes/test/test_cast.py
+${PYSITELIB}/ctypes/test/test_cast.pyc
+${PYSITELIB}/ctypes/test/test_cast.pyo
+${PYSITELIB}/ctypes/test/test_cast.pyo
+${PYSITELIB}/ctypes/test/test_cfuncs.py
+${PYSITELIB}/ctypes/test/test_cfuncs.pyc
+${PYSITELIB}/ctypes/test/test_cfuncs.pyo
+${PYSITELIB}/ctypes/test/test_cfuncs.pyo
+${PYSITELIB}/ctypes/test/test_checkretval.py
+${PYSITELIB}/ctypes/test/test_checkretval.pyc
+${PYSITELIB}/ctypes/test/test_checkretval.pyo
+${PYSITELIB}/ctypes/test/test_checkretval.pyo
+${PYSITELIB}/ctypes/test/test_errcheck.py
+${PYSITELIB}/ctypes/test/test_errcheck.pyc
+${PYSITELIB}/ctypes/test/test_errcheck.pyo
+${PYSITELIB}/ctypes/test/test_errcheck.pyo
+${PYSITELIB}/ctypes/test/test_find.py
+${PYSITELIB}/ctypes/test/test_find.pyc
+${PYSITELIB}/ctypes/test/test_find.pyo
+${PYSITELIB}/ctypes/test/test_find.pyo
+${PYSITELIB}/ctypes/test/test_funcptr.py
+${PYSITELIB}/ctypes/test/test_funcptr.pyc
+${PYSITELIB}/ctypes/test/test_funcptr.pyo
+${PYSITELIB}/ctypes/test/test_funcptr.pyo
+${PYSITELIB}/ctypes/test/test_functions.py
+${PYSITELIB}/ctypes/test/test_functions.pyc
+${PYSITELIB}/ctypes/test/test_functions.pyo
+${PYSITELIB}/ctypes/test/test_functions.pyo
+${PYSITELIB}/ctypes/test/test_incomplete.py
+${PYSITELIB}/ctypes/test/test_incomplete.pyc
+${PYSITELIB}/ctypes/test/test_incomplete.pyo
+${PYSITELIB}/ctypes/test/test_incomplete.pyo
+${PYSITELIB}/ctypes/test/test_init.py
+${PYSITELIB}/ctypes/test/test_init.pyc
+${PYSITELIB}/ctypes/test/test_init.pyo
+${PYSITELIB}/ctypes/test/test_init.pyo
+${PYSITELIB}/ctypes/test/test_integers.py
+${PYSITELIB}/ctypes/test/test_integers.pyc
+${PYSITELIB}/ctypes/test/test_integers.pyo
+${PYSITELIB}/ctypes/test/test_integers.pyo
+${PYSITELIB}/ctypes/test/test_internals.py
+${PYSITELIB}/ctypes/test/test_internals.pyc
+${PYSITELIB}/ctypes/test/test_internals.pyo
+${PYSITELIB}/ctypes/test/test_internals.pyo
+${PYSITELIB}/ctypes/test/test_keeprefs.py
+${PYSITELIB}/ctypes/test/test_keeprefs.pyc
+${PYSITELIB}/ctypes/test/test_keeprefs.pyo
+${PYSITELIB}/ctypes/test/test_keeprefs.pyo
+${PYSITELIB}/ctypes/test/test_libc.py
+${PYSITELIB}/ctypes/test/test_libc.pyc
+${PYSITELIB}/ctypes/test/test_libc.pyo
+${PYSITELIB}/ctypes/test/test_libc.pyo
+${PYSITELIB}/ctypes/test/test_loading.py
+${PYSITELIB}/ctypes/test/test_loading.pyc
+${PYSITELIB}/ctypes/test/test_loading.pyo
+${PYSITELIB}/ctypes/test/test_loading.pyo
+${PYSITELIB}/ctypes/test/test_macholib.py
+${PYSITELIB}/ctypes/test/test_macholib.pyc
+${PYSITELIB}/ctypes/test/test_macholib.pyo
+${PYSITELIB}/ctypes/test/test_macholib.pyo
+${PYSITELIB}/ctypes/test/test_memfunctions.py
+${PYSITELIB}/ctypes/test/test_memfunctions.pyc
+${PYSITELIB}/ctypes/test/test_memfunctions.pyo
+${PYSITELIB}/ctypes/test/test_memfunctions.pyo
+${PYSITELIB}/ctypes/test/test_numbers.py
+${PYSITELIB}/ctypes/test/test_numbers.pyc
+${PYSITELIB}/ctypes/test/test_numbers.pyo
+${PYSITELIB}/ctypes/test/test_numbers.pyo
+${PYSITELIB}/ctypes/test/test_objects.py
+${PYSITELIB}/ctypes/test/test_objects.pyc
+${PYSITELIB}/ctypes/test/test_objects.pyo
+${PYSITELIB}/ctypes/test/test_objects.pyo
+${PYSITELIB}/ctypes/test/test_parameters.py
+${PYSITELIB}/ctypes/test/test_parameters.pyc
+${PYSITELIB}/ctypes/test/test_parameters.pyo
+${PYSITELIB}/ctypes/test/test_parameters.pyo
+${PYSITELIB}/ctypes/test/test_pointers.py
+${PYSITELIB}/ctypes/test/test_pointers.pyc
+${PYSITELIB}/ctypes/test/test_pointers.pyo
+${PYSITELIB}/ctypes/test/test_pointers.pyo
+${PYSITELIB}/ctypes/test/test_prototypes.py
+${PYSITELIB}/ctypes/test/test_prototypes.pyc
+${PYSITELIB}/ctypes/test/test_prototypes.pyo
+${PYSITELIB}/ctypes/test/test_prototypes.pyo
+${PYSITELIB}/ctypes/test/test_python_api.py
+${PYSITELIB}/ctypes/test/test_python_api.pyc
+${PYSITELIB}/ctypes/test/test_python_api.pyo
+${PYSITELIB}/ctypes/test/test_python_api.pyo
+${PYSITELIB}/ctypes/test/test_random_things.py
+${PYSITELIB}/ctypes/test/test_random_things.pyc
+${PYSITELIB}/ctypes/test/test_random_things.pyo
+${PYSITELIB}/ctypes/test/test_random_things.pyo
+${PYSITELIB}/ctypes/test/test_refcounts.py
+${PYSITELIB}/ctypes/test/test_refcounts.pyc
+${PYSITELIB}/ctypes/test/test_refcounts.pyo
+${PYSITELIB}/ctypes/test/test_refcounts.pyo
+${PYSITELIB}/ctypes/test/test_repr.py
+${PYSITELIB}/ctypes/test/test_repr.pyc
+${PYSITELIB}/ctypes/test/test_repr.pyo
+${PYSITELIB}/ctypes/test/test_repr.pyo
+${PYSITELIB}/ctypes/test/test_returnfuncptrs.py
+${PYSITELIB}/ctypes/test/test_returnfuncptrs.pyc
+${PYSITELIB}/ctypes/test/test_returnfuncptrs.pyo
+${PYSITELIB}/ctypes/test/test_returnfuncptrs.pyo
+${PYSITELIB}/ctypes/test/test_simplesubclasses.py
+${PYSITELIB}/ctypes/test/test_simplesubclasses.pyc
+${PYSITELIB}/ctypes/test/test_simplesubclasses.pyo
+${PYSITELIB}/ctypes/test/test_simplesubclasses.pyo
+${PYSITELIB}/ctypes/test/test_sizes.py
+${PYSITELIB}/ctypes/test/test_sizes.pyc
+${PYSITELIB}/ctypes/test/test_sizes.pyo
+${PYSITELIB}/ctypes/test/test_sizes.pyo
+${PYSITELIB}/ctypes/test/test_slicing.py
+${PYSITELIB}/ctypes/test/test_slicing.pyc
+${PYSITELIB}/ctypes/test/test_slicing.pyo
+${PYSITELIB}/ctypes/test/test_slicing.pyo
+${PYSITELIB}/ctypes/test/test_stringptr.py
+${PYSITELIB}/ctypes/test/test_stringptr.pyc
+${PYSITELIB}/ctypes/test/test_stringptr.pyo
+${PYSITELIB}/ctypes/test/test_stringptr.pyo
+${PYSITELIB}/ctypes/test/test_strings.py
+${PYSITELIB}/ctypes/test/test_strings.pyc
+${PYSITELIB}/ctypes/test/test_strings.pyo
+${PYSITELIB}/ctypes/test/test_strings.pyo
+${PYSITELIB}/ctypes/test/test_struct_fields.py
+${PYSITELIB}/ctypes/test/test_struct_fields.pyc
+${PYSITELIB}/ctypes/test/test_struct_fields.pyo
+${PYSITELIB}/ctypes/test/test_struct_fields.pyo
+${PYSITELIB}/ctypes/test/test_structures.py
+${PYSITELIB}/ctypes/test/test_structures.pyc
+${PYSITELIB}/ctypes/test/test_structures.pyo
+${PYSITELIB}/ctypes/test/test_structures.pyo
+${PYSITELIB}/ctypes/test/test_unaligned_structures.py
+${PYSITELIB}/ctypes/test/test_unaligned_structures.pyc
+${PYSITELIB}/ctypes/test/test_unaligned_structures.pyo
+${PYSITELIB}/ctypes/test/test_unaligned_structures.pyo
+${PYSITELIB}/ctypes/test/test_unicode.py
+${PYSITELIB}/ctypes/test/test_unicode.pyc
+${PYSITELIB}/ctypes/test/test_unicode.pyo
+${PYSITELIB}/ctypes/test/test_unicode.pyo
+${PYSITELIB}/ctypes/test/test_values.py
+${PYSITELIB}/ctypes/test/test_values.pyc
+${PYSITELIB}/ctypes/test/test_values.pyo
+${PYSITELIB}/ctypes/test/test_values.pyo
+${PYSITELIB}/ctypes/test/test_varsize_struct.py
+${PYSITELIB}/ctypes/test/test_varsize_struct.pyc
+${PYSITELIB}/ctypes/test/test_varsize_struct.pyo
+${PYSITELIB}/ctypes/test/test_varsize_struct.pyo
+${PYSITELIB}/ctypes/test/test_win32.py
+${PYSITELIB}/ctypes/test/test_win32.pyc
+${PYSITELIB}/ctypes/test/test_win32.pyo
+${PYSITELIB}/ctypes/test/test_win32.pyo
+${PYSITELIB}/ctypes/util.py
+${PYSITELIB}/ctypes/util.pyc
+${PYSITELIB}/ctypes/util.pyo
+${PYSITELIB}/ctypes/util.pyo
+${PYSITELIB}/ctypes/wintypes.py
+${PYSITELIB}/ctypes/wintypes.pyc
+${PYSITELIB}/ctypes/wintypes.pyo
+${PYSITELIB}/ctypes/wintypes.pyo
+@dirrm ${PYSITELIB}/ctypes/test
+@dirrm ${PYSITELIB}/ctypes/macholib
+@dirrm ${PYSITELIB}/ctypes
diff -r 88d2cb4a166f -r 899c60a73da0 devel/py-ctypes/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-ctypes/distinfo  Fri Oct 13 02:30:49 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/10/13 02:30:49 epg Exp $
+
+SHA1 (ctypes-1.0.0.tar.gz) = e7d7e0510536c495d3bf87123a65931cf83d1505
+RMD160 (ctypes-1.0.0.tar.gz) = 78e491068c5e9c8a0e26f749a1b6ccc8e76995ed
+Size (ctypes-1.0.0.tar.gz) = 383190 bytes



Home | Main Index | Thread Index | Old Index