diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2024-01-02 22:38:38 +0300 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2024-01-07 01:19:35 +0100 |
commit | 1f0a76c74add125618e706c156fa8564f6491860 (patch) | |
tree | 3f8927707e66aa1ae24e7ff45389780743ce2d2c /dev-util/conan | |
parent | net-misc/uftp: drop 5.0.1 (diff) | |
download | gentoo-1f0a76c74add125618e706c156fa8564f6491860.tar.gz gentoo-1f0a76c74add125618e706c156fa8564f6491860.tar.bz2 gentoo-1f0a76c74add125618e706c156fa8564f6491860.zip |
dev-util/conan: add 2.0.16
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util/conan')
-rw-r--r-- | dev-util/conan/Manifest | 1 | ||||
-rw-r--r-- | dev-util/conan/conan-2.0.16.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index 2bb889deb633..746dc2c932b6 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1 +1,2 @@ +DIST conan-2.0.16.gh.tar.gz 1000880 BLAKE2B 0ebc7df66e97a8f29ade9d1ffbde5b0f6ed4ac5dd98bab29e9a88d1ae9c864237a396b5c0588f3efb1186f6f22fa1fd0205215b3459fb87fa012febc49ad786a SHA512 bb8d5c1b2df085bc2e1645dd8b14be167b7ed01a47485bbe39994a150ca905de6a194927cb3cecd81d4d7bab613d13ca3779d9aabddf1a2df731bd62ec5bbe39 DIST conan-2.0.4.gh.tar.gz 918671 BLAKE2B 7a3d4f39b9e7f44a44fe498900c41657e8a9a7c3e700fbbdaa547b3679caf98627152e29fe50f272148184bd5ad8edcc7b0f79029c4728a3ef9f0128c5e31db6 SHA512 ff59b7dc6c0b4c33c09a338429054c2f9087e8b7147b21521f235263d0fca17ed69dc780cc0c65ed64fc8f67c5511362297e4252e1ca6046f872b91436d23908 diff --git a/dev-util/conan/conan-2.0.16.ebuild b/dev-util/conan/conan-2.0.16.ebuild new file mode 100644 index 000000000000..41d4ec2a6018 --- /dev/null +++ b/dev-util/conan/conan-2.0.16.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) +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}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +# overly strict requirements? +# https://github.com/conan-io/conan/blob/release/2.0/conans/requirements.txt +# https://github.com/conan-io/conan/blob/release/2.0/conans/requirements_server.txt +RDEPEND=" + >=dev-python/bottle-0.12.8[${PYTHON_USEDEP}] + >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}] + >=dev-python/distro-1.4.0[${PYTHON_USEDEP}] + >=dev-python/fasteners-0.15.0[${PYTHON_USEDEP}] + >=dev-python/jinja-3.0[${PYTHON_USEDEP}] + >=dev-python/patch-ng-1.17.4[${PYTHON_USEDEP}] + >=dev-python/pluginbase-0.5[${PYTHON_USEDEP}] + >=dev-python/pyjwt-2.4.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-6.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.25[${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 +} |