diff --git a/dev-python/minny/Manifest b/dev-python/minny/Manifest new file mode 100644 index 0000000000..0c98e2731a --- /dev/null +++ b/dev-python/minny/Manifest @@ -0,0 +1 @@ +DIST minny-0.0.1_alpha2.tar.gz 181910 BLAKE2B 5de005f9bd6ca8002cc3ec5d3688646de9e382fc224c68fc8445dac484b8f845bbb27892a88461d8affdb7beb17d69973af65b0efad295f92e72d0b0d7ef6ad3 SHA512 f465843240f3f3851f4c1cc7c26120cae9f556cdd1d9cb60f1765335b745f772d788ac8edc08bc5eb1204dee58438ed6391c1656f2c189ea23260b382d74c00d diff --git a/dev-python/minny/files/fix-metadata.patch b/dev-python/minny/files/fix-metadata.patch new file mode 100644 index 0000000000..6c2335937c --- /dev/null +++ b/dev-python/minny/files/fix-metadata.patch @@ -0,0 +1,15 @@ +Subject: Fix project meta-data +Bug-Upstream: https://github.com/aivarannamaa/minny/issues/2 +From: Dominik George +diff '--color=auto' -ru minny-fa7bcdfc54a846c604d1600db79a05e636de6667.orig/pyproject.toml minny-fa7bcdfc54a846c604d1600db79a05e636de6667/pyproject.toml +--- minny-fa7bcdfc54a846c604d1600db79a05e636de6667.orig/pyproject.toml 2026-06-09 22:23:59.792619308 +0200 ++++ minny-fa7bcdfc54a846c604d1600db79a05e636de6667/pyproject.toml 2025-12-19 21:58:35.000000000 +0100 +@@ -19,7 +19,7 @@ + description = "Package and project manager for MicroPython and CircuitPython" + readme = "README.md" + license = "MIT" +-license-files = ["LICEN[CS]E.*"] ++license-files = ["LICEN[CS]E"] + keywords = ["MicroPython", "CircuitPython"] + classifiers = [ + "Development Status :: 4 - Beta", diff --git a/dev-python/minny/metadata.xml b/dev-python/minny/metadata.xml new file mode 100644 index 0000000000..d0286eac97 --- /dev/null +++ b/dev-python/minny/metadata.xml @@ -0,0 +1,13 @@ + + + + + Dominik George + nik+gentoo@squirrel.land + + + https://github.com/aivarannamaa/minny/issues + aivarannamaa/minny + minny + + diff --git a/dev-python/minny/minny-0.0.1_alpha2.ebuild b/dev-python/minny/minny-0.0.1_alpha2.ebuild new file mode 100644 index 0000000000..441cc21b47 --- /dev/null +++ b/dev-python/minny/minny-0.0.1_alpha2.ebuild @@ -0,0 +1,44 @@ +# 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 + +src_prepare() { + distutils-r1_src_prepare +}