diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2023-04-20 22:25:44 +0300 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-04-23 17:47:40 +0200 |
commit | 8086e29d93ac213b8d506d3b1a5ed91e1c1d1558 (patch) | |
tree | 9d90c4e30ed0220f4e4264edd0b8e40ef0437ac6 /dev-util/conan | |
parent | dev-libs/intel-compute-runtime: add 23.13.26032.17 (diff) | |
download | gentoo-8086e29d93ac213b8d506d3b1a5ed91e1c1d1558.tar.gz gentoo-8086e29d93ac213b8d506d3b1a5ed91e1c1d1558.tar.bz2 gentoo-8086e29d93ac213b8d506d3b1a5ed91e1c1d1558.zip |
dev-util/conan: add 2.0.4
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.4.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest index 85126ae01b00..a936bfb1b6c1 100644 --- a/dev-util/conan/Manifest +++ b/dev-util/conan/Manifest @@ -1,2 +1,3 @@ DIST conan-1.59.0.gh.tar.gz 1572455 BLAKE2B ab29fc6d86aca26271d8736185dbd7761984101e8489b57390a5073b680f4bffef957c4367030112acf8b2bf6e8ef867efd38eeece4081fe63d1f1f3ecf5b8c1 SHA512 101d00529a22623626ad0098539411c2411a1fd44d198b9d125c4c7d38527db6efb0a9eb5a9e77fd8d70436f9c4f60131458e3ca2c20c3385fcd32c20a4dd2db DIST conan-2.0.0.gh.tar.gz 884673 BLAKE2B 21872c34583a34efe3a64742b208f512e1b275ba2baea87e77e54173b7425ce2707c1fd1191ec3fab00552015a2b62a3013af3cda613a377a715d17e3ffce8fe SHA512 bd196e9960562519562ce32324664fe254e6e1248b19e89c69454984a8825691e869be2b5fc72373687ef3197a639cb13eda1a19f68a54716cb0dfd7cb313fa8 +DIST conan-2.0.4.gh.tar.gz 918671 BLAKE2B 7a3d4f39b9e7f44a44fe498900c41657e8a9a7c3e700fbbdaa547b3679caf98627152e29fe50f272148184bd5ad8edcc7b0f79029c4728a3ef9f0128c5e31db6 SHA512 ff59b7dc6c0b4c33c09a338429054c2f9087e8b7147b21521f235263d0fca17ed69dc780cc0c65ed64fc8f67c5511362297e4252e1ca6046f872b91436d23908 diff --git a/dev-util/conan/conan-2.0.4.ebuild b/dev-util/conan/conan-2.0.4.ebuild new file mode 100644 index 000000000000..d44a558d8cec --- /dev/null +++ b/dev-util/conan/conan-2.0.4.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +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-5.1[${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 +} |