Wykres commitów

17 Commity (master)

Autor SHA1 Wiadomość Data
Michael Black W9MDB d47987db85 Fix bindings since itu_region has been deprecated 2020-09-12 08:59:55 -05:00
mdblack98 b170cb9f0e Fix binding get_channel 2020-05-01 22:37:53 -05:00
Michael Black 40ab38e757 Fix bindings for VOXDELAY 2020-03-29 23:57:28 -05:00
Michael Black W9MDB 8884e0d1f1 Increase version requirement for swig and add swig 3.0 detection
Change bindings test scripts to executable
2020-03-04 09:41:43 -06:00
Gisle Vanem d1c194bdf6
Enable verbose mode in bindings/pytest.py
Support 'pytest.py -v to show more details.
2019-10-12 01:47:44 +02:00
Nate Bargmann 4f9085f8f5 Bindings tweaks for Python and TCL
Remove execute bits for all test scripts and install them into
doc/examples.

Make sure check-py and check-tcl targets work.

Set a conditional for Python3 or Python2 and install/test the correct
script file.

Use Makefile variables instead of configure substitutions wherever
possible.

Generate tcltest.tcl at make time to insert installation library path
into the script so that tests pass.
2017-07-26 06:33:42 -05:00
Nate Bargmann a2a873bbc9 Update ax_python_devel.m4 macro
Also reorder its call in configure.ac which now allows the PYTHON_VERSION
environment variable to be recognized and processed correctly by the
build system.

Correctly add PYTHON_LIBS (correct ouput variable of AX_PYTHON_DEVEL) to the
Makefile for the Python bindings.

Update README.python for use of PYTHON_VERSION.
2017-07-23 10:52:16 -05:00
Nate Bargmann 6e3b79fc69 Initial Python3 build steps and test script
The increasing popularity of Python3 requires that Hamlib provide a
means of instruction for building and installing its module concurrent
with the Python2 module.  README.python outlines the required steps.
py3test.py is a reworking of the pytest.py script for Python3 syntax.
2017-07-19 21:17:34 -05:00
Ervin Hegedus b91768360a Added new example to Python demo script (set/get float type level) 2016-12-13 16:28:41 -06:00
Hegedüs Ervin 37cac121f4 Fixed int[10] type variable error in bindings 2016-08-27 21:24:17 +02:00
Nate Bargmann 49d2124a03 Binding test scripts--fix set_freq ordering
Due to the changes of the patch contributed by Ervin Hegedüs, correct
the bindings test scripts to work with the corrected ordering of VFO and
frequency arguments.

Also add a call to send_morse() in each script.
2013-02-12 18:51:38 -06:00
Nate Bargmann 44d99a61cd Build system fixes for the Perl/Python/TCL bindings
Various fixes for building the bindings properly.

Install TCL binding to $(libdir)/tcl/Hamlib, arbitrarily chosen since
there seems to be no standard installation location.  When install
location is changed, tcltest.tcl documents the needed change to a TCL
script.

In the Perl and Python test scripts, improved the QRA examples.  In all
scripts used tabs to line up printed values nicely.

Updated INSTALL and NEWS for recent updates.  Better documented bindings
installation and uninstallation in INSTALL.
2012-11-28 17:11:41 -06:00
Stéphane Fillod, F8CFE 49f0f17a86 more example code
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2866 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-05 10:10:16 +00:00
Stéphane Fillod, F8CFE dad9fe5f7c more tests/examples
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2353 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:47:06 +00:00
Joop Stakenborg, PG4I 96e9a41339 fix coding, python2.4 compatibility
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2086 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-03-07 18:25:48 +00:00
Stéphane Fillod, F8CFE ad95e93a10 identify python test
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1871 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-15 14:50:21 +00:00
Stéphane Fillod, F8CFE 870f016e0a added python binding initial support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1521 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-08-25 22:26:08 +00:00