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

Bug 552838

Summary: www-apps/websvn : Remove deprecated depend.php functions
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal CC: mjo, webapps-request
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 552836    
Attachments: websvn-2.3.3-r1.ebuild

Description Brian Evans (RETIRED) gentoo-dev 2015-06-22 15:07:16 UTC
www-apps/websvn is using functions that are not deprecated and should be removed.
The list below are the functions and suggested resolutions

need_php_httpd : Use {,R}DEPEND="virtual/httpd-php"

has_php : No longer has any value and is not sustainable.  Only bails
out when PHP is not installed, which deps should take care of, most
other variables set no longer exist; Remove the call

require_php_with_use : Use EAPI2 USE dependencies instead.  As USE
change, builds randomly fail and are not checked by repoman
Comment 1 Michael Orlitzky gentoo-dev 2016-07-11 22:40:56 UTC
Created attachment 440396 [details]
websvn-2.3.3-r1.ebuild

Here's an ebuild with EAPI=6 and without depend.php. Seems to do about the same thing.
Comment 2 Brian Evans (RETIRED) gentoo-dev 2016-08-15 13:03:22 UTC
Fixed in the tree