From 41e82fbad4ae25efdc7756a74e63c5d120e3cca3 Mon Sep 17 00:00:00 2001 From: greg7mdp Date: Thu, 27 Apr 2023 21:21:30 -0400 Subject: [PATCH] Remove conanfile.py --- parallel_hashmap/conanfile.py | 37 ----------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 parallel_hashmap/conanfile.py diff --git a/parallel_hashmap/conanfile.py b/parallel_hashmap/conanfile.py deleted file mode 100644 index f3099f1..0000000 --- a/parallel_hashmap/conanfile.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -from conans import ConanFile, tools -import os - -class SparseppConan(ConanFile): - name = "parallel_hashmap" - version = "1.3.11" - description = "A header-only, very fast and memory-friendly hash map" - url = "https://github.com/greg7mdp/parallel-hashmap/blob/master/parallel_hashmap/conanfile.py" - - # Indicates License type of the packaged library - license = "https://github.com/greg7mdp/parallel-hashmap/blob/master/LICENSE" - - # Packages the license for the conanfile.py - exports = ["LICENSE"] - - # Custom attributes for Bincrafters recipe conventions - source_subfolder = "source_subfolder" - - def source(self): - source_url = "https://github.com/greg7mdp/parallel-hashmap" - tools.get("{0}/archive/{1}.tar.gz".format(source_url, self.version)) - extracted_dir = self.name + "-" + self.version - - #Rename to "source_folder" is a convention to simplify later steps - os.rename(extracted_dir, self.source_subfolder) - - - def package(self): - include_folder = os.path.join(self.source_subfolder, "parallel_hashmap") - self.copy(pattern="LICENSE") - self.copy(pattern="*", dst="include/parallel_hashmap", src=include_folder) - - def package_id(self): - self.info.header_only()