b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # This is free software, licensed under the GNU General Public License v2. |
| 3 | # See /LICENSE for more information. |
| 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/rules.mk |
| 7 | |
| 8 | PKG_NAME:=python-networkx |
| 9 | PKG_VERSION:=3.3 |
| 10 | PKG_RELEASE:=1 |
| 11 | |
| 12 | PYPI_NAME:=networkx |
| 13 | PKG_HASH:=0c127d8b2f4865f59ae9cb8aafcd60b5c70f3241ebd66f7defad7c4ab90126c9 |
| 14 | |
| 15 | PKG_LICENSE:=BSD-3-Clause |
| 16 | PKG_LICENSE_FILES:=LICENSE.txt |
| 17 | PKG_CPE_ID:=cpe:/a:python:networkx |
| 18 | PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org> |
| 19 | |
| 20 | include ../pypi.mk |
| 21 | include $(INCLUDE_DIR)/package.mk |
| 22 | include ../python3-package.mk |
| 23 | |
| 24 | define Package/python3-networkx |
| 25 | SECTION:=lang |
| 26 | CATEGORY:=Languages |
| 27 | SUBMENU:=Python |
| 28 | TITLE:=Creating and manipulating graphs and networks |
| 29 | URL:=https://networkx.org/ |
| 30 | DEPENDS:=+python3-light +python3-uuid +python3-xml |
| 31 | endef |
| 32 | |
| 33 | define Package/python3-networkx/description |
| 34 | NetworkX is a Python package for the creation, manipulation, and study |
| 35 | of the structure, dynamics, and functions of complex networks. |
| 36 | endef |
| 37 | |
| 38 | $(eval $(call Py3Package,python3-networkx)) |
| 39 | $(eval $(call BuildPackage,python3-networkx)) |
| 40 | $(eval $(call BuildPackage,python3-networkx-src)) |