diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /dev-python/pslab-python/pslab-python-2.5.0.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'dev-python/pslab-python/pslab-python-2.5.0.ebuild')
-rw-r--r-- | dev-python/pslab-python/pslab-python-2.5.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pslab-python/pslab-python-2.5.0.ebuild b/dev-python/pslab-python/pslab-python-2.5.0.ebuild new file mode 100644 index 000000000000..a5314c5da29a --- /dev/null +++ b/dev-python/pslab-python/pslab-python-2.5.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=setuptools + +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-1.16.3[${PYTHON_USEDEP}] + >=dev-python/pyserial-3.4[${PYTHON_USEDEP}] + >=dev-python/scipy-1.3.0[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] +)" + +PATCHES=( + "${FILESDIR}"/${PN}-2.5.0-ad9833_sys_version.patch +) + +# Flaky in 2.5.0 +EPYTEST_DESELECT=( + tests/test_logic_analyzer.py::test_stop +) + +distutils_enable_tests pytest + +distutils_enable_sphinx docs dev-python/recommonmark |