pipx: Update to 1.3.2, add new dependencies
[feed/packages.git] / lang / python / pipx / Makefile
1 #
2 # Copyright (C) 2023 Jeffery To
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=pipx
11 PKG_VERSION:=1.3.2
12 PKG_RELEASE:=1
13
14 PYPI_NAME:=pipx
15 PKG_HASH:=704d01d04c67c2dd0c776c5bf5ed35c7b249055b0174568b8507f07d72ed7a7f
16
17 PKG_LICENSE:=MIT
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21 PKG_BUILD_DEPENDS:=python-hatchling/host python-hatch-vcs/host
22
23 include ../pypi.mk
24 include $(INCLUDE_DIR)/package.mk
25 include ../python3-package.mk
26
27 define Package/pipx
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=Install/Run Python Applications in Isolated Environments
32 URL:=https://github.com/pypa/pipx
33 DEPENDS:= \
34 +python3-light \
35 +python3-logging \
36 +python3-urllib \
37 +python3-venv \
38 +python3-argcomplete \
39 +python3-packaging \
40 +python3-platformdirs \
41 +python3-userpath
42 endef
43
44 define Package/pipx/description
45 pipx is a tool to help you install and run end-user applications written
46 in Python. It's roughly similar to macOS's brew, JavaScript's npx, and
47 Linux's apt.
48
49 It's closely related to pip. In fact, it uses pip, but is focused on
50 installing and managing Python packages that can be run from the command
51 line directly as applications.
52 endef
53
54 $(eval $(call Py3Package,pipx))
55 $(eval $(call BuildPackage,pipx))
56 $(eval $(call BuildPackage,pipx-src))