From 5dcf6054125b4b1ce0489f8caa8e97e2c4607fd4 Mon Sep 17 00:00:00 2001 From: Khalil Estell Date: Fri, 9 Sep 2022 17:44:54 -0700 Subject: [PATCH] [conan] Fix imports and license path - Bump version to 1.81.0 - Import fix is simply a cleanup step that has no impact on the conanfile as the import was not used - License path was incorrect meaning that the package was previously not included the local conan package cache. --- conanfile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conanfile.py b/conanfile.py index 9f2cdd7b..641a70c5 100644 --- a/conanfile.py +++ b/conanfile.py @@ -1,5 +1,5 @@ from conan import ConanFile -from conan.tools.files import get, copy +from conan.tools.files import copy from conan.tools.layout import basic_layout from conan.tools.build import check_min_cppstd from conan.errors import ConanInvalidConfiguration @@ -11,7 +11,7 @@ class BoostLEAFConan(ConanFile): name = "boost-leaf" - version = "1.81.0-prerelease" + version = "1.81.0" license = "BSL-1.0" url = "https://github.com/conan-io/conan-center-index" homepage = "https://github.com/boostorg/leaf" @@ -64,7 +64,7 @@ def layout(self): basic_layout(self) def package(self): - copy(self, "LICENSE", dst=os.path.join( + copy(self, "LICENSE_1_0.txt", dst=os.path.join( self.package_folder, "licenses"), src=self.source_folder) copy(self, "*.h", dst=os.path.join(self.package_folder, "include"), src=os.path.join(self.source_folder, "include"))