Merge pull request #20731 from pprindeville/isc-dhcp-update-4.4.3-P1
[feed/packages.git] / lang / python / python-apipkg / Makefile
1 #
2 # Copyright (C) 2020 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=python-apipkg
11 PKG_VERSION:=1.5
12 PKG_RELEASE:=3
13
14 PYPI_NAME:=apipkg
15 PKG_HASH:=37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6
16
17 PKG_MAINTAINER:=Jan Pavlinec <jan.pavlinec1@gmail.com>
18 PKG_LICENSE:=MIT
19 PKG_LICENSE_FILES:=LICENSE
20
21 PKG_BUILD_DEPENDS:=python-setuptools-scm/host
22
23 include ../pypi.mk
24 include $(INCLUDE_DIR)/package.mk
25 include ../python3-package.mk
26
27 define Package/python3-apipkg
28 SUBMENU:=Python
29 SECTION:=lang
30 CATEGORY:=Languages
31 TITLE:= Controler for exported namespace of a Python package a
32 URL:=https://github.com/pytest-dev/apipkg
33 DEPENDS:= +python3-light
34 endef
35
36 define Package/python3-apipkg/description
37 apipkg is used to control the exported namespace of a Python package and greatly reduce
38 the number of imports for users.
39 endef
40
41 $(eval $(call Py3Package,python3-apipkg))
42 $(eval $(call BuildPackage,python3-apipkg))
43 $(eval $(call BuildPackage,python3-apipkg-src))