diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/mpxj | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-python/mpxj')
| -rw-r--r-- | dev-python/mpxj/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/mpxj/metadata.xml | 12 | ||||
| -rw-r--r-- | dev-python/mpxj/mpxj-16.2.0.ebuild | 40 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/mpxj/Manifest b/dev-python/mpxj/Manifest new file mode 100644 index 000000000000..5a62b77e27ad --- /dev/null +++ b/dev-python/mpxj/Manifest @@ -0,0 +1 @@ +DIST mpxj-16.2.0-py3-none-any.whl 31243202 BLAKE2B 964dea5b2ec639ab3a685cdbcd160682ead363877f508193d550966b1630e09a135a56dbf44f131ee763fb19c12a2552d1c25a2c4fd5c021e67432a794ea219b SHA512 25db0fa3261d5f2adc6d1f30b52e41e61e457d2bca86fecd5a2d2414ef7f3932f3c09aa944dd56e9762edbc40acb7708764c0250945ec7c56886b69873f9cd8e diff --git a/dev-python/mpxj/metadata.xml b/dev-python/mpxj/metadata.xml new file mode 100644 index 000000000000..42fa7e3660f7 --- /dev/null +++ b/dev-python/mpxj/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ivan.lloro.boada@gmail.com</email> + <name>Ivan Lloro</name> + </maintainer> + <upstream> + <remote-id type="github">joniles/mpxj</remote-id> + <remote-id type="pypi">mpxj</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mpxj/mpxj-16.2.0.ebuild b/dev-python/mpxj/mpxj-16.2.0.ebuild new file mode 100644 index 000000000000..baff9054fbcd --- /dev/null +++ b/dev-python/mpxj/mpxj-16.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Read/Write project management files (MPP, MSPDI, MPX, PMXML, XER, etc)" +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/gpep517 + >=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" + + # Clean up spurious folder + rm -fr "${BUILD_DIR}/install"/usr/lib/python*/site-packages/legal || die +} |
