2 # Copyright (C) 2023 Jeffery To
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=python-setuptools
15 PKG_HASH
:=baf1fdb41c6da4cd2eae722e135500da913332ab3f2f5c7d33af9b492acb5235
18 PKG_LICENSE_FILES
:=LICENSE
19 PKG_MAINTAINER
:=Jeffery To
<jeffery.to@gmail.com
>
20 CPE_ID
:=cpe
:/a
:python
:setuptools
23 include $(INCLUDE_DIR
)/package.mk
24 include ..
/python3-package.mk
26 define Package
/python3-setuptools
/Default
30 URL
:=https
://github.com
/pypa
/setuptools
33 define Package
/python3-pkg-resources
34 $(call Package
/python3-setuptools
/Default
)
35 TITLE
:=Package resource API
36 DEPENDS
:=+python3-light
+python3-email
+python3-logging
+python3-urllib
39 define Package
/python3-setuptools
40 $(call Package
/python3-setuptools
/Default
)
41 TITLE
:=Fully-featured library to package Python projects
42 DEPENDS
:=+python3
+python3-pkg-resources
45 define Package
/python3-setuptools
/description
/Default
46 Setuptools is a fully-featured
, actively-maintained
, and stable library
47 designed to facilitate packaging Python projects.
49 It helps developers to easily share reusable code
(in the form of a
50 library
) and programs
(e.g.
, CLI
/GUI tools implemented in Python
), that
51 can be installed with pip and uploaded to PyPI.
54 define Package
/python3-pkg-resources
/description
55 $(call Package
/python3-setuptools
/description
/Default
)
57 This is the pkg_resources module of setuptools.
60 define Package
/python3-setuptools
/description
61 $(call Package
/python3-setuptools
/description
/Default
)
63 This is the main setuptools module.
66 define Py3Package
/python3-pkg-resources
/filespec
67 +|
$(PYTHON3_PKG_DIR
)/pkg_resources
70 define Py3Package
/python3-setuptools
/filespec
72 -|
$(PYTHON3_PKG_DIR
)/pkg_resources
75 $(eval
$(call Py3Package
,python3-pkg-resources
))
76 $(eval
$(call Py3Package
,python3-setuptools
))
78 $(eval
$(call BuildPackage
,python3-pkg-resources
))
79 $(eval
$(call BuildPackage
,python3-setuptools
))
81 $(eval
$(call BuildPackage
,python3-pkg-resources-src
))
82 $(eval
$(call BuildPackage
,python3-setuptools-src
))