1 |
commit: a3ddd52a89e22d2fc412e00733274be5bd4d2377 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jan 26 16:51:07 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 27 06:32:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ddd52a |
7 |
|
8 |
dev-util/conan: relax strict dependencies |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/14462 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
dev-util/conan/conan-1.21.1-r1.ebuild | 75 +++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 75 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/conan/conan-1.21.1-r1.ebuild b/dev-util/conan/conan-1.21.1-r1.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..c7272407e62 |
21 |
--- /dev/null |
22 |
+++ b/dev-util/conan/conan-1.21.1-r1.ebuild |
23 |
@@ -0,0 +1,75 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{6,7} ) |
30 |
+PYTHON_REQ_USE="sqlite" |
31 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
32 |
+inherit distutils-r1 |
33 |
+ |
34 |
+DESCRIPTION="Distributed C/C++ package manager" |
35 |
+HOMEPAGE="https://conan.io/" |
36 |
+SRC_URI="https://github.com/conan-io/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
41 |
+IUSE="test" |
42 |
+ |
43 |
+RESTRICT="!test? ( test )" |
44 |
+ |
45 |
+# overly strict requirements? |
46 |
+# https://github.com/conan-io/conan/blob/develop/conans/requirements.txt |
47 |
+# https://github.com/conan-io/conan/blob/develop/conans/requirements_server.txt |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/bottle-0.12.8[${PYTHON_USEDEP}] |
50 |
+ >=dev-python/colorama-0.3.3[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/deprecation-2.0[${PYTHON_USEDEP}] |
52 |
+ >=dev-python/distro-1.0.2[${PYTHON_USEDEP}] |
53 |
+ >=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/future-0.16.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/jinja-2.10.1[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/node-semver-0.6.1[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/patch-ng-1.17.2[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/pluginbase-0.5[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/pygments-2.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/pyjwt-1.4[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/requests-2.8.1[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/six-1.12.0[${PYTHON_USEDEP}] |
65 |
+ >=dev-python/tqdm-4.28.1[${PYTHON_USEDEP}] |
66 |
+" |
67 |
+BDEPEND=" |
68 |
+ test? ( |
69 |
+ dev-lang/go |
70 |
+ dev-vcs/git |
71 |
+ dev-vcs/subversion |
72 |
+ >=dev-python/mock-1.3.0[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/nose-1.3.7[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/parameterized-0.6.3[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/webtest-2.0.18[${PYTHON_USEDEP}] |
76 |
+ dev-util/cmake |
77 |
+ ) |
78 |
+" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ # Fix strict dependencies |
83 |
+ sed -i \ |
84 |
+ -e "s:patch-ng==1.17.2:patch-ng>=1.17.2:g" \ |
85 |
+ -e "s:six>=1.10.0,<1.13.0:six>=1.12.0:g" \ |
86 |
+ -e "s:node-semver==0.6.1:node-semver>=0.6.1:g" \ |
87 |
+ conans/requirements.txt || die |
88 |
+} |
89 |
+ |
90 |
+python_test() { |
91 |
+ nosetests -v conans.test \ |
92 |
+ -e test_ftp.* -e modify_values_test.* -e test_pkg_config_path.* \ |
93 |
+ -e rpath_optin_test -e test_variables -e system_package_tool_installed_test \ |
94 |
+ -e virtualbuildenv_test -e scm_test -e test_git_shallow -e tools_test \ |
95 |
+ -e test_environment_nested -e devflow_test -e shared_chain_test \ |
96 |
+ -e virtualenv_test \ |
97 |
+ -A "not rest_api and not local_bottle" || die |
98 |
+} |