Commit Graph

624 Commits

Author SHA1 Message Date
Yaroslav Halchenko 5d2638be3d ENH: test python 3.6 as well 2018-09-12 10:33:08 -04:00
Yaroslav Halchenko ad0af328f3 ENH: run tests with coverage 2018-09-12 10:33:03 -04:00
Yaroslav Halchenko 30716c1ea0
Merge pull request #60 from yarikoptic/bf-misc-cped
tar treats Windows paths (D:\file.tar) as local files. Fixes #42
2018-09-12 08:56:27 -04:00
Yaroslav Halchenko feaa387501
Merge pull request #64 from yarikoptic/bf-lzma
ENH: support pyliblzma bindings for Python2 which has no lzma built-in
2018-09-12 08:56:09 -04:00
Yaroslav Halchenko 71f5e31dc3
Merge pull request #59 from yarikoptic/fixup/nested-gzip
Fixup/nested gzip
2018-09-12 08:55:09 -04:00
Yaroslav Halchenko 403fe07063 BF: orange is no longer available from APT (last seen in wheezy) 2018-09-11 23:50:36 -04:00
Charles LeDoux eadc156170 Add tests for nested compression
Why:

* To ensure we don't try and unrar a rar.gz file.

This change addresses the need by:

* Adds test file archive.rar.gz
* Add mime check to ensure we get the mime of gzip, not rar.
2018-09-11 23:50:36 -04:00
Charles LeDoux 03018b4e5b Only return separate encoding if `program_supports_compression`
Why:

* To prevent archives such as archive.rar.gz from breaking patool.

This change addresses the need by:

* move program_supports_compression above the `import util` line
    * If we don't do this, we have a circular import.
* Import program_supports_compression into util.
* Only return separate mime and encoding if program_support_compression
  returns True.
* Otherwise return the mime of the encoding and no encoding.
* Add fixes so that current tests still pass.
    * In program_support_compression:
        - Test tar separately and check all supported tar wrappers.
    * In test_tar:
        - Add file requirement for compress in the compress check.
        - Otherwise tar tries and failes when compress isn't installed.
2018-09-11 23:50:36 -04:00
Yaroslav Halchenko c412699f66 BF: add --force-local ONLY to tar invocation
bsdtar apparently does not provide it, and I am not aware of the
other ones
2018-09-11 23:31:49 -04:00
S Anand cd8d80c314 tar treats Windows paths (D:\file.tar) as local files. Fixes #42
Apparently tar has capabilities for the extraction from remote locations
but in my (@yarikoptic) experience I have never ran into someone using it
since it requires some rmt server to be running etc.  So let's just favor
for files containing columns which are not generally forbidden.
2018-09-11 23:18:07 -04:00
Yaroslav Halchenko 544405bb18 ENH: travis - install pyliblzma on python2.7 2018-09-11 23:17:01 -04:00
Yaroslav Halchenko 3a5d6cbfa9 ENH: support pyliblzma bindings for Python2 which has no lzma built-in 2018-09-11 16:24:37 -04:00
Yaroslav Halchenko 087cd9ee33
Merge pull request #63 from yarikoptic/bf-man
BF(Travis): fixes for Travis
2018-09-11 15:26:38 -04:00
Yaroslav Halchenko a9f3ee3d63 BF: add application/jar -> zip mapping
On Ubuntu 14.04 it is reported instead of /java-archive for .apk.foo which
we test on
2018-09-11 12:50:15 -04:00
Yaroslav Halchenko 885544d13f BF: orange is no longer available from APT (last seen in wheezy) 2018-09-11 10:37:32 -04:00
Yaroslav Halchenko a79e2646ee
Merge pull request #62 from yarikoptic/bf-man
BF(DOC): escape - in the manpage examples
2018-09-11 10:37:22 -04:00
Abhijith PA 2bcfb98ca2 BF(DOC): escape - in the manpage examples
Origin: Debian https://sources.debian.org/patches/patool/1.12-3/hyphen.patch/
2018-09-11 10:29:26 -04:00
Charles LeDoux cadeb1ca9f Fix require_one_program to actually require only one
Why:

* Currently uses an any which means *all* programs will be required.

This change addresses the need by:

