Skip to content

Commit a14e545

Browse files
sqlitecpp: add version 3.3.3 (#28759)
* add version 3.3.3 * maintenance: sqlitecpp keep only one version --------- Co-authored-by: Luis Caro Campos <[email protected]>
1 parent a16945f commit a14e545

File tree

3 files changed

+4
-19
lines changed

3 files changed

+4
-19
lines changed
Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
sources:
2-
"3.3.2":
3-
url: "https://github.com/SRombauts/SQLiteCpp/archive/3.3.2.tar.gz"
4-
sha256: "5aa8eda130d0689bd5ed9b2074714c2dbc610f710483c61ba6cf944cebfe03af"
5-
"3.2.1":
6-
url: "https://github.com/SRombauts/SQLiteCpp/archive/3.2.1.tar.gz"
7-
sha256: "70c67d5680c47460f82a7abf8e6b0329bf2fb10795a982a6d8abc06adb42d693"
8-
"3.1.1":
9-
url: "https://github.com/SRombauts/SQLiteCpp/archive/3.1.1.tar.gz"
10-
sha256: "b00b1efad985dd415c3b62b01252cae20d9f2c32dcac435ddd8a105e9d4ddcde"
2+
"3.3.3":
3+
url: "https://github.com/SRombauts/SQLiteCpp/archive/3.3.3.tar.gz"
4+
sha256: "33bd4372d83bc43117928ee842be64d05e7807f511b5195f85d30015cad9cac6"

recipes/sqlitecpp/all/conanfile.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from conan import ConanFile
22
from conan.tools.files import copy, get, rmdir
3-
from conan.tools.scm import Version
43
from conan.tools.build import check_min_cppstd
54
from conan.tools.cmake import CMake, CMakeToolchain, CMakeDeps, cmake_layout
65
from conan.errors import ConanInvalidConfiguration
@@ -36,8 +35,6 @@ class SQLiteCppConan(ConanFile):
3635
def config_options(self):
3736
if self.settings.os == "Windows":
3837
del self.options.fPIC
39-
if Version(self.version) < "3.3.1":
40-
del self.options.with_sqlcipher
4138

4239
def configure(self):
4340
if self.options.shared:
@@ -56,8 +53,6 @@ def validate(self):
5653

5754
if self.info.settings.os == "Windows" and self.info.options.shared:
5855
raise ConanInvalidConfiguration("SQLiteCpp can not be built as shared lib on Windows")
59-
if self.options.get_safe("with_sqlcipher")and Version(self.version) < "3.3.1":
60-
raise ConanInvalidConfiguration("Using SQLCipher with this recipe is only available from version 3.3.1")
6156
if self.options.get_safe("with_sqlcipher") and not self.dependencies["sqlcipher"].options.enable_column_metadata:
6257
raise ConanInvalidConfiguration(f"{self.ref} option with_sqlcipher=True requires 'sqlcipher/*:enable_column_metadata=True'")
6358

recipes/sqlitecpp/config.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
versions:
2-
"3.3.2":
3-
folder: all
4-
"3.2.1":
5-
folder: all
6-
"3.1.1":
2+
"3.3.3":
73
folder: all

0 commit comments

Comments
 (0)