blob: db9dd42223f2fe51e255b22496b8bca346892850 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2019-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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-ifaddr
11PKG_VERSION:=0.2.0
12PKG_RELEASE:=1
13
14PYPI_NAME:=ifaddr
15PKG_HASH:=cc0cbfcaabf765d44595825fb96a99bb12c79716b73b44330ea38ee2b0c4aed4
16
17PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
18PKG_LICENSE:=MIT
19PKG_LICENSE_FILES:=LICENSE.txt
20
21include ../pypi.mk
22include $(INCLUDE_DIR)/package.mk
23include ../python3-package.mk
24
25define Package/python3-ifaddr
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=Network interface and IP address enumeration library
30 URL:=https://github.com/pydron/ifaddr
31 DEPENDS:= \
32 +python3-light \
33 +python3-ctypes
34endef
35
36define Package/python3-ifaddr/description
37ifaddr is a small Python library that allows you to find all the
38Ethernet and IP addresses of the computer.
39endef
40
41$(eval $(call Py3Package,python3-ifaddr))
42$(eval $(call BuildPackage,python3-ifaddr))
43$(eval $(call BuildPackage,python3-ifaddr-src))