This patch splits the acme library into both Python variants. Currently, its only user in Guix is the Python 2 official Let's Encrypt client, but there is other software out there that supports Python 3.
I tried and tried to make the python2-acme version inherit more from python-acme but this is what I got working. I did try to apply the solution used in python2-pyopenssl and python2-oauthlib [0] but I couldn't make it work. I think the issue is that python2-acme uses both python2-pyopenssl and python2-cryptography, so there are multiple layers of translation to watch out for. Suggestions welcome! I think we should keep these in the same module as letsencrypt, because it will make it easier to remember to update them together, which appears to be necessary. [0] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=22013 Leo Famulari (1): gnu: Split acme into python-acme and python2-acme. gnu/packages/tls.scm | 82 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 49 insertions(+), 33 deletions(-) -- 2.6.2