Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556360 - dev-python/mccabe-0.3.1-r1 new ebuild
Summary: dev-python/mccabe-0.3.1-r1 new ebuild
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 556356
  Show dependency tree
 
Reported: 2015-07-30 22:16 UTC by Rustam Karimov
Modified: 2015-08-21 07:21 UTC (History)
1 user (show)

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


Attachments
mccabe-0.3.1-r1 ebuild (mccabe-0.3.1-r1.ebuild,729 bytes, text/plain)
2015-07-30 22:17 UTC, Rustam Karimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rustam Karimov 2015-07-30 22:16:09 UTC
Add "flake8" USE flag to the ebuild since this script can work without flake8 installation or with another code audit tool (e.x. pylama).

Reproducible: Always
Comment 1 Rustam Karimov 2015-07-30 22:17:06 UTC
Created attachment 408026 [details]
mccabe-0.3.1-r1 ebuild
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-08-21 07:21:05 UTC
RDEPEND=">=dev-python/pep8-1.4.3[${PYTHON_USEDEP}]
		flake8? ( dev-python/flake8[${PYTHON_USEDEP}] )"

NO. This is not only not needed but it counters an inflexible rule or guide.  Using the above is perfectly valid except it is countered by gentoo's own protocol in ebuild writing. While gentoo's docs are too copious for me to find it now, it states not to use IUSE flags in RDEPEND without adjusting the build. Generally this is done in src_configure, setting configure options in a makefile that effect the state of the final build. This simply doesn't apply in pythonic packages.