python,python3: Add PYPI_SOURCE_NAME to pypi.mk
authorJeffery To <redacted>
Mon, 21 Oct 2019 12:31:34 +0000 (20:31 +0800)
committerJosef Schlehofer <redacted>
Mon, 21 Oct 2019 13:27:04 +0000 (15:27 +0200)
commit1bacdd52f727c1417b45e4d9d58e3436a9ca06fa
treee30ae3a526c63a6aa9f91f3af11253dbdb89384d
parenta8bf6a8bd64ab0f1896000bc64909b96abbf1e99
python,python3: Add PYPI_SOURCE_NAME to pypi.mk

This adds a new (optional) variable, PYPI_SOURCE_NAME, to pypi.mk.

For some PyPi packages (e.g. aiohttp_cors, click, django-compressor),
the name of the package and the source tarball name are slightly
different (usually by capitalisation or hyphen/underscore change).

This new variable is to make this difference explicit. PYPI_NAME is
meant for the "official" package name, whereas PYPI_SOURCE_NAME is meant
for the source tarball name.

Signed-off-by: Jeffery To <redacted>
lang/python/pypi.mk
git clone https://git.99rst.org/PROJECT