Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #10622

Library package for multiple versions

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Ervin Hegedüs <airween@gmail.com>
Newsgroups linux.debian.maint.python
Subject Library package for multiple versions
Date Wed, 06 Jun 2018 23:20:01 +0200
Message-ID <vXO0x-7J1-1@gated-at.bofh.it> (permalink)
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Jun 6 21:15:10 2018
Old-Return-Path <airween@gmail.com>
X-Amavis-Spam-Status No, score=-7.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=k/Z+6ciY2OuS5jbkuss5L/kPzr6RmCBXz2rycEsJL2Q=; b=ALTHR2TAUhJzVWflHDPJsJqpfSUHC1ekOcZW/B9O7gfXVRS7e/gk2LQjmOULVBEHr4 pn9VDj20LCyImSxiAU772ldHMe4s2VdckXjEDWGWtQcR3oNX9fuCp64W+LmseAuhM1N6 3ZM4reOrAJFpa24oRp5o1sKvB4lE8ESD9bAmovAouU8H0K1wTkzri7dlXl1Um7QVmzGi /GtTdgiCegdgzZxyVhcSjeAc70BfLV7PMUBa91nG0IL/FHPrSHXMhpRkItZQFVuc1f7y xPo4B9Z1UPExvsVTKMWjAzJCUhRdhel0pQXM6QkAvWq0CW1xh6bzdHBF+wZkKWT/SDVo bkAA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=k/Z+6ciY2OuS5jbkuss5L/kPzr6RmCBXz2rycEsJL2Q=; b=RPYHy1d/QxMC/IgoXoNBqBh2k0GG5nwEqQOksPDOs+BKi1rlVhz5E68K7wO6XpfREU RiowzycS9DtOtQ5E03bgt3tV9/0TlmRSSloW59enm1nLKZov5R+1FMRar/bdf7sVfHiW UUpPC0RXEyvxDeSH2quMRfl+1aOVONHBqljmyejmZIv/1n/73onC/+iGsLwi2kblWNOc gWmCVUa8xGUVGQeSsXTrABFS54LDHGllumLYEmJPkzLQMIdBuudsSyJi6WuaHap/pS/m zlO29liOE9oWZFuKqfmBCL4SlEJco0UiKuNwSMMMrDCLYTzZ0gi1VcGSeuwL7wkQbXsO /qhw==
X-Gm-Message-State APt69E0L/CgzFgYG1S66+rLqMxO8eB7gwDA65wUKLVRSoutdd6rR7DHx b5Ix2Ki6gpaZzKjg957lScfasQ==
X-Google-SMTP-Source ADUXVKL4HeGr8oTqswz8jY7a/A+KrBWDG0NC2JqL97BXZ8pomGZ+EqrulbOIhakRoBStYqz2sY6nIA==
X-Received by 2002:a1c:8012:: with SMTP id b18-v6mr2643692wmd.13.1528318633441; Wed, 06 Jun 2018 13:57:13 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16031
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20180606205710.GA18232@arxnet.hu
Approved robomod@news.nic.it
Lines 39
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 6 Jun 2018 22:57:10 +0200
X-Original-Message-ID <20180606205710.GA18232@arxnet.hu>
Xref csiph.com linux.debian.maint.python:10622

Show key headers only | View raw


Hi,

I'm a (one of) maintainer of a library package, name is "hamlib":
https://packages.debian.org/sid/libhamlib2

Hamlib is a library for several languages, eg. Python, Perl, Lua,
Tcl, and of course, C and C++. The main goal is collect the
different HAM radio CAT controll API's to one API - that's a
quasi de facto RIG CAT library. Here are the upstream codebase(s):
https://github.com/Hamlib/Hamlib
https://sourceforge.net/projects/hamlib/

The code had written in C. All binding ports for languages made
with SWIG.
https://github.com/Hamlib/Hamlib/blob/master/bindings/hamlib.swg

About a year ago, the main developer of project made a short doc,
where he describes, how can we make the hamlib module for both
Python2 and Python3.
https://github.com/Hamlib/Hamlib/blob/master/bindings/README.python

There are some problems:
* as he write, the user needs to recompile at twice the binding;
  first for the Python 2, then need a "make clean", and then the
  Python 3
* this is because the naming convention of Python .so's are
  equal, eg. the final shared object will be _Hamlib.so

Now the Python module exists for Python2.
https://packages.debian.org/buster/python-libhamlib2

Could anybody help with some tips, how can I integrate the new,
Python3 module with the existing Python2?

Thanks,


Ervin
HA2OS

Back to linux.debian.maint.python | Previous | Next | Find similar | Unroll thread


Thread

Library package for multiple versions Ervin Hegedüs <airween@gmail.com> - 2018-06-06 23:20 +0200

csiph-web