Merge pull request #20731 from pprindeville/isc-dhcp-update-4.4.3-P1
[feed/packages.git] / lang / python / python-packaging / Makefile
1 #
2 # Copyright (C) 2020-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 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=python-packaging
10 PKG_VERSION:=23.0
11 PKG_RELEASE:=1
12
13 PYPI_NAME:=packaging
14 PKG_HASH:=b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97
15
16 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>, Jeffery To <jeffery.to@gmail.com>
17 PKG_LICENSE:=Apache-2.0 BSD-2-Clause
18 PKG_LICENSE_FILES:=LICENSE.APACHE LICENSE.BSD
19
20 PKG_BUILD_DEPENDS:=python-flit-core/host
21 HOST_BUILD_DEPENDS:=python3/host python-flit-core/host python-installer/host
22
23 include ../pypi.mk
24 include $(INCLUDE_DIR)/package.mk
25 include $(INCLUDE_DIR)/host-build.mk
26 include ../python3-package.mk
27 include ../python3-host-build.mk
28
29 define Package/python3-packaging
30 SECTION:=lang
31 CATEGORY:=Languages
32 SUBMENU:=Python
33 TITLE:=Core utilities for Python packages
34 URL:=https://github.com/pypa/packaging
35 DEPENDS:=+python3-light +python3-logging +python3-urllib @BROKEN
36 endef
37
38 define Package/python3-packaging/description
39 The packaging project includes version handling, specifiers,
40 markers, requirements, tags, utilities.
41 endef
42
43 Host/Compile=$(Py3Host/Compile/Bootstrap)
44
45 $(eval $(call Py3Package,python3-packaging))
46 $(eval $(call BuildPackage,python3-packaging))
47 $(eval $(call BuildPackage,python3-packaging-src))
48 $(eval $(call HostBuild))