|
rpm-build |
a7f80b |
#!/usr/bin/env python
|
|
rpm-build |
a7f80b |
from conans import ConanFile
|
|
rpm-build |
a7f80b |
|
|
rpm-build |
a7f80b |
|
|
rpm-build |
a7f80b |
class CatchConan(ConanFile):
|
|
rpm-build |
a7f80b |
name = "Catch"
|
|
rpm-build |
a7f80b |
version = "2.2.1"
|
|
rpm-build |
a7f80b |
description = "A modern, C++-native, header-only, framework for unit-tests, TDD and BDD"
|
|
rpm-build |
a7f80b |
author = "philsquared"
|
|
rpm-build |
a7f80b |
generators = "cmake"
|
|
rpm-build |
a7f80b |
exports_sources = "single_include/*"
|
|
rpm-build |
a7f80b |
url = "https://github.com/philsquared/Catch"
|
|
rpm-build |
a7f80b |
license = "Boost Software License - Version 1.0. http://www.boost.org/LICENSE_1_0.txt"
|
|
rpm-build |
a7f80b |
|
|
rpm-build |
a7f80b |
def package(self):
|
|
rpm-build |
a7f80b |
self.copy(pattern="catch.hpp", src="single_include", dst="include")
|
|
rpm-build |
a7f80b |
|
|
rpm-build |
a7f80b |
def package_id(self):
|
|
rpm-build |
a7f80b |
self.info.header_only()
|