mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 15:02:01 +08:00
29cbf98edb
New features (pipx 1.12.0): - Add --fetch-python / PIPX_FETCH_PYTHON env var (always|missing|never) to control standalone Python interpreter downloads - Add opt-in "uv" backend: pipx can now use "uv venv" and "uv pip" for managing virtual environments * When "uv" is on PATH, defaults to using uv for NEW venvs * Existing venvs keep their recorded backend (pip or uv) * Set PIPX_DEFAULT_BACKEND=pip to force pip even with uv available * pipx install pip always uses the pip backend (uv venvs have no pip) Deprecations: - --fetch-missing-python and PIPX_FETCH_MISSING_PYTHON deprecated; use --fetch-python=missing or PIPX_FETCH_PYTHON=missing instead Changelog: https://github.com/pypa/pipx/releases/tag/1.12.0 Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2023 Jeffery To
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=pipx
|
|
PKG_VERSION:=1.12.0
|
|
PKG_RELEASE:=1
|
|
|
|
PYPI_NAME:=pipx
|
|
PKG_HASH:=a25ae54944c116b7dc53440aab71975f29f4f9fe4bc478cf9ddb123bed3e00f5
|
|
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
|
|
|
|
PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/pipx
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Install/Run Python Applications in Isolated Environments
|
|
URL:=https://pipx.pypa.io/
|
|
DEPENDS:= \
|
|
+python3-light \
|
|
+python3-logging \
|
|
+python3-urllib \
|
|
+python3-venv \
|
|
+python3-argcomplete \
|
|
+python3-packaging \
|
|
+python3-platformdirs \
|
|
+python3-userpath
|
|
endef
|
|
|
|
define Package/pipx/description
|
|
pipx is a tool to help you install and run end-user applications written
|
|
in Python. It's roughly similar to macOS's brew, JavaScript's npx, and
|
|
Linux's apt.
|
|
|
|
It's closely related to pip. In fact, it uses pip, but is focused on
|
|
installing and managing Python packages that can be run from the command
|
|
line directly as applications.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,pipx))
|
|
$(eval $(call BuildPackage,pipx))
|
|
$(eval $(call BuildPackage,pipx-src))
|