mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 22:52:59 -04:00
41 lines
921 B
Bash
41 lines
921 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=uv-build
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Package and project manager for MicroPython and CircuitPython"
|
|
HOMEPAGE="
|
|
https://github.com/aivarannamaa/minny
|
|
https://pypi.org/project/minny/
|
|
"
|
|
|
|
# Upstream has incomplete sdist on PyPI and missing tags in git
|
|
# reported upstream; temporary workaround
|
|
MY_COMMIT=fa7bcdfc54a846c604d1600db79a05e636de6667
|
|
SRC_URI="
|
|
https://github.com/aivarannamaa/minny/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz
|
|
"
|
|
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/fix-metadata.patch"
|
|
)
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
RDEPEND="
|
|
dev-python/packaging[${PYTHON_USEDEP}]
|
|
dev-python/pyserial[${PYTHON_USEDEP}]
|
|
dev-python/websockets[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
EPYTEST_PLUGINS=()
|
|
distutils_enable_tests pytest
|