aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2020-07-03 14:00:04 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2020-07-04 13:58:36 +0300
commite1094df77e16835861b160ea5d9ed35756a678f8 (patch)
tree92b8fc8407973aad5f3ff1fd073d16a75b4ad172 /mesonbuild
parentb510d644feb8e0268236f0871a96c1ae86de5cab (diff)
downloadmeson-e1094df77e16835861b160ea5d9ed35756a678f8.zip
meson-e1094df77e16835861b160ea5d9ed35756a678f8.tar.gz
meson-e1094df77e16835861b160ea5d9ed35756a678f8.tar.bz2
wrap: Add back filename member in PackageDefinition
It is still used by msubprojects.py and cause issues when updating wrapdb.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/wrap/wrap.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py
index e0c7a04..54daaf3 100644
--- a/mesonbuild/wrap/wrap.py
+++ b/mesonbuild/wrap/wrap.py
@@ -103,6 +103,7 @@ class WrapNotFoundException(WrapException):
class PackageDefinition:
def __init__(self, fname: str):
+ self.filename = fname
self.type = None
self.values = {} # type: T.Dict[str, str]
self.provided_deps = {} # type: T.Dict[str, T.Optional[str]]