Files
Zakk fb23d02115 dev-python/nudatus: drop the deprecated License classifier
setuptools warns about License classifiers, and the CI fails on that QA notice.

Signed-off-by: Zakk <zakk@gentoozh.org>
2026-10-20 17:55:07 +11:00

33 lines
686 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="CircuitPython board identification and information"
HOMEPAGE="
https://github.com/ZanderBrown/nudatus
https://pypi.org/project/nudatus
"
SRC_URI="https://github.com/ZanderBrown/nudatus/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
PATCHES=(
"${FILESDIR}/${P}-python3.12-fix.patch"
)
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
sed -i '/License ::/d' setup.py || die
}