python-crcmod: add package
authorDavid Bauer <mail@david-bauer.net>
Mon, 12 Sep 2022 00:40:46 +0000 (02:40 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 10 Nov 2022 01:04:28 +0000 (02:04 +0100)
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 341b07f92e62da1944aa1fb8839c4c6e213c99b9)

lang/python/python-crcmod/Makefile [new file with mode: 0644]

diff --git a/lang/python/python-crcmod/Makefile b/lang/python/python-crcmod/Makefile
new file mode 100644 (file)
index 0000000..bd9d606
--- /dev/null
@@ -0,0 +1,38 @@
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-crcmod
+PKG_VERSION:=1.7
+PKG_RELEASE:=1
+
+PYPI_NAME:=crcmod
+PKG_HASH:=dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e
+
+PKG_LICENSE:=MIT
+PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
+
+PYTHON3_PKG_SETUP_ARGS:=
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-crcmod
+  SECTION:=lang-python
+  CATEGORY:=Languages
+  SUBMENU:=Python
+  TITLE:=python3-crcmod
+  URL:=http://crcmod.sourceforge.net/
+  DEPENDS:=+python3-light
+endef
+
+define Package/python3-crcmod/description
+The software in this package is a Python module for generating
+objects that compute the Cyclic Redundancy Check (CRC).
+endef
+
+$(eval $(call Py3Package,python3-crcmod))
+$(eval $(call BuildPackage,python3-crcmod))
+$(eval $(call BuildPackage,python3-crcmod-src))