diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2021-10-31 22:03:42 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-11-12 15:03:53 +0200 |
commit | fdbeabbd6ca37007053c78e57ef23e8066e4f1f3 (patch) | |
tree | 1e04bde35b365900b83316acc5d005cd4dda87a1 /dev-util/conan | |
parent | media-sound/yoshimi: removed obsolete 2.1.0-r1 (diff) | |
download | gentoo-fdbeabbd6ca37007053c78e57ef23e8066e4f1f3.tar.gz gentoo-fdbeabbd6ca37007053c78e57ef23e8066e4f1f3.tar.bz2 gentoo-fdbeabbd6ca37007053c78e57ef23e8066e4f1f3.zip |
dev-util/conan: update to 1.42.0
Migrate to EAPI=8, update dependencies, fix #818598.
Closes: https://bugs.gentoo.org/818598
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22775
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/conan')
-rw-r--r-- | dev-util/conan/Manifest | 1 | ||||
-rw-r--r-- | dev-util/conan/conan-1.42.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index ed71b616f8e4..b5710c0f72ae 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1 +1,2 @@ DIST conan-1.36.0.tar.gz 1283280 BLAKE2B 024b94debd899adcc561713111494a49822cc721b3da022c34c5625454cc5d80ffdcc2ce6375ee4c719fecc2b0d4771191862a83b74613019b680662304c6761 SHA512 d1259a83795877bd9730e735a5cbea9457b3160d0f358e46a672fcd20c794feb2fa24970efdddc4ca1be8f1299db45793cf5bc7724d259bbf4f8f6a0e502f5a6 +DIST conan-1.42.0.tar.gz 1399488 BLAKE2B f0297ad74bdb47d1240641a0f6bd5f343a0a8f5723f554dffd2f7da969e3ee58cc97c3bb187f1586eb6ad4377106648c70fc4fd2672744639ffc940e5f4de316 SHA512 cd982f95e8bac5f66be16a326fc34d3db014b6a21138a10a7e92d6debfc578413c4d9737f371130b01ae35b14c82c0f11c2a09dc74e4d913a189d9cc34446d93 diff --git a/dev-util/conan/conan-1.42.0.ebuild b/dev-util/conan/conan-1.42.0.ebuild new file mode 100644 index 000000000000..4ea924b09769 --- /dev/null +++ b/dev-util/conan/conan-1.42.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7..10} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +DESCRIPTION="Distributed C/C++ package manager" +HOMEPAGE="https://conan.io/" +SRC_URI="https://github.com/conan-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +# overly strict requirements? +# https://github.com/conan-io/conan/blob/develop/conans/requirements.txt +# https://github.com/conan-io/conan/blob/develop/conans/requirements_server.txt +RDEPEND=" + >=dev-python/bottle-0.12.8[${PYTHON_USEDEP}] + >=dev-python/colorama-0.3.3[${PYTHON_USEDEP}] + >=dev-python/distro-1.0.2[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] + >=dev-python/node-semver-0.8[${PYTHON_USEDEP}] + >=dev-python/patch-ng-1.17.4[${PYTHON_USEDEP}] + >=dev-python/pluginbase-0.5[${PYTHON_USEDEP}] + >=dev-python/pygments-2.0[${PYTHON_USEDEP}] + >=dev-python/pyjwt-1.4[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] + >=dev-python/requests-2.25[${PYTHON_USEDEP}] + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.28.1[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.26.6[${PYTHON_USEDEP}] +" + +# Try to fix it if you're brave enough +# Conan requires noumerous external toolchain dependencies with restricted +# versions and cannot be managable outside of a pure CI environment. +RESTRICT="test" + +src_prepare() { + default + # Fix strict dependencies + sed -i \ + -e 's:,[[:space:]]\?<=\?[[:space:]]\?[[:digit:]|.]*::g' \ + -e 's:==:>=:g' \ + conans/requirements{,_server}.txt || die +} |