blob: b44ea2a4241bdda51f2d650a3ddab79acd32f751 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2015, 2018-2020, 2023 Jeffery To
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-pyasn1
11PKG_VERSION:=0.5.1
12PKG_RELEASE:=1
13
14PYPI_NAME:=pyasn1
15PKG_HASH:=6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c
16
17PKG_LICENSE:=BSD-2-Clause
18PKG_LICENSE_FILES:=LICENSE.rst
19PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
20
21include ../pypi.mk
22include $(INCLUDE_DIR)/package.mk
23include ../python3-package.mk
24
25define Package/python3-pyasn1
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=ASN.1 types and DER/BER/CER codecs (X.208)
30 URL:=https://github.com/pyasn1/pyasn1
31 DEPENDS:=+python3-light +python3-logging
32endef
33
34define Package/python3-pyasn1/description
35This is an implementation of ASN.1 types and codecs in Python programming
36language. It has been first written to support particular protocol (SNMP)
37but then generalized to be suitable for a wide range of protocols
38based on ASN.1 specification.
39endef
40
41$(eval $(call Py3Package,python3-pyasn1))
42$(eval $(call BuildPackage,python3-pyasn1))
43$(eval $(call BuildPackage,python3-pyasn1-src))