Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 498726

Summary: net-analyzer/nmap-6.25: migrate to python-single-r1
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 455102    
Attachments: patch, works for me
patch, works for me

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 <floppym@gentoo.org> +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.