summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2023-06-06 13:50:24 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-06-07 08:41:21 +0000
commit804c272d31590a2cce806af48a3069f820c5279b (patch)
tree6ae9b3a7ebdee163cb6e63c1e2f4557f8b7f71dc
parentb05749cf3b4e8c1f9f7160d06213f4981ad7ca64 (diff)
Remove conanfile.py
The conan experiment has ended, and the file is only bitrotting nowadays. Change-Id: I85be34d08b45d7244df4996e39ef9df111bda5e2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 1a6bca6f839820c33cf37102d4747204d35b2ef5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--conanfile_qtscxml.py44
-rw-r--r--conanfile_qtscxmlqml.py47
-rw-r--r--conanfile_qtstatemachine.py45
-rw-r--r--conanfile_qtstatemachineqml.py36
4 files changed, 0 insertions, 172 deletions
diff --git a/conanfile_qtscxml.py b/conanfile_qtscxml.py
deleted file mode 100644
index 30617cc..0000000
--- a/conanfile_qtscxml.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-
-from conans import ConanFile
-import re
-from pathlib import Path
-from typing import Dict, Any
-
-_qtscxml_features = [
- "scxml-ecmascriptdatamodel",
-]
-
-
-def _parse_qt_version_by_key(key: str) -> str:
- with open(Path(__file__).parent.resolve() / ".cmake.conf") as f:
- m = re.search(fr'{key} .*"(.*)"', f.read())
- return m.group(1) if m else ""
-
-
-def _get_qt_minor_version() -> str:
- return ".".join(_parse_qt_version_by_key("QT_REPO_MODULE_VERSION").split(".")[:2])
-
-
-class QtScxml(ConanFile):
- name = "qtscxml"
- license = "LGPL-3.0, GPL-2.0+, Commercial Qt License Agreement"
- author = "The Qt Company <https://www.qt.io/contact-us>"
- url = "https://code.qt.io/cgit/qt/qtscxml.git"
- description = "Qt SCXML Statemachine support."
- topics = "qt", "qt6", "scxml"
- settings = "os", "compiler", "arch", "build_type"
- # for referencing the version number and prerelease tag and dependencies info
- exports = ".cmake.conf", "dependencies.yaml"
- exports_sources = "*", "!conan*.*"
- python_requires = f"qt-conan-common/{_get_qt_minor_version()}@qt/everywhere"
- python_requires_extend = "qt-conan-common.QtLeafModule"
-
- def get_qt_leaf_module_options(self) -> Dict[str, Any]:
- """Implements abstractmethod from qt-conan-common.QtLeafModule"""
- return self._shared.convert_qt_features_to_conan_options(_qtscxml_features)
-
- def get_qt_leaf_module_default_options(self) -> Dict[str, Any]:
- """Implements abstractmethod from qt-conan-common.QtLeafModule"""
- return self._shared.convert_qt_features_to_default_conan_options(_qtscxml_features)
diff --git a/conanfile_qtscxmlqml.py b/conanfile_qtscxmlqml.py
deleted file mode 100644
index 95f0cc1..0000000
--- a/conanfile_qtscxmlqml.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright (C) 2021 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-
-from conans import ConanFile
-import re
-from pathlib import Path
-from typing import List, Dict, Any
-
-
-_qtscxmlqml_features = ["scxml-ecmascriptdatamodel"]
-
-
-def _parse_qt_version_by_key(key: str) -> str:
- with open(Path(__file__).parent.resolve() / ".cmake.conf") as f:
- m = re.search(fr'{key} .*"(.*)"', f.read())
- return m.group(1) if m else ""
-
-
-def _get_qt_minor_version() -> str:
- return ".".join(_parse_qt_version_by_key("QT_REPO_MODULE_VERSION").split(".")[:2])
-
-
-class QtScxmlQml(ConanFile):
- name = "qtscxmlqml"
- license = "LGPL-3.0, GPL-2.0+, Commercial Qt License Agreement"
- author = "The Qt Company <https://www.qt.io/contact-us>"
- url = "https://code.qt.io/cgit/qt/qtscxml.git"
- description = "Qt SCXML Statemachine QML support."
- topics = "qt", "qt6", "scxmlqml"
- settings = "os", "compiler", "arch", "build_type"
- # for referencing the version number and prerelease tag and dependencies info
- exports = ".cmake.conf", "dependencies.yaml"
- exports_sources = "*", "!conan*.*"
- python_requires = f"qt-conan-common/{_get_qt_minor_version()}@qt/everywhere"
- python_requires_extend = "qt-conan-common.QtLeafModule"
-
- def get_qt_leaf_module_options(self) -> Dict[str, Any]:
- """Implements abstractmethod from qt-conan-common.QtLeafModule"""
- return {item.replace("-", "_"): ["yes", "no", None] for item in _qtscxmlqml_features}
-
- def get_qt_leaf_module_default_options(self) -> Dict[str, Any]:
- """Implements abstractmethod from qt-conan-common.QtLeafModule"""
- return {item.replace("-", "_"): None for item in _qtscxmlqml_features}
-
- def override_qt_requirements(self) -> List[str]:
- """Implements abstracmethod from qt-conan-common.QtLeafModule"""
- return ["qtbase", "qtdeclarative", "qtscxml"]
diff --git a/conanfile_qtstatemachine.py b/conanfile_qtstatemachine.py
deleted file mode 100644
index 09f363e..0000000
--- a/conanfile_qtstatemachine.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright (C) 2022 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-
-from conans import ConanFile
-import re
-from pathlib import Path
-from typing import Dict, Any
-
-_qtstatemachine_features = [
- "statemachine",
- "qeventtransition",
-]
-
-
-def _parse_qt_version_by_key(key: str) -> str:
- with open(Path(__file__).parent.resolve() / ".cmake.conf") as f:
- m = re.search(fr'{key} .*"(.*)"', f.read())
- return m.group(1) if m else ""
-
-
-def _get_qt_minor_version() -> str:
- return ".".join(_parse_qt_version_by_key("QT_REPO_MODULE_VERSION").split(".")[:2])
-
-
-class QtStateMachine(ConanFile):
- name = "qtstatemachine"
- license = "LGPL-3.0, GPL-2.0+, Commercial Qt License Agreement"
- author = "The Qt Company <https://www.qt.io/contact-us>"
- url = "https://code.qt.io/cgit/qt/qtscxml.git"
- description = "Qt Statemachine support."
- topics = "qt", "qt6", "statemachine"
- settings = "os", "compiler", "arch", "build_type"
- # for referencing the version number and prerelease tag and dependencies info
- exports = ".cmake.conf", "dependencies.yaml"
- exports_sources = "*", "!conan*.*"
- python_requires = f"qt-conan-common/{_get_qt_minor_version()}@qt/everywhere"
- python_requires_extend = "qt-conan-common.QtLeafModule"
-
- def get_qt_leaf_module_options(self) -> Dict[str, Any]:
- """Implements abstractmethod from qt-conan-common.QtLeafModule"""
- return self._shared.convert_qt_features_to_conan_options(_qtstatemachine_features)
-
- def get_qt_leaf_module_default_options(self) -> Dict[str, Any]:
- """Implements abstractmethod from qt-conan-common.QtLeafModule"""
- return self._shared.convert_qt_features_to_default_conan_options(_qtstatemachine_features)
diff --git a/conanfile_qtstatemachineqml.py b/conanfile_qtstatemachineqml.py
deleted file mode 100644
index f436751..0000000
--- a/conanfile_qtstatemachineqml.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright (C) 2021 The Qt Company Ltd.
-# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
-
-from conans import ConanFile
-import re
-from pathlib import Path
-from typing import List
-
-
-def _parse_qt_version_by_key(key: str) -> str:
- with open(Path(__file__).parent.resolve() / ".cmake.conf") as f:
- m = re.search(fr'{key} .*"(.*)"', f.read())
- return m.group(1) if m else ""
-
-
-def _get_qt_minor_version() -> str:
- return ".".join(_parse_qt_version_by_key("QT_REPO_MODULE_VERSION").split(".")[:2])
-
-
-class QtStateMachineQml(ConanFile):
- name = "qtstatemachineqml"
- license = "LGPL-3.0, GPL-2.0+, Commercial Qt License Agreement"
- author = "The Qt Company <https://www.qt.io/contact-us>"
- url = "https://code.qt.io/cgit/qt/qtscxml.git"
- description = "Qt Statemachine QML support."
- topics = "qt", "qt6", "statemachineqml"
- settings = "os", "compiler", "arch", "build_type"
- # for referencing the version number and prerelease tag and dependencies info
- exports = ".cmake.conf", "dependencies.yaml"
- exports_sources = "*", "!conan*.*"
- python_requires = f"qt-conan-common/{_get_qt_minor_version()}@qt/everywhere"
- python_requires_extend = "qt-conan-common.QtLeafModule"
-
- def override_qt_requirements(self) -> List[str]:
- """Implements abstracmethod from qt-conan-common.QtLeafModule"""
- return ["qtbase", "qtdeclarative", "qtstatemachine"]