mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-02 08:43:55 +00:00
(#12568) Fix license and url of libcurl in conanfile.py
* Fix license and url of libcurl in conanfile.py libcurl is provided under "curl" license - see https://curl.se/docs/copyright.html and https://spdx.org/licenses/curl.html URL is https://curl.se * Set license to MIT for versions before 7.10.4 (patch provided by uilianries) * Update Conan tools imports Signed-off-by: Uilian Ries <uilianries@gmail.com> Signed-off-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,5 @@
|
||||
from conans import ConanFile, CMake, tools
|
||||
from conans import ConanFile, CMake
|
||||
from conan.tools.build import cross_building
|
||||
import os
|
||||
import subprocess
|
||||
import re
|
||||
@@ -30,7 +31,7 @@ class TestPackageConan(ConanFile):
|
||||
return os.path.join("bin", "test_package")
|
||||
|
||||
def test(self):
|
||||
if not tools.cross_building(self):
|
||||
if not cross_building(self):
|
||||
self.run(self._test_executable, run_environment=True)
|
||||
else:
|
||||
# We will dump information for the generated executable
|
||||
|
Reference in New Issue
Block a user