Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498726 - net-analyzer/nmap-6.25: migrate to python-single-r1
Summary: net-analyzer/nmap-6.25: migrate to python-single-r1
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
Depends on:
Blocks: python-r1-tracker
  Show dependency tree
Reported: 2014-01-20 20:26 UTC by Nikoli
Modified: 2014-11-11 22:23 UTC (History)
1 user (show)

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

patch, works for me (nmap-6.25.ebuild.patch,2.00 KB, patch)
2014-01-20 20:26 UTC, Nikoli
Details | Diff
patch, works for me (nmap-6.25.ebuild.patch,1.90 KB, patch)
2014-11-11 20:40 UTC, Nikoli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2014-01-20 20:26:07 UTC
Created attachment 368286 [details, diff]
patch, works for me

nmap-6.40-r1.ebuild is migrated to python-r1 eclasses, but hard masked, also it has several mistakes:
missing REQUIRED_USE for python USE flags
NMAP_PYTHON_DEPEND is pointless and should not have '|| ('
pygtk dep does not have slot and [${PYTHON_USEDEP}]
ebuild does not run 'python_optimize "${ED}"/$(python_get_sitedir)'

P.S. Was it really required to rename gtk USE flag?
Comment 1 Nikoli 2014-11-11 20:40:48 UTC
Created attachment 389122 [details, diff]
patch, works for me

Fixed building with python disabled and PYTHON_TARGETS="".
Comment 2 Mike Gilbert gentoo-dev 2014-11-11 22:23:32 UTC
+*nmap-6.25-r1 (11 Nov 2014)
+  11 Nov 2014; Mike Gilbert <> +nmap-6.25-r1.ebuild,
+  nmap-6.47.ebuild:
+  Call python_optimize in src_install, and backport python changes to
+  nmap-6.25-r1. Bug 498726 by Nikoli.