Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv28387

Added Files:
        magicdate-py.info pyserial-py.info 
Log Message:
pushed from 10.6.  Snaggle/nieder++ for libyaml

--- NEW FILE: magicdate-py.info ---
Info2: <<
Package: magicdate-py%type_pkg[python]
Version: 0.1.3
Revision: 1
Type: python (2.7)
Description: Fuzzy date handling for python
DescDetail: <<
Convert fuzzy date to a datetime object.

Convert from fuzzy dates like "yesterday", "next wed", "Jan 4", etc.,
to a datetime object.

This is useful for processing command line arguments.
<<
Source: http://pypi.python.org/packages/source/m/magicdate/magicdate-%v.tar.gz
Source-MD5: eda76e2bac96f0a7dbfc341f7ec50de8
Depends: python%type_pkg[python] 
BuildDepends: setuptools-py%type_pkg[python]
CompileScript: <<
 echo Skipping build           
 #%p/bin/python%type_raw[python] setup.py build
<<
InstallScript: <<
 %p/bin/python%type_raw[python] setup.py install 
--single-version-externally-managed --root=%d
<<
DocFiles: PKG-INFO
License: BSD
Homepage: http://pypi.python.org/pypi/magicdate
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>
<<

--- NEW FILE: pyserial-py.info ---
Info2: <<
Package: pyserial-py%type_pkg[python]
Version: 2.5
Revision: 1

Type: python(2.7 3.2)
Description: Python access to serial ports
License: OSI-Approved
Homepage: http://pyserial.sourceforge.net/
Maintainer: Kurt Schwehr <goat...@users.sourceforge.net>

# Dependencies.
Depends: python%type_pkg[python]

# Unpack Phase.
#Source: mirror:sourceforge:pyserial/pyserial-%v.zip
Source: http://pypi.python.org/packages/source/p/pyserial/pyserial-%v.tar.gz
Source-MD5: 34340820710239bea2ceca7f43ef8cab

# Patch Phase.
# Change CRLF line endings to LR line endings.
PatchScript: find . -type f -print0 | xargs -0 perl -w -p -i -e 's/\s+$/\n/'

# Compile Phase.
CompileScript: <<
  #!/bin/bash -ev
  if [ "%type_pkg[python]" -ge "31" ]; then
    2to3-%type_raw[python] -w --no-diffs examples test serial
  fi

  %p/bin/python%type_raw[python] setup.py build
<<

# Install Phase.
InstallScript: <<
  #!/bin/bash -ev
  %p/bin/python%type_raw[python] setup.py install --root=%d
  mv %i/bin/miniterm.py{,-%type_pkg[python]}
<<

PostInstScript: <<
        update-alternatives --verbose --install %p/bin/miniterm.py miniterm.py 
%p/bin/miniterm.py-%type_pkg[python] %type_pkg[python]
<<

PreRmScript: <<
        if [ $1 != "upgrade" ]; then
                update-alternatives --verbose --remove miniterm.py 
%p/bin/miniterm.py-%type_pkg[python]
        fi
<<

DocFiles: CHANGES.txt LICENSE.txt README.txt

# Documentation.
DescDetail: <<
pySerial
--------
This module encapsulates the access for the serial port. It provides
backends for standard Python running on Windows, Linux, BSD (possibly
any POSIX compliant system) and Jython. The module named "serial"
automatically selects the appropriate backend.

Features
--------
- Same class based interface on all supported platforms.
- Access to the port settings through Python properties.
- Port numbering starts at zero, no need to know the platform dependent port
  name in the user program.
- Port name can be specified if access through numbering is inappropriate.
- Support for different bytesizes, stopbits, parity and flow control
  with RTS/CTS and/or Xon/Xoff.
- Working with or without receive timeout, blocking or non-blocking.
- File like API with "read" and "write" ("readline" etc. also supported).
- The files in this package are 100% pure Python.
  They depend on non standard but common packages on Windows (win32all) and
  Jython (JavaComm). POSIX (Linux, BSD) uses only modules from the standard
  Python distribution).
- The port is set up for binary transmission. No NULL byte stripping, CR-LF
  translation etc (which are many times enabled for POSIX).  This makes this
  the module universally useful.
<<
<<


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to