diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2021-05-22 01:06:22 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-14 22:11:14 +0000 |
commit | 3a974080bdc7cf61971079b2b12b74f5054d5ec5 (patch) | |
tree | 726303aeecbd2b67057ee31db16c17c5d41fecdf /dev-util/conan | |
parent | sci-physics/yoda: add 1.9.0 (diff) | |
download | gentoo-3a974080bdc7cf61971079b2b12b74f5054d5ec5.tar.gz gentoo-3a974080bdc7cf61971079b2b12b74f5054d5ec5.tar.bz2 gentoo-3a974080bdc7cf61971079b2b12b74f5054d5ec5.zip |
dev-util/conan: update to 1.36.0
Closes: https://bugs.gentoo.org/788811
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/conan')
-rw-r--r-- | dev-util/conan/Manifest | 1 | ||||
-rw-r--r-- | dev-util/conan/conan-1.36.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index 6520a308e2f9..2c204b4ecbeb 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1 +1,2 @@ DIST conan-1.28.1.tar.gz 1138639 BLAKE2B 91f277b88a2069efa3ad5f6209279888b4ac8cf5c359b7933ace6cc08c8b61a868dc8f7bb6a817fbdea378ce175229c91c9defb750326e2a5e31c4d6d528985d SHA512 b8eb4fe34b1614ebcb5e15bd0a827c5949e8588c6a04380632858e68eb4172361c96305154cc5a630254ed6236d7fd82e3a2c05962e312af3cedba41eac0a6e3 +DIST conan-1.36.0.tar.gz 1283280 BLAKE2B 024b94debd899adcc561713111494a49822cc721b3da022c34c5625454cc5d80ffdcc2ce6375ee4c719fecc2b0d4771191862a83b74613019b680662304c6761 SHA512 d1259a83795877bd9730e735a5cbea9457b3160d0f358e46a672fcd20c794feb2fa24970efdddc4ca1be8f1299db45793cf5bc7724d259bbf4f8f6a0e502f5a6 diff --git a/dev-util/conan/conan-1.36.0.ebuild b/dev-util/conan/conan-1.36.0.ebuild new file mode 100644 index 000000000000..a90e3576695a --- /dev/null +++ b/dev-util/conan/conan-1.36.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_SETUPTOOLS=rdepend +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/deprecation-2.0[${PYTHON_USEDEP}] + >=dev-python/distro-1.0.2[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] + >=dev-python/future-0.16.0[${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.8.1[${PYTHON_USEDEP}] + >=dev-python/six-1.12.0[${PYTHON_USEDEP}] + >=dev-python/tqdm-4.28.1[${PYTHON_USEDEP}] + >=dev-python/urllib3-1.25.8[${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 +} |