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/pmw | |
| 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/pmw')
| -rw-r--r-- | dev-python/pmw/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pmw/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pmw/pmw-2.1.1.ebuild | 43 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/pmw/Manifest b/dev-python/pmw/Manifest new file mode 100644 index 000000000000..0e1ba494fa74 --- /dev/null +++ b/dev-python/pmw/Manifest @@ -0,0 +1 @@ +DIST Pmw-2.1.1.tar.gz 1077119 BLAKE2B 3e78796489d996df8fbcaca119f03b718f5457d38af175232c055c1c94e6c98c3f198e3dd0859a4af1cc88f36df83ed57c0d8ee67f90362a8590de5a37d2f669 SHA512 7f4c3181b0ae546f9f89cf666917fd9ea0161a2c4a4e6b5756e0aeb543fcd3ed4598c83e294b04312fea6a386b06b370668b4400f1497cc8b2fc2ab19a3fdd3d diff --git a/dev-python/pmw/metadata.xml b/dev-python/pmw/metadata.xml new file mode 100644 index 000000000000..cebbdcc70c62 --- /dev/null +++ b/dev-python/pmw/metadata.xml @@ -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"> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">Pmw</remote-id> + <remote-id type="sourceforge">pmw</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pmw/pmw-2.1.1.ebuild b/dev-python/pmw/pmw-2.1.1.ebuild new file mode 100644 index 000000000000..e1c23e716fa4 --- /dev/null +++ b/dev-python/pmw/pmw-2.1.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE="tk" + +inherit distutils-r1 virtualx pypi + +DESCRIPTION="Toolkit for building high-level compound Python widgets using the Tkinter module" +HOMEPAGE="https://pypi.org/project/Pmw/" + +LICENSE="BSD" +SLOT="py3" +KEYWORDS="~alpha amd64 ppc ~sparc x86 ~x64-macos" +IUSE="doc test" +# https://sourceforge.net/p/pmw/bugs/39/ +RESTRICT="test" + +DEPEND="!dev-python/pmw:0" +RDEPEND="${DEPEND}" + +python_test() { + VIRTUALX_COMMAND="${PYTHON}" + cd "${BUILD_DIR}/lib/Pmw/Pmw_${PV//./_}/" || die + cp tests/{flagup.bmp,earthris.gif} . || die + for test in tests/*_test.py; do + echo "running test "$test + PYTHONPATH=tests:../../ virtx emake -j1 $test || die + done +} + +python_install_all() { + local DIR="Pmw/Pmw_${PV//./_}" + + use doc && HTML_DOCS=( "${DIR}"/doc/. ) + + distutils-r1_python_install_all +} |
