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/find-libpython | |
| 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/find-libpython')
| -rw-r--r-- | dev-python/find-libpython/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/find-libpython/find-libpython-0.5.1.ebuild | 17 | ||||
| -rw-r--r-- | dev-python/find-libpython/metadata.xml | 39 |
3 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/find-libpython/Manifest b/dev-python/find-libpython/Manifest new file mode 100644 index 000000000000..190498cd1e7a --- /dev/null +++ b/dev-python/find-libpython/Manifest @@ -0,0 +1 @@ +DIST find_libpython-0.5.1.tar.gz 9402 BLAKE2B 70906d777808d2d8daa4210245d2ccb52d0cf560821bff40479e1eaac4aa4f848a8e84d1f38d5afbfa0660a5bf6b7f811f28d2688664a47f1d21786d11a51636 SHA512 59fc30e47a01be0c1d9c0462e91fe3894d3840763a99140eb5e45f02f896f7f2bf780e77d0aedfea2843732e5db4255b1dc1caeb1d63da1bae620051a82d9321 diff --git a/dev-python/find-libpython/find-libpython-0.5.1.ebuild b/dev-python/find-libpython/find-libpython-0.5.1.ebuild new file mode 100644 index 000000000000..152aceab40af --- /dev/null +++ b/dev-python/find-libpython/find-libpython-0.5.1.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..14} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 pypi + +DESCRIPTION="Finds the libpython associated with the current Python environment" +HOMEPAGE="https://github.com/ktbarrett/find_libpython" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" + +distutils_enable_tests pytest diff --git a/dev-python/find-libpython/metadata.xml b/dev-python/find-libpython/metadata.xml new file mode 100644 index 000000000000..59e2239df9ec --- /dev/null +++ b/dev-python/find-libpython/metadata.xml @@ -0,0 +1,39 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>vowstar@gmail.com</email> + <name>Huang Rui</name> + </maintainer> + <upstream> + <remote-id type="pypi">find-libpython</remote-id> + <remote-id type="github">ktbarrett/find_libpython</remote-id> + <maintainer> + <name>Takafumi Arakaki</name> + <email>dev.ktbarrett@gmail.com</email> + </maintainer> + <bugs-to>https://github.com/ktbarrett/find_libpython/issues</bugs-to> + </upstream> + <longdescription lang="en"> + find-libpython is a library designed to locate the path of the + libpython dynamic library in the current Python environment. + Supports various installation types including conda-managed, + system-managed, and other configurations. Works across Windows, + Mac OS/OS X, and major Linux distributions. + find_libpython is both a script and a Python package. Usage as + a script is useful for obtaining the libpython path in + makefile-based build systems. It can also determine the path + for embedding Python in processes written in other languages. + Recommended usage is to call the script in a subprocess without + arguments and parse the output. + </longdescription> + <longdescription lang="zh"> + find-libpython 是一个用于定位当前 Python 环境中 libpython 动态库 + 路径的库。支持多种安装方式,包括 conda 管理、系统管理或其他方式, + 可在 Windows、Mac OS/OS X 和各种 Linux 发行版上使用。 + find_libpython 同时是一个脚本和 Python 包。作为脚本使用时, + 可用于在基于 makefile 的构建系统中获取 libpython 路径, + 或嵌入其他语言编写的进程中的 Python 解释器路径。 + 推荐用法是无参数调用子进程中的脚本并解析输出。 + </longdescription> +</pkgmetadata> |
