FreeBSD Bugzilla – Attachment 175645 Details for
Bug 213401
comms/py-serial: Add support for custom baud rates, add LICENSE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
svn(1) diff of comms/py-serial
py27-serial-2.7_2.diff (text/plain), 1.79 KB, created by
Kyle Evans
on 2016-10-12 03:53:11 UTC
(
hide
)
Description:
svn(1) diff of comms/py-serial
Filename:
MIME Type:
Creator:
Kyle Evans
Created:
2016-10-12 03:53:11 UTC
Size:
1.79 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 423823) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= serial > PORTVERSION= 2.7 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= comms python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -12,6 +12,9 @@ > MAINTAINER= sbz@FreeBSD.org > COMMENT= Serial port encapsulation library for Python > >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE.txt >+ > USES= dos2unix python > USE_PYTHON= concurrent distutils py3kplist pythonprefix > PYDISTUTILS_PKGNAME= py${PORTNAME} >Index: files/patch-serial_serialposix.py >=================================================================== >--- files/patch-serial_serialposix.py (nonexistent) >+++ files/patch-serial_serialposix.py (working copy) >@@ -0,0 +1,20 @@ >+--- serial/serialposix.py.orig 2016-10-12 02:38:27 UTC >++++ serial/serialposix.py >+@@ -130,10 +130,15 @@ elif plat[:3] == 'bsd' or \ >+ def device(port): >+ return '/dev/cuad%d' % port >+ >++ # set_special_baudrate() should never get called >+ def set_special_baudrate(port, baudrate): >+- raise ValueError("sorry don't know how to handle non standard baud rate on this platform") >++ pass >+ >+- baudrate_constants = {} >++ class ReturnBaudrate(object): >++ def __getitem__(self, key): >++ return key >++ >++ baudrate_constants = ReturnBaudrate() >+ >+ elif plat[:6] == 'darwin': # OS X >+ > >Property changes on: files/patch-serial_serialposix.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kevans
:
maintainer-approval?
(
sbz
)
Actions:
View
|
Diff
Attachments on
bug 213401
: 175645