summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Pronin <dannftk@yandex.ru>2024-07-04 17:51:04 +0300
committerEli Schwartz <eschwartz@gentoo.org>2024-07-04 22:58:42 -0400
commit1dc7ab95a46254ca519048fdabe0d610dae6a954 (patch)
tree9b2169a8d188c170b6a021fe34abc7b186afdf74 /dev-util
parentdev-python/recurring-ical-events: Bump to 2.2.2 (diff)
downloadgentoo-1dc7ab95a46254ca519048fdabe0d610dae6a954.tar.gz
gentoo-1dc7ab95a46254ca519048fdabe0d610dae6a954.tar.bz2
gentoo-1dc7ab95a46254ca519048fdabe0d610dae6a954.zip
dev-util/conan: add 2.5.0
Closes: https://bugs.gentoo.org/935489 Signed-off-by: Denis Pronin <dannftk@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/37431 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/conan/Manifest1
-rw-r--r--dev-util/conan/conan-2.5.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-util/conan/Manifest b/dev-util/conan/Manifest
index 194ca02bdeba..1ec73774f8a9 100644
--- a/dev-util/conan/Manifest
+++ b/dev-util/conan/Manifest
@@ -1,3 +1,4 @@
DIST conan-2.0.16.gh.tar.gz 1000880 BLAKE2B 0ebc7df66e97a8f29ade9d1ffbde5b0f6ed4ac5dd98bab29e9a88d1ae9c864237a396b5c0588f3efb1186f6f22fa1fd0205215b3459fb87fa012febc49ad786a SHA512 bb8d5c1b2df085bc2e1645dd8b14be167b7ed01a47485bbe39994a150ca905de6a194927cb3cecd81d4d7bab613d13ca3779d9aabddf1a2df731bd62ec5bbe39
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
diff --git a/dev-util/conan/conan-2.5.0.ebuild b/dev-util/conan/conan-2.5.0.ebuild
new file mode 100644
index 000000000000..81aeecdcf691
--- /dev/null
+++ b/dev-util/conan/conan-2.5.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
+}