[Exherbo-dev] [exherbo-commits] python.git -- packages/dev-python/pip/ by Timo Gurr

Bo Ørsted Andresen zlin at exherbo.org
Wed Jan 20 23:54:18 UTC 2016


On Wed, Aug 05, 2015 at 04:11:46PM +0000, git at git.exherbo.org wrote:
> Module:    python.git
> Branch:    master
> Commit:    32c36aa562884424e12234aa433a8e989f4e74b9
> URL:       http://git.exherbo.org/?p=python.git;a=commit;h=32c36aa562884424e12234aa433a8e989f4e74b9
> 
> Author:    Timo Gurr <tgurr at exherbo.org>
> Committer: Timo Gurr <tgurr at exherbo.org>
> Date:      Wed Aug  5 17:45:01 2015 +0200
> 
> ----
> 
> pip: avoid pip <-> mock depedendency loop
[...]  
>  DEPENDENCIES="
> -    test:
> +    suggestion:
>          dev-python/mock[python_abis:*(-)?]
>  "
[...]
>  test_one_multibuild() {
> -    edo mkdir tests
> -    setup-py_test_one_multibuild
> +    # avoid a pip <--> mock dependency loop
> +    if has_version dev-python/mock[python_abis:$(python_get_abi)] ; then
> +        edo mkdir tests
> +        setup-py_test_one_multibuild
> +    else
> +        ewarn "dev-python/mock[python_abis:$(python_get_abi)] not yet installed, skipping tests."
> +    fi

Suggestions must have descriptions.

--
Bo Ørsted Andresen



More information about the Exherbo-dev mailing list