diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-11-10 14:14:48 +0800 |
|---|---|---|
| committer | Tianling Shen <cnsztl@gmail.com> | 2023-11-16 02:30:21 +0800 |
| commit | 5b3e4a4b3f3be3f9db6aed6a977a5fd40ca6f203 (patch) | |
| tree | 200432d12e1f6010e20032163e82e6e537a9dc1a /lang/python/python-userpath/Makefile | |
| parent | b354a7edbe35bf3cbaafb85edf74181ab7810202 (diff) | |
python-userpath: Add new package
The patches have been submitted upstream in
https://github.com/ofek/userpath/pull/52 and
https://github.com/ofek/userpath/pull/53.
From the README:
This is a tool for modifying a user's PATH.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-userpath/Makefile')
| -rw-r--r-- | lang/python/python-userpath/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/lang/python/python-userpath/Makefile b/lang/python/python-userpath/Makefile new file mode 100644 index 000000000..969a238b5 --- /dev/null +++ b/lang/python/python-userpath/Makefile @@ -0,0 +1,42 @@ +# +# 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:=python-userpath +PKG_VERSION:=1.9.1 +PKG_RELEASE:=1 + +PYPI_NAME:=userpath +PKG_HASH:=ce8176728d98c914b6401781bf3b23fccd968d1647539c8788c7010375e02796 + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=LICENSE.txt +PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> + +PKG_BUILD_DEPENDS:=python-hatchling/host + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include ../python3-package.mk + +define Package/python3-userpath + SECTION:=lang + CATEGORY:=Languages + SUBMENU:=Python + TITLE:=Cross-platform tool for modifying a user's PATH + URL:=https://github.com/ofek/userpath + DEPENDS:=+python3-light +python3-click +python3-psutil +endef + +define Package/python3-userpath/description +This is a tool for modifying a user's PATH. +endef + +$(eval $(call Py3Package,python3-userpath)) +$(eval $(call BuildPackage,python3-userpath)) +$(eval $(call BuildPackage,python3-userpath-src)) |
