From 1770414551bc5e84d0ac5f797cd36fd7942d8c24 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 8 Feb 2022 01:40:39 +0000 Subject: Adding metadata --- dev-python/pslab-python/pslab-python-2.5.0.ebuild | 37 +++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-python/pslab-python/pslab-python-2.5.0.ebuild (limited to 'dev-python/pslab-python/pslab-python-2.5.0.ebuild') 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..52213c380806 --- /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_{6,7,8,9,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 -- cgit v1.3.1