dev-python/minny: new package, add 0.0.1_alpha2

Signed-off-by: Dominik George <nik+gentoo@squirrel.land>
This commit is contained in:
Dominik George
2026-06-09 18:07:16 +02:00
parent 8f3b6cbdd4
commit 58a836bdd5
4 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST minny-0.0.1_alpha2.tar.gz 181910 BLAKE2B 5de005f9bd6ca8002cc3ec5d3688646de9e382fc224c68fc8445dac484b8f845bbb27892a88461d8affdb7beb17d69973af65b0efad295f92e72d0b0d7ef6ad3 SHA512 f465843240f3f3851f4c1cc7c26120cae9f556cdd1d9cb60f1765335b745f772d788ac8edc08bc5eb1204dee58438ed6391c1656f2c189ea23260b382d74c00d

View File

@@ -0,0 +1,15 @@
Subject: Fix project meta-data
Bug-Upstream: https://github.com/aivarannamaa/minny/issues/2
From: Dominik George <nik+gentoo@squirrel.land>
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",

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Dominik George</name>
<email>nik+gentoo@squirrel.land</email>
</maintainer>
<upstream>
<bugs-to>https://github.com/aivarannamaa/minny/issues</bugs-to>
<remote-id type="github">aivarannamaa/minny</remote-id>
<remote-id type="pypi">minny</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}