aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/wrap/wrap.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-12-02 19:48:10 +0200
committerGitHub <noreply@github.com>2018-12-02 19:48:10 +0200
commit7ffc26078d672b5c4fafb3ac10d1850aee1ecb7b (patch)
tree2a0f72c0431721b37410830c45687cb9f1d34552 /mesonbuild/wrap/wrap.py
parent41a98d0fdda516ba4b8a7ae31874e37ec42cb363 (diff)
parent2efedf80e0129ee1dea560aa652f6358e3686854 (diff)
downloadmeson-7ffc26078d672b5c4fafb3ac10d1850aee1ecb7b.zip
meson-7ffc26078d672b5c4fafb3ac10d1850aee1ecb7b.tar.gz
meson-7ffc26078d672b5c4fafb3ac10d1850aee1ecb7b.tar.bz2
Merge pull request #4389 from xclaesse/subprojects-cmd
Add 'meson subprojects update' command
Diffstat (limited to 'mesonbuild/wrap/wrap.py')
-rw-r--r--mesonbuild/wrap/wrap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/wrap/wrap.py b/mesonbuild/wrap/wrap.py
index 7cad904..f4134d3 100644
--- a/mesonbuild/wrap/wrap.py
+++ b/mesonbuild/wrap/wrap.py
@@ -78,7 +78,9 @@ class WrapNotFoundException(WrapException):
class PackageDefinition:
def __init__(self, fname):
+ self.filename = fname
self.basename = os.path.basename(fname)
+ self.name = self.basename[:-5]
try:
self.config = configparser.ConfigParser(interpolation=None)
self.config.read(fname)