b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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:=python-userpath |
| 11 | PKG_VERSION:=1.9.1 |
| 12 | PKG_RELEASE:=1 |
| 13 | |
| 14 | PYPI_NAME:=userpath |
| 15 | PKG_HASH:=ce8176728d98c914b6401781bf3b23fccd968d1647539c8788c7010375e02796 |
| 16 | |
| 17 | PKG_LICENSE:=MIT |
| 18 | PKG_LICENSE_FILES:=LICENSE.txt |
| 19 | PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> |
| 20 | |
| 21 | PKG_BUILD_DEPENDS:=python-hatchling/host |
| 22 | |
| 23 | include ../pypi.mk |
| 24 | include $(INCLUDE_DIR)/package.mk |
| 25 | include ../python3-package.mk |
| 26 | |
| 27 | define 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 |
| 34 | endef |
| 35 | |
| 36 | define Package/python3-userpath/description |
| 37 | This is a tool for modifying a user's PATH. |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call Py3Package,python3-userpath)) |
| 41 | $(eval $(call BuildPackage,python3-userpath)) |
| 42 | $(eval $(call BuildPackage,python3-userpath-src)) |