uvw/conanfile.py
Uilian Ries 7c043fae5e #144 Remove Conan remotes (#145)
- Since liuv is official in Conan Center, we no loger need to force
  Bincrafters' remote in CPT list.
- Add topics attribute. All topics are present on Github project page.

Signed-off-by: Uilian Ries <uilianries@gmail.com>
2019-01-29 22:29:28 +01:00

25 lines
764 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from conans import ConanFile
class UVMConan(ConanFile):
name = "uvw"
description = "Header-only, event based, tiny and easy to use libuv wrapper in modern C++"
homepage = "https://github.com/skypjack/uvw"
url = homepage
license = "MIT"
topics = ("conan", "uvw", "libuv", "header-only", "wrapper", "event-loop")
author = "Michele Caini <michele.caini@gmail.com>"
exports = "LICENSE"
exports_sources = "src/*"
no_copy_source = True
requires = "libuv/1.25.0@bincrafters/stable"
def package(self):
self.copy(pattern="LICENSE", dst="licenses")
self.copy(pattern="*.hpp", dst="include", src="src")
def package_id(self):
self.info.header_only()