Commit 9a54584f authored by Michal Hrusecky's avatar Michal Hrusecky 🦎

python-pyasn1: Update to the latest upstream state

parent 162350c7
#
# Copyright (C) 2010 OpenWrt.org
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=pyasn1
PKG_VERSION:=0.1.7
PKG_VERSION:=0.1.9
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/p/pyasn1/
PKG_MD5SUM:=2cbd80fcd4c7b1c82180d3d76fee18c8
PKG_SOURCE_URL:=https://pypi.python.org/packages/source/p/pyasn1
PKG_MD5SUM:=f00a02a631d4016818659d1cc38d229a
PKG_BUILD_DEPENDS:=python python-setuptools
PKG_LICENSE:=BSD-2-Clause
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
include $(INCLUDE_DIR)/package.mk
$(call include_mk, python-package.mk)
define Package/python-pyasn1
SECTION:=language-python
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=python-pyasn1
URL:=http://pyasn1.sourceforge.net/
DEPENDS:=+python
MAINTAINER:=Ondrej Mikle <ondrej.mikle@nic.cz>
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=python-pyasn1
URL:=http://pyasn1.sourceforge.net/
DEPENDS:=+python-light
endef
define Package/python-pyasn1/description
An implementation of ASN.1 types and codecs in Python programming language.
This is an implementation of ASN.1 types and codecs in Python programming
language. It has been first written to support particular protocol (SNMP)
but then generalized to be suitable for a wide range of protocols
based on ASN.1 specification.
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef
define Package/python-pyasn1/install
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(1)$(PYTHON_PKG_DIR)
endef
$(eval $(call PyPackage,python-pyasn1))
$(eval $(call BuildPackage,python-pyasn1))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment