summaryrefslogtreecommitdiff
path: root/devel/py-ctypes
diff options
context:
space:
mode:
authorepg <epg>2006-10-13 02:30:49 +0000
committerepg <epg>2006-10-13 02:30:49 +0000
commitc633bf7797d53e48bd730d0f65b165a88cfa58ee (patch)
treed22672b00e26be5fedefe9aa56c97bfd54650ab6 /devel/py-ctypes
parentafd24066da2d4951ae9a70c85deaafa7b4899016 (diff)
downloadpkgsrc-c633bf7797d53e48bd730d0f65b165a88cfa58ee.tar.gz
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 (limited to 'devel/py-ctypes')
-rw-r--r--devel/py-ctypes/DESCR8
-rw-r--r--devel/py-ctypes/Makefile15
-rw-r--r--devel/py-ctypes/PLIST226
-rw-r--r--devel/py-ctypes/distinfo5
4 files changed, 254 insertions, 0 deletions
diff --git a/devel/py-ctypes/DESCR b/devel/py-ctypes/DESCR
new file mode 100644
index 00000000000..c24a42dc6ea
--- /dev/null
+++ b/devel/py-ctypes/DESCR
@@ -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 --git a/devel/py-ctypes/Makefile b/devel/py-ctypes/Makefile
new file mode 100644
index 00000000000..bdc6342fd50
--- /dev/null
+++ b/devel/py-ctypes/Makefile
@@ -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
+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 --git a/devel/py-ctypes/PLIST b/devel/py-ctypes/PLIST
new file mode 100644
index 00000000000..61495440c90
--- /dev/null
+++ b/devel/py-ctypes/PLIST
@@ -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 --git a/devel/py-ctypes/distinfo b/devel/py-ctypes/distinfo
new file mode 100644
index 00000000000..fcd3649c506
--- /dev/null
+++ b/devel/py-ctypes/distinfo
@@ -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