diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-09-13 12:11:52 +0800 |
|---|---|---|
| committer | Tianling Shen <cnsztl@gmail.com> | 2023-10-02 19:15:02 +0800 |
| commit | 882ce5ddf9a02da901b7735cc201179ca44a8ba7 (patch) | |
| tree | 8e333e3bcc219673793503d22d6f156aba74af85 /lang/python/python-semantic-version/Makefile | |
| parent | dc38ce57b9b1b25ff06a3c9df5d1e292afda1fe9 (diff) | |
python-semantic-version: Add new host-only package
From the README:
This small python library provides a few tools to handle SemVer in
Python. It follows strictly the 2.0.0 version of the SemVer scheme.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b078e01f0c60354b8580fed8b12c25b5a5706cc6)
Diffstat (limited to 'lang/python/python-semantic-version/Makefile')
| -rw-r--r-- | lang/python/python-semantic-version/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/lang/python/python-semantic-version/Makefile b/lang/python/python-semantic-version/Makefile new file mode 100644 index 000000000..9a78393f6 --- /dev/null +++ b/lang/python/python-semantic-version/Makefile @@ -0,0 +1,49 @@ +# +# 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-semantic-version +PKG_VERSION:=2.10.0 +PKG_RELEASE:=1 + +PYPI_NAME:=semantic-version +PYPI_SOURCE_NAME:=semantic_version +PKG_HASH:=bdabb6d336998cbb378d4b9db3a4b56a1e3235701dc05ea2690d9a997ed5041c + +PKG_LICENSE:=BSD-2-Clause +PKG_LICENSE_FILES:=LICENSE +PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com> + +PKG_HOST_ONLY:=1 +HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-wheel/host + +include ../pypi.mk +include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk +include ../python3-package.mk +include ../python3-host-build.mk + +define Package/python3-semantic-version + SUBMENU:=Python + SECTION:=lang + CATEGORY:=Languages + TITLE:=Library implementing the 'SemVer' scheme + URL:=https://github.com/rbarrois/python-semanticversion + DEPENDS:=+python3-light + BUILDONLY:=1 +endef + +define Package/python3-semantic-version/description +This small python library provides a few tools to handle SemVer in +Python. It follows strictly the 2.0.0 version of the SemVer scheme. +endef + +$(eval $(call Py3Package,python3-semantic-version)) +$(eval $(call BuildPackage,python3-semantic-version)) +$(eval $(call BuildPackage,python3-semantic-version-src)) +$(eval $(call HostBuild)) |
