On 2016/11/06 18:19, Jeremie Courreges-Anglas wrote:
> - it feels weird not to use MODPY_PI just because MODPY_EGG_VERSION
>   doesn't match the end of DISTNAME.  I can't see an easy workaround.
>   *shrug*

There's a possible workaround but it feels pretty dirty

V =                     0.4.19
MODPY_EGG_VERSION =     0.04.19
DISTNAME =              Unidecode-0.04.19
PKGNAME =               py-${DISTNAME:L}

SUBST_VARS +=           V
MODPY_PI =              Yes

It's not the end of the world to use MASTER_SITES = ${MASTER_SITE_PYPI..}
but I'd add a comment to stop someone else having to try and figure out
why it's not using MODPY_PI.

Strongly prefer this to a GH_ checkout.

Reply via email to