From bfd9c39e4712ebdb442d4ca0673061faed1e70e1 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 05:48:38 -0500 Subject: Revert "Adding metadata" This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704. --- dev-python/find-libpython/Manifest | 1 + .../find-libpython/find-libpython-0.5.1.ebuild | 17 ++++++++++ dev-python/find-libpython/metadata.xml | 39 ++++++++++++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 dev-python/find-libpython/Manifest create mode 100644 dev-python/find-libpython/find-libpython-0.5.1.ebuild create mode 100644 dev-python/find-libpython/metadata.xml (limited to 'dev-python/find-libpython') 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 @@ + + + + + vowstar@gmail.com + Huang Rui + + + find-libpython + ktbarrett/find_libpython + + Takafumi Arakaki + dev.ktbarrett@gmail.com + + https://github.com/ktbarrett/find_libpython/issues + + + 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. + + + find-libpython 是一个用于定位当前 Python 环境中 libpython 动态库 + 路径的库。支持多种安装方式,包括 conda 管理、系统管理或其他方式, + 可在 Windows、Mac OS/OS X 和各种 Linux 发行版上使用。 + find_libpython 同时是一个脚本和 Python 包。作为脚本使用时, + 可用于在基于 makefile 的构建系统中获取 libpython 路径, + 或嵌入其他语言编写的进程中的 Python 解释器路径。 + 推荐用法是无参数调用子进程中的脚本并解析输出。 + + -- cgit v1.3.1