aboutsummaryrefslogtreecommitdiff
path: root/po/packages/eo.po
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-03-28 00:26:02 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2019-07-02 10:07:59 +0900
commitc799ad7276dcc771912f4fc7edca400ea48b8ec2 (patch)
tree1089ca9b06650093030add8a075383faeb52839c /po/packages/eo.po
parentcc9a77cd396f8932bec1b8c7ae9d829ea76f37ec (diff)
downloadguix-c799ad7276dcc771912f4fc7edca400ea48b8ec2.tar.gz
guix-c799ad7276dcc771912f4fc7edca400ea48b8ec2.zip
import: pypi: Support more types of archives.
This change enables the PyPI importer to look for requirements in a source archive of a different type than "tar.gz" or "tar.bz2". Also, scan the source archive to find a requires.txt file. * guix/import/pypi.scm: (guess-requirements)[tarball-directory]: Remove procedure. [guess-requirements-from-source]: Use COMRESSED-FILE? to determine if an archive type is supported, and some file extension logic that chooses either "tar" or "unzip" as the extractor. Search for the requires.txt file in the archive instead of using a static, expected location. (guess-requirements): Rename the TARBALL argument to ARCHIVE, to denote the archive format is no longer bound specifically to the Tar format. (compute-inputs): Likewise. * tests/pypi.scm ("pypi->guix-package, no wheel"): Mock the requires.txt at a non-standard location. ("pypi->guix-package, no usable requirement file."): New test.
Diffstat (limited to 'po/packages/eo.po')
0 files changed, 0 insertions, 0 deletions