You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.8 KiB
56 lines
1.8 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
3 years ago
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||
4 years ago
|
PYTHON_REQ_USE="sqlite"
|
||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||
|
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}.tar.gz"
|
||
|
|
||
|
LICENSE="MIT"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||
|
|
||
|
# overly strict requirements?
|
||
|
# https://github.com/conan-io/conan/blob/develop/conans/requirements.txt
|
||
|
# https://github.com/conan-io/conan/blob/develop/conans/requirements_server.txt
|
||
|
RDEPEND="
|
||
|
>=dev-python/bottle-0.12.8[${PYTHON_USEDEP}]
|
||
|
>=dev-python/colorama-0.3.3[${PYTHON_USEDEP}]
|
||
|
>=dev-python/deprecation-2.0[${PYTHON_USEDEP}]
|
||
|
>=dev-python/distro-1.0.2[${PYTHON_USEDEP}]
|
||
|
>=dev-python/fasteners-0.14.1[${PYTHON_USEDEP}]
|
||
|
>=dev-python/future-0.16.0[${PYTHON_USEDEP}]
|
||
|
>=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
|
||
|
>=dev-python/node-semver-0.8[${PYTHON_USEDEP}]
|
||
|
>=dev-python/patch-ng-1.17.4[${PYTHON_USEDEP}]
|
||
|
>=dev-python/pluginbase-0.5[${PYTHON_USEDEP}]
|
||
|
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||
|
>=dev-python/pyjwt-1.4[${PYTHON_USEDEP}]
|
||
|
>=dev-python/python-dateutil-2.7.0[${PYTHON_USEDEP}]
|
||
|
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||
|
>=dev-python/requests-2.8.1[${PYTHON_USEDEP}]
|
||
|
>=dev-python/six-1.12.0[${PYTHON_USEDEP}]
|
||
|
>=dev-python/tqdm-4.28.1[${PYTHON_USEDEP}]
|
||
3 years ago
|
>=dev-python/urllib3-1.25.8[${PYTHON_USEDEP}]
|
||
4 years ago
|
"
|
||
|
|
||
3 years ago
|
# 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"
|
||
4 years ago
|
|
||
|
src_prepare() {
|
||
|
default
|
||
|
# Fix strict dependencies
|
||
|
sed -i \
|
||
|
-e 's:,[[:space:]]\?<=\?[[:space:]]\?[[:digit:]|.]*::g' \
|
||
|
-e 's:==:>=:g' \
|
||
|
conans/requirements{,_server}.txt || die
|
||
|
}
|