gentoo/dev-python/pslab-python/pslab-python-1.0.1-r1.ebuild
Marek Szuba a24a33d5cf
dev-python/pslab-python: support python3_8, drop python3_6
The latter is necessary due to there being no dev-python/pyqtgraph which
supports both 3.6 and 3.8.

Signed-off-by: Marek Szuba <marecki@gentoo.org>
2020-04-24 23:58:13 +01:00

29 lines
695 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8} )
inherit distutils-r1
DESCRIPTION="Python library for communicating with Pocket Science Lab"
HOMEPAGE="https://pslab.io"
SRC_URI="https://github.com/fossasia/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
dev-python/pyqtgraph[${PYTHON_USEDEP}]
dev-python/pyserial[${PYTHON_USEDEP}]
sci-libs/scipy[${PYTHON_USEDEP}]"
PATCHES=(
"${FILESDIR}"/${PN}-1.0.1-sys_version.patch
"${FILESDIR}"/${PN}-1.0.1-no_install_udev_rules.patch
)
distutils_enable_sphinx docs