2021-05-14 08:10:58 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Packages
|
|
|
|
module Pypi
|
|
|
|
class PackagesFinder < ::Packages::GroupOrProjectPackageFinder
|
2021-08-12 17:10:33 -04:00
|
|
|
def execute
|
|
|
|
packages.with_normalized_pypi_name(@params[:package_name])
|
2021-05-14 08:10:58 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
private
|
|
|
|
|
|
|
|
def packages
|
2021-05-17 11:10:15 -04:00
|
|
|
base.pypi.has_version
|
2021-05-14 08:10:58 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|