PackageBase: add a list of metadata attributes
These attributes are ignored when doing a content hash of a package.
This commit is contained in:
parent
39cb9d0397
commit
db81d19ddd
1 changed files with 4 additions and 0 deletions
|
@ -563,6 +563,10 @@ class SomePackage(Package):
|
||||||
#: Do not include @ here in order not to unnecessarily ping the users.
|
#: Do not include @ here in order not to unnecessarily ping the users.
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
|
#: List of attributes which affect do not affect a package's content.
|
||||||
|
metadata_attrs = ['homepage', 'url', 'list_url', 'extendable', 'parallel',
|
||||||
|
'make_jobs']
|
||||||
|
|
||||||
def __init__(self, spec):
|
def __init__(self, spec):
|
||||||
# this determines how the package should be built.
|
# this determines how the package should be built.
|
||||||
self.spec = spec
|
self.spec = spec
|
||||||
|
|
Loading…
Reference in a new issue