utils/scanpypi: write _SOURCE only when needed
authorAsaf Kahlon <asafka7@gmail.com>
Sat, 22 Dec 2018 18:15:32 +0000 (20:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 30 Dec 2018 16:42:32 +0000 (17:42 +0100)
commit2bcc4edceb9617308092c9101671f000d6cdbc8a
tree6b4cc040dee9fbc3140a93f87f2b6f331350c4ef
parent7fd41d9fc8f9d4a7a737b0ba17e858278f615268
utils/scanpypi: write _SOURCE only when needed

For some packages, there's no need to add the _SOURCE variable, since
the name of the source file is the same as the name of the package
(like python-engineio). Hence, we'll add it to the .mk file only if
needed.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
utils/scanpypi