]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
check-package: move parts to subdirectory
authorRicardo Martincoski <ricardo.martincoski@gmail.com>
Wed, 19 Apr 2017 18:06:21 +0000 (15:06 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Apr 2017 20:29:41 +0000 (22:29 +0200)
commit7b394c4926dcb860a356eeb46b1f1f5d807041f7
tree0b61db0b8f7433dc1c2619ab3f0353201c84bcd0
parent33481124c7913fbdaee327afd97fd8ba138434e6
check-package: move parts to subdirectory

Currently the check-package script uses many files in the same
directory. This commit keeps the main script in support/scripts/ and
moves the rest into a subdirectory.

The modules were previously prefixed to make it easy to identify which
script they belong to. This is no longer needed when using a
subdirectory, so the prefix is removed.

Note: if this commit is checked out and the script is run, and later on
a previous version is checked out, the file
support/scripts/checkpackagelib/__init__.pyc needs to be manually
removed to prevent Python interpreter to look for checkpackagelib
package when only the checkpackagelib module is available.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
support/scripts/check-package
support/scripts/checkpackagelib/__init__.py [new file with mode: 0644]
support/scripts/checkpackagelib/base.py [moved from support/scripts/checkpackagebase.py with 78% similarity]
support/scripts/checkpackagelib/lib.py [moved from support/scripts/checkpackagelib.py with 93% similarity]
support/scripts/checkpackagelib/lib_config.py [moved from support/scripts/checkpackagelib_config.py with 93% similarity]
support/scripts/checkpackagelib/lib_hash.py [moved from support/scripts/checkpackagelib_hash.py with 88% similarity]
support/scripts/checkpackagelib/lib_mk.py [moved from support/scripts/checkpackagelib_mk.py with 96% similarity]
support/scripts/checkpackagelib/lib_patch.py [moved from support/scripts/checkpackagelib_patch.py with 92% similarity]
support/scripts/checkpackagelib/readme.txt [moved from support/scripts/check-package.txt with 95% similarity]