Not found locally for Dpkg::Deps::Simple. Try Google search
Dpkg::Deps::Simple β represents a single dependency statement
| Use Case | Command | Description |
|---|---|---|
| Create a new dependency object | Dpkg::Deps::Simple->new([$dep[, %opts]]) | Create a new dependency, optionally from a string or with options like host_arch, build_arch, build_dep, tests_dep |
| Parse a dependency string | $dep->parse_string($dep_string) | Parse a dependency string and set internal properties |
| Check if dependency implies another | $dep->implies($other_dep) | Returns 1 if true, 0 if false, undef if no implication |
| Simplify for architecture | $dep->reduce_arch($arch) | Trim dependency to only relevant architecture |
| Evaluate dependency against facts | $dep->get_evaluation($facts) | Evaluate truth given installed packages and virtual packages |
| Output dependency string | $dep->output([$fh]) or "$dep" | Return string representation, optionally print to filehandle |
This class represents a single dependency statement. It has several interesting properties:
undef if the dependency has not been initialized or if simplification led to removal).=, <<, <=, >= or >>. Can be undefined if no version restriction.!).any in python:any (>= 2.6)). Can be undef.$dep = Dpkg::Deps::Simple->new([$dep[, %opts]]) β Creates a new object. Options: host_arch, build_arch, build_dep (default 0), tests_dep (default 0).$dep->reset() β Clears any dependency information so that $dep->is_empty() returns true.$dep->parse_string($dep_string) β Parses the dependency string and modifies internal properties.$dep->parse($fh, $desc) β Parse a dependency line from a filehandle.$dep->load($filename) β Parse a dependency line from a file.$dep->output([$fh]) / "$dep" β Returns a string representing the dependency. If $fh is set, prints to filehandle.$dep->save($filename) β Save the dependency into a file.$dep->implies($other_dep) β Returns 1 when $dep implies $other_dep, 0 when implies NOT, undef when no implication.$dep->get_deps() β Returns a list of subβdependencies (for this object, returns itself).$dep->sort() β Noβop for this object.$dep->arch_is_concerned($arch) β True if dependency applies to the given architecture.$dep->reduce_arch($arch) β Simplifies dependency to contain only information relevant to the given architecture. May leave object empty.$dep->has_arch_restriction() β Returns the package name if dependency applies only to a subset of architectures.$dep->profile_is_concerned() β True if dependency applies to the given profile.$dep->reduce_profiles() β Simplifies dependency to contain only information relevant to the given profile. May leave object empty.$dep->get_evaluation($facts) β Evaluates dependency given a Dpkg::Deps::KnownFacts object. Returns 1 (true), 0 (false), undef (inconclusive).$dep->simplify_deps($facts, @assumed_deps) β Simplifies dependency as much as possible given facts and assumed true dependencies.$dep->is_empty() β True if dependency is empty / not yet initialized.$dep->merge_union($other_dep) β True if $dep could be modified to represent the union of both dependencies; otherwise false.$dep->profile_is_concerned() and $dep->reduce_profiles().$dep->reset().any and stores it in the archqual property.Generated by phpman v4.10.0-7-g98e9fd5 Author: Che Dong Under GNU General Public License
2026-09-09 12:11 @2600:1f28:365:80b0:60b0:dfa5:fbc9:9f8f
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)