2 # Copyright (C) 2020-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/)
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
9 PKG_NAME
:=python-packaging
14 PKG_HASH
:=b6ad297f8907de0fa2fe1ccbd26fdaf387f5f47c7275fedf8cce89f99446cf97
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
20 PKG_BUILD_DEPENDS
:=python-flit-core
/host
21 HOST_BUILD_DEPENDS
:=python3
/host python-flit-core
/host python-installer
/host
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/host-build.mk
26 include ..
/python3-package.mk
27 include ..
/python3-host-build.mk
29 define Package
/python3-packaging
33 TITLE
:=Core utilities for Python packages
34 URL
:=https
://github.com
/pypa
/packaging
35 DEPENDS
:=+python3-light
+python3-logging
+python3-urllib @BROKEN
38 define Package
/python3-packaging
/description
39 The packaging project includes version handling
, specifiers
,
40 markers
, requirements
, tags, utilities.
43 Host
/Compile
=$(Py3Host
/Compile
/Bootstrap
)
45 $(eval
$(call Py3Package
,python3-packaging
))
46 $(eval
$(call BuildPackage
,python3-packaging
))
47 $(eval
$(call BuildPackage
,python3-packaging-src
))
48 $(eval
$(call HostBuild
))