Package zeroinstall :: Package injector :: Module distro :: Class CygwinDistribution
[frames] | no frames]

Class CygwinDistribution

source code

    object --+        
             |        
  Distribution --+    
                 |    
CachedDistribution --+
                     |
                    CygwinDistribution

A Cygwin-based distribution.

Instance Methods
 
generate_cache(self) source code
 
get_package_info(self, package, factory)
Get information about the given package.
source code

Inherited from CachedDistribution: __init__

Inherited from Distribution: fetch_candidates, fixup, get_feed, get_score, installed_fixup, packagekit

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
str name = 'Cygwin'
the default value for Implementation.distro_name for our implementations
  cache_leaf = 'cygcheck-status.cache'
Instance Variables

Inherited from Distribution: system_paths

Properties

Inherited from object: __class__

Method Details

get_package_info(self, package, factory)

source code 

Get information about the given package. Add zero or more implementations using the factory (typically at most two will be added; the currently installed version and the latest available).

Parameters:
  • package - package name (e.g. "gimp")
  • factory - function for creating new DistributionImplementation objects from IDs
Overrides: Distribution.get_package_info
(inherited documentation)