Merge pull request #17087 from cho-m/keg-python2.7-refs-deprecate
keg: comment to odeprecated some Python 2 related methods
This commit is contained in:
		
						commit
						40d2f5c23a
					
				@ -361,15 +361,6 @@ class Keg
 | 
			
		||||
    !Dir["#{path}/*.plist"].empty?
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def python_site_packages_installed?
 | 
			
		||||
    (path/"lib/python2.7/site-packages").directory?
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  sig { returns(T::Boolean) }
 | 
			
		||||
  def python_pth_files_installed?
 | 
			
		||||
    !Dir["#{path}/lib/python2.7/site-packages/*.pth"].empty?
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  sig { returns(T::Array[Pathname]) }
 | 
			
		||||
  def apps
 | 
			
		||||
    app_prefix = optlinked? ? opt_record : path
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user