From e6cb95401ed406a4bc8fa9b5abba308541e00ffb Mon Sep 17 00:00:00 2001 From: "Azamat H. Hackimov" Date: Wed, 31 Jul 2019 02:35:48 +0300 Subject: dev-util/conan: update to 1.18.1 Update to 1.18.1, added myself to maintainers, fixes multiple bugs (#686568, #666984, #666980, #643152). Closes: https://bugs.gentoo.org/643152 Closes: https://bugs.gentoo.org/666980 Closes: https://bugs.gentoo.org/666984 Closes: https://bugs.gentoo.org/686568 Signed-off-by: Azamat H. Hackimov Package-Manager: Portage-2.3.66, Repoman-2.3.16 Closes: https://github.com/gentoo/gentoo/pull/12585 Signed-off-by: Joonas Niilola --- dev-util/conan/Manifest | 1 + dev-util/conan/conan-1.18.1.ebuild | 68 ++++++++++++++++++++++++++++++++++++++ dev-util/conan/metadata.xml | 4 +++ 3 files changed, 73 insertions(+) create mode 100644 dev-util/conan/conan-1.18.1.ebuild (limited to 'dev-util/conan') diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index 6b417b9ada13..7e5b58932f49 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1 +1,2 @@ DIST conan-1.0.4.tar.gz 580404 BLAKE2B a3099e7f5bdb882591bab031da267f3df5582975d93a840cd7bf42d7b5b57850d42a28ea33440f6570149b7db8c2ae6a395460f375fee084a9336435d42e7df6 SHA512 47fe9632b0007cdc0456004e6c9122df387869c33b58694b4a2dca9956daf977532f79c204207b21d3a4e7d90337a25dba49cf84cba98c1f9bde3170f1a185a9 +DIST conan-1.18.1.tar.gz 532813 BLAKE2B d4c8ec62100b8c4038f9bef8338aa0afccc38ab39d8d953c41934efc43d6ba8e5abda1438e3f8c3f4bba4b770b871a1afc5ef19749771a55873b35f28a427b1b SHA512 f9c4c4cb768c3f015a84adb3d4926cf91a372a8dae6655df9396b645c24c8694f47795064c0e93ee799864d19f6f77983da0a1679ad511d8f11702250ae95124 diff --git a/dev-util/conan/conan-1.18.1.ebuild b/dev-util/conan/conan-1.18.1.ebuild new file mode 100644 index 000000000000..150071e1dc00 --- /dev/null +++ b/dev-util/conan/conan-1.18.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{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.8.1[${PYTHON_USEDEP}] + >=dev-python/colorama-0.3.3[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${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-2.3.1[${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.10.1[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] + >=dev-python/typed-ast-1.1.0[${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 + ) +" + +src_prepare() { + default + # Fix strict dependencies + sed -i \ + -e "s:patch==1.16:patch>=1.16:g" \ + -e "s:node-semver==0.6.1:node-semver>=0.6.1:g" \ + -e "s:future==0.16.0:future>=0.16.0:g" \ + conans/requirements.txt +} + +python_test() { + cd "${BUILD_DIR}"/lib || die + PYTHONPATH=. nosetests -v . || die +} diff --git a/dev-util/conan/metadata.xml b/dev-util/conan/metadata.xml index af7e11d6bb6c..c04af8133dd7 100644 --- a/dev-util/conan/metadata.xml +++ b/dev-util/conan/metadata.xml @@ -5,6 +5,10 @@ beschindler@gmail.com Benjamin Schindler + + azamat.hackimov@gmail.com + Azamat H. Hackimov + proxy-maint@gentoo.org Proxy Maintainers -- cgit v1.2.3-65-gdbad