blob: 969a238b5578c8f3789b2c6abb78f95a1b165f4b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-userpath
11PKG_VERSION:=1.9.1
12PKG_RELEASE:=1
13
14PYPI_NAME:=userpath
15PKG_HASH:=ce8176728d98c914b6401781bf3b23fccd968d1647539c8788c7010375e02796
16
17PKG_LICENSE:=MIT
18PKG_LICENSE_FILES:=LICENSE.txt
19PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21PKG_BUILD_DEPENDS:=python-hatchling/host
22
23include ../pypi.mk
24include $(INCLUDE_DIR)/package.mk
25include ../python3-package.mk
26
27define Package/python3-userpath
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=Cross-platform tool for modifying a user's PATH
32 URL:=https://github.com/ofek/userpath
33 DEPENDS:=+python3-light +python3-click +python3-psutil
34endef
35
36define Package/python3-userpath/description
37This is a tool for modifying a user's PATH.
38endef
39
40$(eval $(call Py3Package,python3-userpath))
41$(eval $(call BuildPackage,python3-userpath))
42$(eval $(call BuildPackage,python3-userpath-src))