Skip to content

Commit

Permalink
remove patches
Browse files Browse the repository at this point in the history
  • Loading branch information
toge committed May 2, 2024
1 parent 990c596 commit 17a0c65
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
6 changes: 0 additions & 6 deletions recipes/reflect-cpp/all/conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ sources:
"0.6.0":
url: "https://github.com/getml/reflect-cpp/archive/v0.6.0.tar.gz"
sha256: "D8231B91989397A67E841B56A0673FDCDF969DBE956D54BB629F14100B030664"
patches:
"0.9.0":
- patch_file: "patches/9.0.0-fix-msvc-error.patch"
patch_description: "fix MSVC compilation error"
patch_type: "portability"
patch_source: "https://github.com/getml/reflect-cpp/pull/91"
8 changes: 1 addition & 7 deletions recipes/reflect-cpp/all/conanfile.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from conan import ConanFile
from conan.errors import ConanInvalidConfiguration
from conan.tools.files import get, copy, export_conandata_patches, apply_conandata_patches
from conan.tools.files import get, copy
from conan.tools.build import check_min_cppstd
from conan.tools.scm import Version
from conan.tools.layout import basic_layout
Expand Down Expand Up @@ -44,9 +44,6 @@ def _compilers_minimum_version(self):
"apple-clang": "15",
}

def export_sources(self):
export_conandata_patches(self)

def layout(self):
basic_layout(self, src_folder="src")

Expand Down Expand Up @@ -75,9 +72,6 @@ def validate(self):
def source(self):
get(self, **self.conan_data["sources"][self.version], strip_root=True)

def build(self):
apply_conandata_patches(self)

def package(self):
copy(self, pattern="LICENSE*", dst=os.path.join(self.package_folder, "licenses"), src=self.source_folder)
copy(
Expand Down
17 changes: 0 additions & 17 deletions recipes/reflect-cpp/all/patches/9.0.0-fix-msvc-error.patch

This file was deleted.

0 comments on commit 17a0c65

Please sign in to comment.