diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pychm | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pychm')
| -rw-r--r-- | dev-python/pychm/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/pychm/metadata.xml | 20 | ||||
| -rw-r--r-- | dev-python/pychm/pychm-0.8.6-r1.ebuild | 41 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/pychm/Manifest b/dev-python/pychm/Manifest new file mode 100644 index 000000000000..a5d9bf0b55c6 --- /dev/null +++ b/dev-python/pychm/Manifest @@ -0,0 +1 @@ +DIST pychm-0.8.6.gh.tar.gz 23803 BLAKE2B fdf3c37eead60455fd5bde1638a010f2788074752f98c32cf4b3431b4a87b8893c23a9fa29995352b35b41f628b7026fdbfa6ff20b75e8a6efdf75fc2da3f67d SHA512 cc1b254b6c58aba038171ad9db1eea3212094d7fb9386b22ada67381d702b388e6a1dde0317b5724587ee135d2695c546a7c2d65af7091dafeb394647597b0ae diff --git a/dev-python/pychm/metadata.xml b/dev-python/pychm/metadata.xml new file mode 100644 index 000000000000..090f075f55af --- /dev/null +++ b/dev-python/pychm/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <longdescription> +The chm package provides three modules, chm, chmlib and extra, which +provide access to the API implemented by the C library chmlib and some +additional classes and functions. They are used to access MS-ITSS +encoded files - Compressed Html Help files (.chm). + </longdescription> + <longdescription lang="ja"> +Chmパッケージは、C言語ライブラリChmのAPI実装とそれに幾つか拡張されたクラスと関数 +にアクセスする手段のchm, chmlib, extraの3つのモジュールを提供します。MS-ITSSエン +コード・ファイルに使われています。-- Compressed Html Help ファイル (.chm)。 + </longdescription> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/pychm/pychm-0.8.6-r1.ebuild b/dev-python/pychm/pychm-0.8.6-r1.ebuild new file mode 100644 index 000000000000..cf4c890a3f43 --- /dev/null +++ b/dev-python/pychm/pychm-0.8.6-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for the chmlib library" +HOMEPAGE=" + https://github.com/dottedmag/pychm/ + https://pypi.org/project/pychm/ +" +SRC_URI=" + https://github.com/dottedmag/pychm/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" + +DEPEND=" + dev-libs/chmlib +" +RDEPEND=" + ${DEPEND} +" + +distutils_enable_tests pytest + +src_test() { + # need to avoid relative import of 'chm' directory but tests rely + # on locating files relatively via tests/... + mv tests .. || die + cd .. || die + distutils-r1_src_test +} |
