linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ahmed.taahir@gmail.com
To: linux-wireless@vger.kernel.org
Subject: Support Python 3 in the crda build system (Take 2)
Date: Wed, 22 Jul 2015 00:21:22 -0500	[thread overview]
Message-ID: <1437542484-23409-1-git-send-email-ahmed.taahir@gmail.com> (raw)

Updated Intro:

This patchset takes into account helpful comments by Stefan.  The user
can now set the make variable BUILD_PYTHON to select which interpreter
runs key2pub.py.

key2pub.py is further simplified as well.

Original Intro:

crda's build system is one of the last packages with a hard dep on
python-2.7 on my Gentoo system.  This patchset adapts the utility
script 'key2pub.py' so that it will run under either Python 2.7 or
Python 3.x.  The main change is a switch from using M2Crypto to
PyCrypto, specifically for Python 3.x support.

In addition, Gentoo had a small collection of bugfix patches that were
applied every time someone installed crda.  I've included those that
seemed to have general applicability, as described in Patch 2.


             reply	other threads:[~2015-07-22  5:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22  5:21 ahmed.taahir [this message]
2015-07-22  5:21 ` [PATCH 1/2] Support python 3 in utils/key2pub.py ahmed.taahir
2019-12-25 16:19   ` jtojnar
2015-07-22  5:21 ` [PATCH 2/2] Small build system improvements ahmed.taahir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1437542484-23409-1-git-send-email-ahmed.taahir@gmail.com \
    --to=ahmed.taahir@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).