Commit graph

9 commits

Author SHA1 Message Date
Laurent Peuch
aad3740933 [mod] autopep8 on all files that aren't concerned by a PR 2016-12-18 02:01:17 +01:00
Jérôme Lebleu
7a87fa7ebc [enh] Implement the intersection of package version SpecifierSet class 2016-04-25 12:17:10 +02:00
Jérôme Lebleu
86e10064e0 [fix] Correct argument index in __repr__ of utils.packages classes 2016-04-25 11:55:49 +02:00
Jérôme Lebleu
d280a08cee [enh] Implement the union of package version Specifier class 2016-04-25 11:18:08 +02:00
Jérôme Lebleu
3e1f9d223b [doc] Add documentation to contains methods of Specifier/SpecifierSet 2016-04-25 11:13:01 +02:00
Jérôme Lebleu
afda4a9c90 [enh] Implement the intersection of package version Specifier class 2016-04-25 10:58:19 +02:00
Jérôme Lebleu
fba14e55df [enh] Introduce new 'requirements' manifest key (close #113)
The 'requirements' key allows to specify the Debian packages which must
be installed and their required version. It must be an array of the
package name as the key and its version specifier - for its format, see
yunohost.utils.packages.Specifier - as value. For example:

"requirements": {
  "yunohost": ">= 2.4, << 2.5"
}
2016-03-08 22:58:47 +01:00
Jérôme Lebleu
cc4dc54ed3 [enh] Implement package version specifier and use it for min_version 2016-03-08 21:52:45 +01:00
Jérôme Lebleu
5afd0c1272 [enh] Rely on APT python library to retrieve packages version
It introduces a new `yunohost.utils` package which will contain common
utils used by YunoHost actions. It comes with a work in progress `packages`
module with simple methods to retrieve installed version of packages for now.
2016-03-08 16:10:14 +01:00