blob: 8b09ce6fa0881b007f70c01106091f842f7a6c8b [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
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-awesomeversion
11PKG_VERSION:=23.5.0
12PKG_RELEASE:=1
13
14PYPI_NAME:=awesomeversion
15PKG_HASH:=a505558316010d2d10d487226f79c1157204af00fa462fdcf948e347011dd491
16
17PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
18PKG_LICENSE:=MIT
19PKG_LICENSE_FILES:=LICENCE.md
20
21PKG_BUILD_DEPENDS:=python-poetry-core/host
22
23include ../pypi.mk
24include $(INCLUDE_DIR)/package.mk
25include ../python3-package.mk
26
27define Package/python3-awesomeversion
28 SECTION:=lang
29 CATEGORY:=Languages
30 SUBMENU:=Python
31 TITLE:=Make anything a version object
32 URL:=https://github.com/ludeeus/awesomeversion
33 DEPENDS:=+python3-light
34endef
35
36define Package/python3-awesomeversion/description
37Make anything a version object, and compare against a vast selection of
38other version formats.
39endef
40
41$(eval $(call Py3Package,python3-awesomeversion))
42$(eval $(call BuildPackage,python3-awesomeversion))
43$(eval $(call BuildPackage,python3-awesomeversion-src))