summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Pronin <dannftk@yandex.ru>2024-08-19 13:01:15 +0300
committerJoonas Niilola <juippis@gentoo.org>2024-08-28 09:38:05 +0300
commit71cac2568ad87de2dba9ab4cf03f4cdea0edb758 (patch)
tree2ecb6fc11f96dd38daf2be3c6e092cd37deacef4 /dev-util
parentdev-ml/camlpdf: Take over as maintainer. (diff)
downloadgentoo-71cac2568ad87de2dba9ab4cf03f4cdea0edb758.tar.gz
gentoo-71cac2568ad87de2dba9ab4cf03f4cdea0edb758.tar.bz2
gentoo-71cac2568ad87de2dba9ab4cf03f4cdea0edb758.zip
dev-util/conan: add a new version 2.6.0
Closes: https://bugs.gentoo.org/938172 Signed-off-by: Denis Pronin <dannftk@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/38201 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/conan/Manifest1
-rw-r--r--dev-util/conan/conan-2.6.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest
index 1ec73774f8a9..bdf6f99f14b3 100644
--- a/dev-util/conan/Manifest
+++ b/dev-util/conan/Manifest
@@ -2,3 +2,4 @@ DIST conan-2.0.16.gh.tar.gz 1000880 BLAKE2B 0ebc7df66e97a8f29ade9d1ffbde5b0f6ed4
DIST conan-2.3.1.gh.tar.gz 1078426 BLAKE2B a3a92342a2cfabc9dd4c22d1665d092dd2a33be8fdd4c3e7243557b845fda8910d713bc34b59d1e4c2b2ead957ef0ff8ad0d23fa80804c9d842b5f9c944323c1 SHA512 405d9979bc79b684509aa756c2aa50decd1b9194e5c7b847b6a9755daed9941c7b9615cf518aedf920eeea0de6dfc194e36b90c2919060a3f276f53692a3fe5c
DIST conan-2.4.1.gh.tar.gz 1092566 BLAKE2B 7b97f9a274075bf3e9396eba9e3dc4d155c171685fb204c885877ad10dba3f751cab5a28e220d3df3b803aa8f80d080c63c37801ada4b1691724bb8988f34c97 SHA512 b51d491be8202eb7fd60e5d2aef63bd9f43311da73f36edd615210222c32160f35af81ec47351e7762b6583a6d3f6230020130866e0450320d87047439de2767
DIST conan-2.5.0.gh.tar.gz 1105167 BLAKE2B 2a4a3aba324b3aee968dde721e3659470912ce82eada0c9ffc37c4ff0b4c4b78b2927e3e9cde1f52b1104a3f3e8e32b3d7450643a83c14958c035051a63386a1 SHA512 685cafd0d1ba179d84b7e0e37d0ca5ce95e320e025132e62f3a128a68b085eabeff47bbc0b129d5b8cee17f2955014cb4073b7e648d9f9ccf56c1ee377625e18
+DIST conan-2.6.0.gh.tar.gz 1108424 BLAKE2B d9883900e4c09c2332bc6c3a186c2e010cde237d2b20249317ffaee3bfb182620acac7ab40303fd00810d6420a9676155d09693c89fe5c8a8917144ed654bcac SHA512 7deb8498d992fdebacd8ce8bc77e63089c9389200f010f0e099c73beb22c524c2d288ae643cdddc0cb3ec8494c1f7365fa834ec159c015063cc6fa936e6eb312
diff --git a/dev-util/conan/conan-2.6.0.ebuild b/dev-util/conan/conan-2.6.0.ebuild
new file mode 100644
index 000000000000..81aeecdcf691
--- /dev/null
+++ b/dev-util/conan/conan-2.6.0.ebuild
@@ -0,0 +1,47 @@
+# 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"
+
+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[${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
+}