From a6ba56e092cfe5922972382fc3dab384c88cd460 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 12 Mar 2019 22:20:14 +1100 Subject: [PATCH] dev-util/conan: added conan-1.13.0 --- dev-util/conan/Manifest | 1 + dev-util/conan/conan-1.13.0.ebuild | 56 ++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 dev-util/conan/Manifest create mode 100644 dev-util/conan/conan-1.13.0.ebuild diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest new file mode 100644 index 0000000..517d0ca --- /dev/null +++ b/dev-util/conan/Manifest @@ -0,0 +1 @@ +DIST conan-1.13.0.tar.gz 834604 BLAKE2B 2466d6c6d41aea256049e1e9ea1ef9e5963d5be77ad855ab0a0a58422d2cde0025ce749236df4e6468df63a703f42040c22164aadedfc0301d5ed385e5f03bfc SHA512 27e0f0d4c7474c8a8a6d47e641ca71279f3789c9d07fe5fa6ed23bad10c87c04e8c54b3ac99b617818b110bb2d3e0a48d28e8e69b1f6c56c688b0c26ba78d37d diff --git a/dev-util/conan/conan-1.13.0.ebuild b/dev-util/conan/conan-1.13.0.ebuild new file mode 100644 index 0000000..53cf4cb --- /dev/null +++ b/dev-util/conan/conan-1.13.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Distributed C/C++ package manager" +HOMEPAGE="https://conan.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +# overly strict requirements? +# https://github.com/conan-io/conan/blob/develop/conans/requirements.txt +RDEPEND=" + >=dev-python/pyjwt-1.4[${PYTHON_USEDEP}] + >=dev-python/requests-2.7[${PYTHON_USEDEP}] + >=dev-python/colorama-0.3.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.11[${PYTHON_USEDEP}] + ~dev-python/patch-1.16[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] + >=dev-python/six-1.10[${PYTHON_USEDEP}] + ~dev-python/node-semver-0.6.1[${PYTHON_USEDEP}] + >=dev-python/distro-1.0.2[${PYTHON_USEDEP}] + >=dev-python/pylint-1.9.3[${PYTHON_USEDEP}] + ~dev-python/future-0.16.0[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/astroid-1.6.5[${PYTHON_USEDEP}] + >=dev-python/deprecation-2.0[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.28.1[${PYTHON_USEDEP}] + >=dev-python/jinja-2.3[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-lang/go + >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] + >=dev-python/nose-1.3.7[${PYTHON_USEDEP}] + >=dev-python/nose-parameterized-0.5.0[${PYTHON_USEDEP}] + >=dev-python/webtest-2.0.18[${PYTHON_USEDEP}] + dev-util/cmake + ) +" + +python_test() { + cd "${BUILD_DIR}"/lib || die + PYTHONPATH=. nosetests -v . || die +}