diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-31 18:52:05 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-01-31 18:52:05 +0000 |
| commit | f15c75e8383a5c81f47df83f7c03e6ff6ffd1013 (patch) | |
| tree | 9b86d54324677219d3a5e24e1c9660bd923a9061 /dev-python/pslab | |
| parent | 91d75d5309fbd5f469ce16d6ab6bfb7ab2f39bb6 (diff) | |
| download | baldeagleos-repo-f15c75e8383a5c81f47df83f7c03e6ff6ffd1013.tar.gz baldeagleos-repo-f15c75e8383a5c81f47df83f7c03e6ff6ffd1013.tar.xz baldeagleos-repo-f15c75e8383a5c81f47df83f7c03e6ff6ffd1013.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pslab')
| -rw-r--r-- | dev-python/pslab/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pslab/files/pslab-2.5.0-ad9833_sys_version.patch | 11 | ||||
| -rw-r--r-- | dev-python/pslab/files/pslab-3.0.0-pytest_record.patch | 36 | ||||
| -rw-r--r-- | dev-python/pslab/metadata.xml | 10 | ||||
| -rw-r--r-- | dev-python/pslab/pslab-3.0.0.ebuild | 51 |
5 files changed, 0 insertions, 109 deletions
diff --git a/dev-python/pslab/Manifest b/dev-python/pslab/Manifest deleted file mode 100644 index 264fb2733c88..000000000000 --- a/dev-python/pslab/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pslab-python-3.0.0.gh.tar.gz 357657 BLAKE2B 34d8817dd47588a488359b53a7c3737afc0b3d14c5a751990a6030a17f30cb99d65f235a7eaf26b5a4f7f41931ea20bff086a5463563faa189e6cc46336366b6 SHA512 fdb5180e6fb55b2b6262997981c1d9b56652fbd902cfb4e8c347dff87d32d234a61f5a3ff50e5fb55eb0fecc6d2cb09df5cbc9e747df00e5973c19fba7f3c554 diff --git a/dev-python/pslab/files/pslab-2.5.0-ad9833_sys_version.patch b/dev-python/pslab/files/pslab-2.5.0-ad9833_sys_version.patch deleted file mode 100644 index b34182266c4a..000000000000 --- a/dev-python/pslab/files/pslab-2.5.0-ad9833_sys_version.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/pslab/external/AD9833.py -+++ b/pslab/external/AD9833.py -@@ -2,7 +2,7 @@ - - - class AD9833: -- if sys.version.major == 3: -+ if sys.version_info.major == 3: - DDS_MAX_FREQ = 0xFFFFFFF - 1 # 24 bit resolution - else: - DDS_MAX_FREQ = eval("0xFFFFFFFL-1") # 24 bit resolution diff --git a/dev-python/pslab/files/pslab-3.0.0-pytest_record.patch b/dev-python/pslab/files/pslab-3.0.0-pytest_record.patch deleted file mode 100644 index 90d5448998a8..000000000000 --- a/dev-python/pslab/files/pslab-3.0.0-pytest_record.patch +++ /dev/null @@ -1,36 +0,0 @@ -Now that dev-python/pslab indirectly depends on pytest-reserial -(it is a test dependency of dev-python/mcbootflash), the option name --record -produces a collision. - ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -8,9 +8,9 @@ - Additionally, certain pins must be connected in a specific manner. Refer to the - individual test modules in the tests package. - --By calling pytest with the --record flag, the serial traffic generated by the -+By calling pytest with the --record-serial flag, the serial traffic generated by the - integration tests will be recorded to JSON files, which are played back during --unit testing. The --record flag implies --integration. -+unit testing. The --record-serial flag implies --integration. - """ - - import json -@@ -23,7 +23,7 @@ - - def pytest_addoption(parser): - parser.addoption("--integration", action="store_true", default=False) -- parser.addoption("--record", action="store_true", default=False) -+ parser.addoption("--record-serial", action="store_true", default=False) - - - @pytest.fixture(scope="module") -@@ -38,7 +38,7 @@ - - When running unit tests, the SerialHandler is a MockHandler. - """ -- record = request.config.getoption("--record") -+ record = request.config.getoption("--record-serial") - integration = request.config.getoption("--integration") or record - logfile = os.path.join(logdir, request.node.name + ".json") - diff --git a/dev-python/pslab/metadata.xml b/dev-python/pslab/metadata.xml deleted file mode 100644 index 853174b8f2ab..000000000000 --- a/dev-python/pslab/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - - <origin>gentoo-staging</origin> -</pkgmetadata>
\ No newline at end of file diff --git a/dev-python/pslab/pslab-3.0.0.ebuild b/dev-python/pslab/pslab-3.0.0.ebuild deleted file mode 100644 index 3454dec33acd..000000000000 --- a/dev-python/pslab/pslab-3.0.0.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( python3_{9,10,11,12,13} ) - -inherit distutils-r1 - -MY_P=pslab-python-${PV} -DESCRIPTION="Python library for communicating with Pocket Science Lab" -HOMEPAGE=" - https://pslab.io/ - https://github.com/fossasia/pslab-python/ - https://pypi.org/project/pslab/ -" -SRC_URI=" - https://github.com/fossasia/pslab-python/archive/v${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64" - -RDEPEND=" - >=dev-python/mcbootflash-8.0.0[${PYTHON_USEDEP}] - >=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 - "${FILESDIR}"/${PN}-3.0.0-pytest_record.patch -) - -EPYTEST_DESELECT=( - # Flaky in 2.5.0 - tests/test_logic_analyzer.py::test_stop -) - -distutils_enable_sphinx docs dev-python/recommonmark -distutils_enable_tests pytest |
