Added dupicolib

This commit is contained in:
Torsten Kurbad 2025-11-18 09:25:40 +01:00
parent 4e365a53b4
commit e3e1e824b7
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1 @@
EBUILD dupicolib-9999.ebuild 993 BLAKE2B 04d9cbf643af5fe87c57b058b97a41ad0f34e61f7d8647fad4e3336e4f3917cd2f8276c883ef1db49b19cad193986bc2d4f8942b89dd91fe2e0b62f2a97d7f1a SHA512 86ce34fa0d393225c24834b73050788c14acc9870337b9d642a8417b48c8a2a6eb28395ec14cd94a6f6a6f1058b164782bc50c86c8de8d2e65fe09b44987b860

View File

@ -0,0 +1,38 @@
## Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Python library to handle communication with the DuPAL V3 'dupico' board"
HOMEPAGE="https://github.com/DuPAL-PAL-DUmper/dupicolib"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/DuPAL-PAL-DUmper/${PN}.git"
KEYWORDS=""
inherit git-r3
else
KEYWORDS="~amd64 ~x86"
SRC_URI="https://github.com/DuPAL-PAL-DUmper/${PN}/archive/refs/tags/v${PV}.tar.gz"
fi
LICENSE="MIT"
SLOT="0"
IUSE="test"
RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="$(python_gen_cond_dep '
>=dev-python/pyserial-3.5[${PYTHON_USEDEP}]
>=dev-python/mypy-1.11.1[${PYTHON_USEDEP}]
>=dev-python/build-1.1.1[${PYTHON_USEDEP}]
test? ( >=dev-python/pytest-8.3.2[${PYTHON_USEDEP}] )
')
"
DEPEND="${RDEPEND}"