[68175] trunk/dports/python

phw at macports.org phw at macports.org
Fri May 28 09:46:36 PDT 2010


Revision: 68175
          http://trac.macports.org/changeset/68175
Author:   phw at macports.org
Date:     2010-05-28 09:46:31 -0700 (Fri, 28 May 2010)
Log Message:
-----------
New port: py27-rgm3800py - Access Royaltek RGM-3800 and compatible GPS datalogger

Added Paths:
-----------
    trunk/dports/python/py27-rgm3800py/
    trunk/dports/python/py27-rgm3800py/Portfile
    trunk/dports/python/py27-rgm3800py/files/
    trunk/dports/python/py27-rgm3800py/files/ANNOUNCE
    trunk/dports/python/py27-rgm3800py/files/CHANGES
    trunk/dports/python/py27-rgm3800py/files/README
    trunk/dports/python/py27-rgm3800py/files/TODO
    trunk/dports/python/py27-rgm3800py/files/setup.py

Added: trunk/dports/python/py27-rgm3800py/Portfile
===================================================================
--- trunk/dports/python/py27-rgm3800py/Portfile	                        (rev 0)
+++ trunk/dports/python/py27-rgm3800py/Portfile	2010-05-28 16:46:31 UTC (rev 68175)
@@ -0,0 +1,38 @@
+# $Id: Portfile 
+
+PortSystem          1.0
+PortGroup           python27 1.0
+
+name                py27-rgm3800py
+version             25
+maintainers         phw openmaintainer
+description         Access Royaltek RGM-3800 and compatible GPS datalogger
+long_description    With this command line utility you can:\
+                    * Dump tracks off your RGM-3800 GPS datalogger in NMEA and GPX format.\
+                    * List tracks with information.\
+                    * Configure logging format and interval.\
+                    * Check memory usage.\
+                    * Erase all tracks.
+
+platforms           darwin
+
+homepage            http://code.google.com/p/rgm3800py
+master_sites        http://rgm3800py.googlecode.com/files/
+distname            rgm3800py
+distfiles           rgm3800-rev${version}.py
+
+checksums           md5     28f575cf28d32a00615a2fc8b69f54b0 \
+                    sha1    e8cf2f6aad55ea00b5b81a3dca03e18c3859960d \
+                    rmd160  d339eeb8a892e3aaf53209483f61cfbc39bd1d64
+
+post-extract {
+    xinstall -m 755 -d ${workpath}/${distname}
+    file rename ${distpath}/${distfiles} ${workpath}/${distname}/${distname}.py
+    file copy ${portpath}/${filesdir}/ANNOUNCE  ${workpath}/${distname}/
+    file copy ${portpath}/${filesdir}/CHANGES   ${workpath}/${distname}/
+    file copy ${portpath}/${filesdir}/README    ${workpath}/${distname}/
+    file copy ${portpath}/${filesdir}/TODO      ${workpath}/${distname}/
+    file copy ${portpath}/${filesdir}/setup.py  ${workpath}/${distname}/
+    }
+
+notes "RGM3800 needs a PL2303 USB driver, i.e. http://osx-pl2303.sourceforge.net/"

Added: trunk/dports/python/py27-rgm3800py/files/ANNOUNCE
===================================================================
--- trunk/dports/python/py27-rgm3800py/files/ANNOUNCE	                        (rev 0)
+++ trunk/dports/python/py27-rgm3800py/files/ANNOUNCE	2010-05-28 16:46:31 UTC (rev 68175)
@@ -0,0 +1,21 @@
+FAQ  
+Frequently Asked Questions
+It stopped working, the tool always times out! Is my datalogger broken?
+
+This happens from time to time, especially if you're confusing the PL2303 driver by trying to talk to the logger while it's plugged in but turned off, or by unplugging it during communication.
+
+The problem can usually be fixed by just turning the logger off, unplugging it, stopping any running rgm3800.py scripts and then starting over again.
+
+In rare cases this isn't sufficient, you will then need to unplug the logger and remove batteries for a short while.
+
+Does the RGM-3800 work with GPSd?
+
+Yes, please see this page.
+
+Does the RGM-3800 work with GPSBabel "realtime tracking" (`-T` flag)?
+
+No - at least I couldn't get it to work yet. From looking at the sourcecode it seems like the initial synchronisation is going wrong because the USB-to-serial stuff behaves differently than a "real" serial connection.
+
+Does the RGM-3800 work with Google Earth Realtime GPS tracking?
+
+No. Google Earth uses GPSBabel, please see previous question for more details.

