[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse
From: |
Leo Famulari |
Subject: |
Re: [PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse |
Date: |
Mon, 18 Apr 2016 16:23:46 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Sun, Apr 17, 2016 at 10:50:52PM +0200, Hartmut Goebel wrote:
> * gnu/packages/python.scm (python-sqlparse) (python2-sqlparse):
> New functions.
[...]
> + (build-system python-build-system)
> + (arguments
> + `(#:phases
> + (modify-phases %standard-phases
> + (replace 'check
> + (lambda* _
> + ;; setup.py-integrated 2to3 only affects the build files, but
> + ;; py.test is using the source files. So we need to convert them
> + ;; manually.
> + (if (zero? (system* "python3"))
> + (system* "2to3" "--no-diff" "-wn" "sqlparse" "tests")
> + #t)
Is this running the python3 interpreter with no arguments in order to
see if it exists, and then doing 2to3 if it does?
- [PATCH 4/7] gnu: Add python2-ipaddr, a Python-2-only package, (continued)
[PATCH 6/7] gnu: add comment pointing to python-requests-mock in openstack, Hartmut Goebel, 2016/04/17
[PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse, Hartmut Goebel, 2016/04/17
- Re: [PATCH 2/7] gnu: add python-sqlparse and python2-sqlparse,
Leo Famulari <=
Re: [PATCH 0/7] Some new python packages, Leo Famulari, 2016/04/18