Changeset View
Changeset View
Standalone View
Standalone View
package.yml
- This file was added.
| name : autopep8 | |||||
| version : 1.3.5 | |||||
| release : 1 | |||||
| source : | |||||
| - https://github.com/hhatto/autopep8/archive/v1.3.5.tar.gz : 45938f23d725f17f41477878aa423c7a8bcd5374df65f55d0a4b53a1da9477ae | |||||
| license : MIT | |||||
| component : programming.python | |||||
| summary : Python auto formatting tool. | |||||
| description: | | |||||
| A tool that automatically formats Python code to conform to the PEP 8 style guide. | |||||
| builddeps : | |||||
| - pkgconfig(python3) | |||||
| - python-setuptools | |||||
| - pycodestyle | |||||
| rundeps : | |||||
| - pycodestyle | |||||
| build : | | |||||
| %python3_setup | |||||
| %python_setup | |||||
| install : | | |||||
| %python3_install | |||||
| for _f in $installdir/usr/bin/*; do | |||||
| mv -v $_f ${_f}3 | |||||
| done | |||||
| %python_install | |||||
| check : | | |||||
| pushd $PKG_BUILD_DIR/py2build/test | |||||
| python test_autopep8.py | |||||
| popd | |||||
| pushd $PKG_BUILD_DIR/py3build/test | |||||
| python3 test_autopep8.py | |||||
| popd | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.