Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : pep8 | name : pep8 | ||||
| version : 1.6.2 | version : 1.7.0 | ||||
| release : 3 | release : 4 | ||||
| source : | source : | ||||
| - https://pypi.python.org/packages/source/p/pep8/pep8-1.6.2.tar.gz : b8b7e35630b5539e26a197dfc6005be9e1e9a135496b377723a8ebc01b9bcbff | - https://pypi.python.org/packages/3e/b5/1f717b85fbf5d43d81e3c603a7a2f64c9f1dabc69a1e7745bd394cc06404/pep8-1.7.0.tar.gz : a113d5f5ad7a7abacef9df5ec3f2af23a20a28005921577b15dd584d099d5900 | ||||
| license : Expat | license : Expat | ||||
| component : programming.python | |||||
| summary : PEP8 compliance checking | summary : PEP8 compliance checking | ||||
| description: | | description: | | ||||
| PEP8 compliance checking | PEP8 compliance checking | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(python-2.7) | - pkgconfig(python-2.7) | ||||
| - pkgconfig(python-3.5) | - pkgconfig(python-3.5) | ||||
| - python-setuptools | - python-setuptools | ||||
| rundeps : | rundeps : | ||||
| - python-setuptools | - python-setuptools | ||||
| build : | | build : | | ||||
| python2 setup.py build | %python3_setup | ||||
| python3 setup.py build | %python_setup | ||||
| install : | | install : | | ||||
| python2 setup.py install --root=%installroot% --no-compile -O0 | %python3_install | ||||
| mv $installdir/usr/bin/pep8 $installdir/usr/bin/pep8-2.7 | for _f in "$installdir"/usr/bin/*; do | ||||
| python3 setup.py install --root=%installroot% --no-compile -O0 | mv -v "$_f" "${_f}-3" | ||||
| mv $installdir/usr/bin/pep8 $installdir/usr/bin/pep8-3.5 | done | ||||
| ln -sv pep8-2.7 $installdir/usr/bin/pep8 | %python_install | ||||
JoshStrobl: Just a conformance choice, please do python macros before python3. | |||||
Not Done Inline Actions@JoshStrobl I would usually prefer to do it the other way round too; I do it this way round when I need to append the python3 executables before they get overwritten by the python2 ones. EP01: @JoshStrobl I would usually prefer to do it the other way round too; I do it this way round… | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.
Just a conformance choice, please do python macros before python3.