https://bugs.kde.org/show_bug.cgi?id=375472

            Bug ID: 375472
           Summary: kfilemetadata test scripts have unnecessary dependency
                    on Python 2
           Product: frameworks-kfilemetadata
           Version: 5.29.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: pinak.ah...@gmail.com
          Reporter: awil...@adelielinux.org
  Target Milestone: ---

Created attachment 103608
  --> https://bugs.kde.org/attachment.cgi?id=103608&action=edit
Universal Python patch for KFileMetadata 5.23-5.29

The test scripts for external extractor and external writer use a simple Python
script.  This is great, but there are two issues with the scripts:

- unnecessary imports of {os.path,os,subprocess}
- shebang uses /usr/bin/python2 when the scripts function on Python 3.4 and 3.5

Attached patch should work, and has been tested on the following matrix:

- KFileMetadata 5.23, 5.26, and 5.29.
- glibc and musl libcs on Linux 4.4 kernel
- x86, x86_64, ppc
- Python 2.7, Python 3.4.4, Python 3.5.2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to