Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoopm:master commit in: gentoopm/basepm/
Date: Tue, 26 Jul 2011 20:10:48
Message-Id: 59ca15b6f034f514b302e6331e3c9213a95be765.mgorny@gentoo
1 commit: 59ca15b6f034f514b302e6331e3c9213a95be765
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 26 19:50:48 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 26 19:50:48 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=59ca15b6
7
8 Make *DEPEND & IUSE support obligatory.
9
10 ---
11 gentoopm/basepm/pkg.py | 8 ++++----
12 1 files changed, 4 insertions(+), 4 deletions(-)
13
14 diff --git a/gentoopm/basepm/pkg.py b/gentoopm/basepm/pkg.py
15 index b92a9cc..d1fa92d 100644
16 --- a/gentoopm/basepm/pkg.py
17 +++ b/gentoopm/basepm/pkg.py
18 @@ -252,7 +252,7 @@ class PMPackage(PMAtom, FillMissingComparisons):
19 return None
20 return PMPackageEnvironment(p)
21
22 - @property
23 + @abstractproperty
24 def build_dependencies(self):
25 """
26 Get the package build dependencies (C{DEPEND}).
27 @@ -261,7 +261,7 @@ class PMPackage(PMAtom, FillMissingComparisons):
28 """
29 pass
30
31 - @property
32 + @abstractproperty
33 def run_dependencies(self):
34 """
35 Get the package runtime dependencies (C{RDEPEND}).
36 @@ -270,7 +270,7 @@ class PMPackage(PMAtom, FillMissingComparisons):
37 """
38 pass
39
40 - @property
41 + @abstractproperty
42 def post_dependencies(self):
43 """
44 Get the package post-installed dependencies (C{PDEPEND}).
45 @@ -279,7 +279,7 @@ class PMPackage(PMAtom, FillMissingComparisons):
46 """
47 pass
48
49 - @property
50 + @abstractproperty
51 def use(self):
52 """
53 Get the list of USE flags declared in the ebuild (C{IUSE}).