openSUSE / py2pack

Generate distribution packages from PyPI
Apache License 2.0
69 stars 40 forks source link

Fix license detection when license is None #28

Closed toabctl closed 9 years ago

toabctl commented 9 years ago

A 'None' license resulted in a 'Unicode' license in the spec file while generating a new .spec with 'py2pack generate'. Fix that and leave the License empty in the spec. Also add a test case for the license transformation.

coveralls commented 9 years ago

Coverage Status

Coverage increased (+1.22%) to 42.03% when pulling cc900263d64f210a023ad7f3ceb0f6a6ee3a2b40 on toabctl:license-unicode into 367eda8c378035a5f99f7c221e26b174652e7152 on saschpe:master.

toabctl commented 9 years ago

@saschpe what about this PR? Could be merged before the rebase of https://github.com/saschpe/py2pack/pull/9