* Switchs the *all* to an *any* so that at least one is required
2017-12-27 18:26:50 -06:00
Charles LeDoux 4d1b37a58d Call instead of raise pytest.raise()
Why:

* pytest.raise is not an exception.
2017-12-27 18:26:50 -06:00
Bastian Kleineidam edadb31a2b Updated web meta data.
[ci skip]
2016-01-17 09:15:22 +01:00
Bastian Kleineidam 447637b798 Set release date
[ci skip]
2016-01-17 09:06:13 +01:00
Bastian Kleineidam 9e244db5f8 Remove unused function 2016-01-16 22:36:22 +01:00
Bastian Kleineidam 0dfc0d3eca Updated changelog
[ci skip]
2016-01-14 21:10:17 +01:00
Bastian Kleineidam 598d06a936 Improve docs on how to run patool on windows.
[ci skip]
2016-01-14 21:10:11 +01:00
Bastian Kleineidam d9f1372243 Print search path for archive formats. 2016-01-14 21:09:44 +01:00
Bastian Kleineidam d7c0bfa3a5 Add WinRAR to default search path on windows. 2016-01-14 21:09:18 +01:00
Bastian Kleineidam 1e95c7577c Bump up version 2016-01-14 21:08:53 +01:00
Bastian Kleineidam 64562ad02f Document pigz test error. 2016-01-10 09:18:49 +01:00
Bastian Kleineidam 4a4f32f4c3 Ignore pigz test errors for now 2016-01-10 08:38:45 +01:00
Bastian Kleineidam f9ade6aca9 Zopfli package is not available for testing. 2016-01-10 08:29:47 +01:00
Bastian Kleineidam 99ae3e6a4a Install more archive managers for testing 2016-01-10 08:27:16 +01:00
Bastian Kleineidam 9d262ebebe Updated file extensions of web page.
[ci skip]
2016-01-10 08:18:02 +01:00
Bastian Kleineidam 3f1b92d147 Updated web meta data.
[ci skip]
2016-01-09 21:15:42 +01:00
Bastian Kleineidam c05b75894f Specify files to check for copyright year 2016-01-09 21:14:46 +01:00
Bastian Kleineidam 049ed12d43 Updated copyright 2016-01-09 21:09:27 +01:00
Bastian Kleineidam 20c35a4822 Install p7zip .deb package in Travis tests. 2016-01-09 21:02:42 +01:00
Bastian Kleineidam 06166e7b1d Support comic book archives 2016-01-09 20:58:15 +01:00
Bastian Kleineidam 1d121c4c79 Fix 7z unpacking when only p7zip with /usr/bin/7zr is installed. 2016-01-09 20:25:26 +01:00
Bastian Kleineidam bd91cce07e Fix .whl download link
[ci skip]
2015-12-11 07:10:50 +01:00
Bastian Kleineidam e26d0de020 Remove unused file patterns 2015-12-10 20:19:25 +01:00
Bastian Kleineidam d234bf6fe1 Updated web meta data.
[ci skip]
2015-12-10 20:18:29 +01:00
Bastian Kleineidam 86dbbd3d34 Set release date
[ci skip]
2015-12-10 20:16:12 +01:00
Bastian Kleineidam a2e096ae98 Add VHD support with 7z 2015-12-10 20:14:53 +01:00
Bastian Kleineidam 02004743f7 remove unused files 2015-12-09 21:22:54 +01:00
Bastian Kleineidam 09dd1f1d4a Fix Travis build for Python 3.5 by removing the pip --use-mirrors option 2015-12-09 11:50:44 +01:00
Bastian Kleineidam c225a879e2 Add missing classifiers 2015-12-08 22:01:56 +01:00
Bastian Kleineidam 3a04121d03 Fix download links and add wheel file
[ci skip]
2015-12-08 22:01:43 +01:00
Bastian Kleineidam 392db0af6f Upload wheel to pypi 2015-12-08 22:00:01 +01:00
Bastian Kleineidam e44b8cd30d Build distribution package as wheel (.whl) file for Python 2015-12-07 20:16:28 +01:00
Bastian Kleineidam 5f1ade68be Fix copying on Windows systems. 2015-12-07 19:49:54 +01:00