Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566286 - dev-python/cffi-1.2.1 add conditional "test" flag for dev-python/pytest dependency
Summary: dev-python/cffi-1.2.1 add conditional "test" flag for dev-python/pytest depen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-20 02:38 UTC by Virgil Dupras (RETIRED)
Modified: 2015-11-20 20:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Virgil Dupras (RETIRED) gentoo-dev 2015-11-20 02:38:46 UTC
Unlike most other dev-python/* packages (for example dev-python/requests), dev-python/cffi doesn't use a "test" flag to conditionally depend on dev-python/pytest, making pytest and its sub-dependencies being needlessly installed.

Could we please wrap this dependency in a "test" flag?
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-11-20 11:32:11 UTC
commit 3421c9f8bef8d92b6e0eb4788c45fceb7593aa42
Author: Justin Lecher <jlec@gentoo.org>
Date:   Fri Nov 20 09:25:39 2015 +0100

    dev-python/cffi: Add USE=test to install pytest buildtime only

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=566286

    Package-Manager: portage-2.2.25
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3421c9f8bef8d92b6e0eb4788c45fceb7593aa42
Comment 2 Virgil Dupras (RETIRED) gentoo-dev 2015-11-20 20:06:16 UTC
That was fast, thanks!