summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>2012-12-09 15:26:29 +0000
committertsarna <tsarna@pkgsrc.org>2012-12-09 15:26:29 +0000
commitedf51762b944904b6140767dd63071b371ed5ef7 (patch)
tree9623ea01217f37cc9dcb2c820bc0d371bdb801e1 /comms
parentd47599ae2c034ba247fbf3d37d2d0e885628bc9a (diff)
downloadpkgsrc-edf51762b944904b6140767dd63071b371ed5ef7.tar.gz
Add puyserial 26, which provides a uniform interface for accessing
serial ports across platforms.
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile3
-rw-r--r--comms/py-serial/DESCR4
-rw-r--r--comms/py-serial/Makefile17
-rw-r--r--comms/py-serial/PLIST60
-rw-r--r--comms/py-serial/distinfo5
5 files changed, 88 insertions, 1 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 094dbd575e3..baef3b23252 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.91 2012/12/02 01:21:50 cheusov Exp $
+# $NetBSD: Makefile,v 1.92 2012/12/09 15:26:29 tsarna Exp $
#
COMMENT= Communication utilities
@@ -59,6 +59,7 @@ SUBDIR+= pilot-link-libs
SUBDIR+= pilotmgr
SUBDIR+= plp
SUBDIR+= py-gammu
+SUBDIR+= py-serial
SUBDIR+= qpage
SUBDIR+= ruby-termios
SUBDIR+= scmxx
diff --git a/comms/py-serial/DESCR b/comms/py-serial/DESCR
new file mode 100644
index 00000000000..66d07767810
--- /dev/null
+++ b/comms/py-serial/DESCR
@@ -0,0 +1,4 @@
+This module encapsulates access to the serial port. It provides
+backends for Python running on Windows, Linux, BSD (possibly any POSIX
+compliant system), Jython and IronPython (.NET and Mono). The module
+named "serial" automatically selects the appropriate backend.
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile
new file mode 100644
index 00000000000..2573191f9cb
--- /dev/null
+++ b/comms/py-serial/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2012/12/09 15:26:32 tsarna Exp $
+#
+
+DISTNAME= pyserial-2.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= comms python
+MASTER_SITES= http://pypi.python.org/packages/source/p/pyserial/
+
+MAINTAINER= tsarna@NetBSD.org
+HOMEPAGE= http://pyserial.sourceforge.net/
+COMMENT= Python Serial Port Extension
+LICENSE= python-software-foundation
+
+USE_LANGUAGES= #none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/comms/py-serial/PLIST b/comms/py-serial/PLIST
new file mode 100644
index 00000000000..0ced3d21d86
--- /dev/null
+++ b/comms/py-serial/PLIST
@@ -0,0 +1,60 @@
+@comment $NetBSD: PLIST,v 1.1 2012/12/09 15:26:33 tsarna Exp $
+bin/miniterm.py
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/serial/__init__.py
+${PYSITELIB}/serial/__init__.pyc
+${PYSITELIB}/serial/__init__.pyo
+${PYSITELIB}/serial/rfc2217.py
+${PYSITELIB}/serial/rfc2217.pyc
+${PYSITELIB}/serial/rfc2217.pyo
+${PYSITELIB}/serial/serialcli.py
+${PYSITELIB}/serial/serialcli.pyc
+${PYSITELIB}/serial/serialcli.pyo
+${PYSITELIB}/serial/serialjava.py
+${PYSITELIB}/serial/serialjava.pyc
+${PYSITELIB}/serial/serialjava.pyo
+${PYSITELIB}/serial/serialposix.py
+${PYSITELIB}/serial/serialposix.pyc
+${PYSITELIB}/serial/serialposix.pyo
+${PYSITELIB}/serial/serialutil.py
+${PYSITELIB}/serial/serialutil.pyc
+${PYSITELIB}/serial/serialutil.pyo
+${PYSITELIB}/serial/serialwin32.py
+${PYSITELIB}/serial/serialwin32.pyc
+${PYSITELIB}/serial/serialwin32.pyo
+${PYSITELIB}/serial/sermsdos.py
+${PYSITELIB}/serial/sermsdos.pyc
+${PYSITELIB}/serial/sermsdos.pyo
+${PYSITELIB}/serial/tools/__init__.py
+${PYSITELIB}/serial/tools/__init__.pyc
+${PYSITELIB}/serial/tools/__init__.pyo
+${PYSITELIB}/serial/tools/list_ports.py
+${PYSITELIB}/serial/tools/list_ports.pyc
+${PYSITELIB}/serial/tools/list_ports.pyo
+${PYSITELIB}/serial/tools/list_ports_posix.py
+${PYSITELIB}/serial/tools/list_ports_posix.pyc
+${PYSITELIB}/serial/tools/list_ports_posix.pyo
+${PYSITELIB}/serial/tools/list_ports_windows.py
+${PYSITELIB}/serial/tools/list_ports_windows.pyc
+${PYSITELIB}/serial/tools/list_ports_windows.pyo
+${PYSITELIB}/serial/tools/miniterm.py
+${PYSITELIB}/serial/tools/miniterm.pyc
+${PYSITELIB}/serial/tools/miniterm.pyo
+${PYSITELIB}/serial/urlhandler/__init__.py
+${PYSITELIB}/serial/urlhandler/__init__.pyc
+${PYSITELIB}/serial/urlhandler/__init__.pyo
+${PYSITELIB}/serial/urlhandler/protocol_hwgrep.py
+${PYSITELIB}/serial/urlhandler/protocol_hwgrep.pyc
+${PYSITELIB}/serial/urlhandler/protocol_hwgrep.pyo
+${PYSITELIB}/serial/urlhandler/protocol_loop.py
+${PYSITELIB}/serial/urlhandler/protocol_loop.pyc
+${PYSITELIB}/serial/urlhandler/protocol_loop.pyo
+${PYSITELIB}/serial/urlhandler/protocol_rfc2217.py
+${PYSITELIB}/serial/urlhandler/protocol_rfc2217.pyc
+${PYSITELIB}/serial/urlhandler/protocol_rfc2217.pyo
+${PYSITELIB}/serial/urlhandler/protocol_socket.py
+${PYSITELIB}/serial/urlhandler/protocol_socket.pyc
+${PYSITELIB}/serial/urlhandler/protocol_socket.pyo
+${PYSITELIB}/serial/win32.py
+${PYSITELIB}/serial/win32.pyc
+${PYSITELIB}/serial/win32.pyo
diff --git a/comms/py-serial/distinfo b/comms/py-serial/distinfo
new file mode 100644
index 00000000000..46191f95b38
--- /dev/null
+++ b/comms/py-serial/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/12/09 15:26:34 tsarna Exp $
+
+SHA1 (pyserial-2.6.tar.gz) = 39e6d9a37b826c48eab6959591a174135fc2873c
+RMD160 (pyserial-2.6.tar.gz) = a544cb4ac0dad2c7f93855f1db1be102cdb1e9cc
+Size (pyserial-2.6.tar.gz) = 116289 bytes