diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2022-09-13 21:22:35 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2023-02-01 17:01:30 -0500 |
commit | 680b5ff819bf36397ea560f802510bce5b83f6bc (patch) | |
tree | be858f583b6cce3fab78836b11678759078bef11 /mesonbuild/dependencies | |
parent | dcefe1f8fdd89c5f2d1329c793919396168e01d6 (diff) | |
download | meson-680b5ff819bf36397ea560f802510bce5b83f6bc.zip meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.gz meson-680b5ff819bf36397ea560f802510bce5b83f6bc.tar.bz2 |
treewide: add future annotations import
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r-- | mesonbuild/dependencies/coarrays.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/configtool.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/cuda.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/detect.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/dub.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/framework.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/hdf5.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/misc.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/mpi.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/platform.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/qt.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/scalapack.py | 1 | ||||
-rw-r--r-- | mesonbuild/dependencies/ui.py | 2 |
13 files changed, 14 insertions, 0 deletions
diff --git a/mesonbuild/dependencies/coarrays.py b/mesonbuild/dependencies/coarrays.py index b50fb0a..70cf4f8 100644 --- a/mesonbuild/dependencies/coarrays.py +++ b/mesonbuild/dependencies/coarrays.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import functools import typing as T diff --git a/mesonbuild/dependencies/configtool.py b/mesonbuild/dependencies/configtool.py index 1c8d730..1f16a43 100644 --- a/mesonbuild/dependencies/configtool.py +++ b/mesonbuild/dependencies/configtool.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from .base import ExternalDependency, DependencyException, DependencyTypeName from ..mesonlib import listify, Popen_safe, split_args, version_compare, version_compare_many diff --git a/mesonbuild/dependencies/cuda.py b/mesonbuild/dependencies/cuda.py index 608d4f7..8772427 100644 --- a/mesonbuild/dependencies/cuda.py +++ b/mesonbuild/dependencies/cuda.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import glob import re diff --git a/mesonbuild/dependencies/detect.py b/mesonbuild/dependencies/detect.py index 782c2f1..4c7a477 100644 --- a/mesonbuild/dependencies/detect.py +++ b/mesonbuild/dependencies/detect.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from .base import ExternalDependency, DependencyException, DependencyMethods, NotFoundDependency from .cmake import CMakeDependency diff --git a/mesonbuild/dependencies/dub.py b/mesonbuild/dependencies/dub.py index a4a7676..ac2b667 100644 --- a/mesonbuild/dependencies/dub.py +++ b/mesonbuild/dependencies/dub.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from .base import ExternalDependency, DependencyException, DependencyTypeName from .pkgconfig import PkgConfigDependency diff --git a/mesonbuild/dependencies/framework.py b/mesonbuild/dependencies/framework.py index f288851..b02b3ce 100644 --- a/mesonbuild/dependencies/framework.py +++ b/mesonbuild/dependencies/framework.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from .base import DependencyTypeName, ExternalDependency, DependencyException from ..mesonlib import MesonException, Version, stringlistify diff --git a/mesonbuild/dependencies/hdf5.py b/mesonbuild/dependencies/hdf5.py index 27f127d..4e5820a 100644 --- a/mesonbuild/dependencies/hdf5.py +++ b/mesonbuild/dependencies/hdf5.py @@ -13,6 +13,7 @@ # limitations under the License. # This file contains the detection logic for miscellaneous external dependencies. +from __future__ import annotations import functools import os diff --git a/mesonbuild/dependencies/misc.py b/mesonbuild/dependencies/misc.py index 07f4e9a..2913d84 100644 --- a/mesonbuild/dependencies/misc.py +++ b/mesonbuild/dependencies/misc.py @@ -13,6 +13,7 @@ # limitations under the License. # This file contains the detection logic for miscellaneous external dependencies. +from __future__ import annotations from pathlib import Path import functools diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py index ddb512a..8f83ce4 100644 --- a/mesonbuild/dependencies/mpi.py +++ b/mesonbuild/dependencies/mpi.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations import functools import typing as T diff --git a/mesonbuild/dependencies/platform.py b/mesonbuild/dependencies/platform.py index 1fd1d78..6d32555 100644 --- a/mesonbuild/dependencies/platform.py +++ b/mesonbuild/dependencies/platform.py @@ -14,6 +14,7 @@ # This file contains the detection logic for external dependencies that are # platform-specific (generally speaking). +from __future__ import annotations from .base import DependencyTypeName, ExternalDependency, DependencyException from ..mesonlib import MesonException diff --git a/mesonbuild/dependencies/qt.py b/mesonbuild/dependencies/qt.py index c6162ed..6dd712d 100644 --- a/mesonbuild/dependencies/qt.py +++ b/mesonbuild/dependencies/qt.py @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations """Dependency finders for the Qt framework.""" diff --git a/mesonbuild/dependencies/scalapack.py b/mesonbuild/dependencies/scalapack.py index 656978d..be8ee70 100644 --- a/mesonbuild/dependencies/scalapack.py +++ b/mesonbuild/dependencies/scalapack.py @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import annotations from pathlib import Path import functools diff --git a/mesonbuild/dependencies/ui.py b/mesonbuild/dependencies/ui.py index 66b13ec..2c341af 100644 --- a/mesonbuild/dependencies/ui.py +++ b/mesonbuild/dependencies/ui.py @@ -14,6 +14,8 @@ # This file contains the detection logic for external dependencies that # are UI-related. +from __future__ import annotations + import os import subprocess import typing as T |