Added: trunk/dports/python/py27-rgm3800py/files/CHANGES
===================================================================
--- trunk/dports/python/py27-rgm3800py/files/CHANGES	                        (rev 0)
+++ trunk/dports/python/py27-rgm3800py/files/CHANGES	2010-05-28 16:46:31 UTC (rev 68175)
@@ -0,0 +1,24 @@
+Change log for public releases
+
+Revision 25 (2009-06-20)
+
+If not running on a Posix system with termios the tool tries to use pySerial - this allows rgm3800.py to run under Windows.
+Faster serial communication.
+Bugfixes to increase resilience to bad/incomplete data.
+Revision 19 (2009-03-08)
+
+Initial support to output tracks in GPX format.
+Support erasing all tracks from logger.
+Revision 14 (2008-10-12)
+
+Fix argument boundary checking for "format" command.
+Revision 13 (2008-09-29)
+
+Fix timestamp problem where PROY003 is answered with LOG002 in case logger has no satellite link yet.
+Improved error handling (show errors, don't deadlock).
+Cache general info (PROY108).
+Don't show exception traceback on communication errors, just a message.
+Fix rad -> deg conversion close to the Equator / Prime Meridian.
+Revision 9 (2008-08-17)
+
+Initial release on Google Code Hosting.

Added: trunk/dports/python/py27-rgm3800py/files/README
===================================================================
--- trunk/dports/python/py27-rgm3800py/files/README	                        (rev 0)
+++ trunk/dports/python/py27-rgm3800py/files/README	2010-05-28 16:46:31 UTC (rev 68175)
@@ -0,0 +1,35 @@
+Access Royaltek RGM-3800 and compatible GPS datalogger
+
+With this command line utility you can:
+
+Dump tracks off your RGM-3800 GPS datalogger in NMEA and GPX format.
+List tracks with information.
+Configure logging format and interval.
+Check memory usage.
+Erase all tracks.
+This tool was tested with MacOS X, Linux and Windows. You only need a decent Python interpreter (version 2.4 or newer, 2.3 might also do) and a PL2303 USB driver (included in Linux, for OS X you could use this one). This tool works on non-x86 CPUs (e.g. old Powerbooks). On Windows you'll also need pywin32 and pyserial.
+
+If you use rgm3800py and would like to be notified about new features please subscribe to the announcement group: rgm3800py-announce (This supports RSS/Atom feeds!)
+
+If you have a problem or an idea for improvements please send email to petersen.karsten at gmail.com
+
+Contributors welcome!
+
+------------------------------------------
+
+Royaltek RGM-3800 und kompatible GPS Datenlogger auslesen
+
+Dies ist ein Programm fuer die Kommandozeile, es erlaubt u.a.:
+
+Tracks im NMEA und GPX Format ausgeben.
+Liste der aufgezeichneten Tracks anzeigen.
+Logging-Format und -Interval einstellen.
+Speicherverbrauch feststellen.
+Alle Tracks löschen.
+Dieses Programm wurde unter MacOS X, Linux und Windows getestet. Sie brauchen ein halbwegs aktuelles Python (Version 2.4 oder neuer, evtl. funktioniert auch 2.3) und einen USB Treiber fuer den PL2303 Chip (bei Linux schon dabei, fuer OS X z.B. diesen hier). Dieses Programm funktioniert auch auf nicht-Intel-kompatiblen CPUs (z.B. alte Powerbooks). Für Windows wird zusätzlich pywin32 und pyserial benötigt.
+
+Wenn Sie dieses Programm benutzen und über Neuigkeiten informiert werden möchten dann abonnieren Sie bitte diese Mailingliste/RSS-Feed: rgm3800py-announce
+
+Bei Fragen, Problemen und Ideen schreiben Sie bitte eine EMail an petersen.karsten at gmail.com
+
+Mitentwickler sind immer willkommen!

Added: trunk/dports/python/py27-rgm3800py/files/TODO
===================================================================
Added: trunk/dports/python/py27-rgm3800py/files/setup.py
===================================================================
--- trunk/dports/python/py27-rgm3800py/files/setup.py	                        (rev 0)
+++ trunk/dports/python/py27-rgm3800py/files/setup.py	2010-05-28 16:46:31 UTC (rev 68175)
@@ -0,0 +1,34 @@
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
+
+setup(name = "rgm3800py",
+            description="Access Royaltek RGM-3800 and compatible GPS datalogger",
+            long_description = """
+			Access Royaltek RGM-3800 and compatible GPS datalogger
+
+			With this command line utility you can:
+
+			Dump tracks off your RGM-3800 GPS datalogger in NMEA and GPX format.
+			List tracks with information.
+			Configure logging format and interval.
+			Check memory usage.
+			Erase all tracks.
+			This tool was tested with MacOS X, Linux and Windows. You only need a decent Python interpreter (version 2.4 or newer, 2.3 might also do) and a PL2303 USB driver (included in Linux, for OS X you could use this one). This tool works on non-x86 CPUs (e.g. old Powerbooks). On Windows you'll also need pywin32 and pyserial.
+
+			If you use rgm3800py and would like to be notified about new features please subscribe to the announcement group: rgm3800py-announce (This supports RSS/Atom feeds!)
+
+			If you have a problem or an idea for improvements please send email to petersen.karsten at gmail.com
+""",
+            license="""GNU General Public License""",
+            version = "3",
+            author = "Petersen Karsten",
+            author_email = "petersen.karsten at gmail.com",
+            maintainer = "Petersen Karsten",
+            maintainer_email = "petersen.karsten at gmail.com",
+            url = "http://code.google.com/p/rgm3800py/",
+            #packages = ['rgm3800py'],
+			scripts = ["rgm3800py.py"]
+
+            )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100528/58983aeb/attachment.html>


More information about the macports-changes mailing list