commit: a5ad354586341aba1ec6a9221ce1bbe312916d48 Author: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com> AuthorDate: Sat Aug 10 06:04:08 2024 +0000 Commit: Ivan Lloro <ivan.lloro.boada <AT> gmail <DOT> com> CommitDate: Sat Aug 10 06:04:08 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5ad3545
dev-python/mpxj: new package, add 13.1.0 Signed-off-by: Ivan Lloro <ivan.lloro.boada <AT> gmail.com> dev-python/mpxj/Manifest | 1 + dev-python/mpxj/metadata.xml | 11 +++++++++++ dev-python/mpxj/mpxj-13.1.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/mpxj/Manifest b/dev-python/mpxj/Manifest new file mode 100644 index 000000000..5acb87c9a --- /dev/null +++ b/dev-python/mpxj/Manifest @@ -0,0 +1 @@ +DIST mpxj-13.1.0-py3-none-any.whl 26147212 BLAKE2B 31ad89c768496bb11ee96d4a62adef37f30f9d9c01c193bc422196d57fd77d73a992b3584d7d5b5243f5c6e19958e6e654085cf121aa04e0c85ace66ac029afa SHA512 f49411696170c81f6563c43c4257b96a92a2ac2079ccd93f2f433fa69ab0fb17cbd03d4d4f2f10cae215d70cc0287effac15dba612fcdbe47fe440097cb5c3dd diff --git a/dev-python/mpxj/metadata.xml b/dev-python/mpxj/metadata.xml new file mode 100644 index 000000000..af7944b4f --- /dev/null +++ b/dev-python/mpxj/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Ivan Lloro</name> + </maintainer> + <upstream> + <remote-id type="github">joniles/mpxj</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mpxj/mpxj-13.1.0.ebuild b/dev-python/mpxj/mpxj-13.1.0.ebuild new file mode 100644 index 000000000..b3bf1e731 --- /dev/null +++ b/dev-python/mpxj/mpxj-13.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/mpxj/ + https://github.com/joniles/mpxj/ +" +SRC_URI="$(pypi_wheel_url)" +S=${WORKDIR} + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/jpype-1.5.0 +" + +src_unpack() { + if [[ ${PKGBUMPING} == ${PVR} ]]; then + unzip "${DISTDIR}/${A}" || die + fi +} + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +}
