macports / upt-macports

The Universal Packaging Tool (upt) backend for MacPorts
https://framagit.org/upt/upt
BSD 3-Clause "New" or "Revised" License
9 stars 12 forks source link

Update "_python_root_name" function #68

Closed reneeotten closed 4 years ago

reneeotten commented 4 years ago

The latest version of upt-pypi (v0.5.1) returns the proper capitalization of the PyPI package name. So there is no need anymore to reconstruct this ourselves from the archive filename.

Steap commented 4 years ago

This seems to make the code easier to read, so I'm all for it :)

codecov[bot] commented 4 years ago

Codecov Report

Merging #68 into master will decrease coverage by 0.04%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
- Coverage   90.99%   90.95%   -0.05%     
==========================================
  Files           1        1              
  Lines         211      210       -1     
  Branches       18       18              
==========================================
- Hits          192      191       -1     
  Misses         17       17              
  Partials        2        2              
Impacted Files Coverage Δ
upt_macports/upt_macports.py 90.95% <100.00%> (-0.05%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3808070...6cedcc5. Read the comment docs.