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.
35 lines
994 B
35 lines
994 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
|
DISTUTILS_SINGLE_IMPL=1
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="An open source ecosystem for IoT development"
|
|
HOMEPAGE="https://platformio.org/"
|
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
RDEPEND="${DEPEND}
|
|
<dev-python/bottle-0.13[${PYTHON_USEDEP}]
|
|
>=dev-python/click-5[${PYTHON_USEDEP}]
|
|
<dev-python/click-8[${PYTHON_USEDEP}]
|
|
dev-python/colorama[${PYTHON_USEDEP}]
|
|
>=dev-python/pyserial-3[${PYTHON_USEDEP}]
|
|
<dev-python/pyserial-4[${PYTHON_USEDEP}]
|
|
>=dev-python/requests-2.4[${PYTHON_USEDEP}]
|
|
<dev-python/requests-3[${PYTHON_USEDEP}]
|
|
>=dev-python/semantic_version-2.5.0[${PYTHON_USEDEP}]
|
|
<dev-python/semantic_version-3[${PYTHON_USEDEP}]"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-Make-scripts-compatible-with-py2-and-py3.patch" )
|