# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{12..15} ) inherit distutils-r1 optfeature # 0.3.0 pins rmscene<0.7, which cannot read files from current tablet # firmware; use a snapshot that supports rmscene 0.8. COMMIT="da87813a31496d156ca6ea8a27bf5128670fb45a" DESCRIPTION="Convert reMarkable v6 .rm files to SVG, PDF and Markdown" HOMEPAGE="https://github.com/ricklupton/rmc" SRC_URI="https://github.com/ricklupton/rmc/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/click-8[${PYTHON_USEDEP}] >=dev-python/rmscene-0.8.0[${PYTHON_USEDEP}]