set keyword depending on archive compression type
reneeotten opened this issue · 0 comments
reneeotten commented
If the archive is not a .tar.gz
file, but uses a different compression algorithm one should set the proper keyword in the Portfile (see here for the options).
It appears that this information is available from upt
, probably from upt.upt_pkg.archives
. It can be extracted from the _filename
attribute or perhaps better archive_type
, even though I am not sure that this is set correctly (doesn't appear to be the case for py-algopy
). Examples of ports where this is the case are py-algopy
for the pypi
frontend and p5-term-gnuplot
for the cpan
frontend.