summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-02-18 21:40:08 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-02-19 08:59:27 +0100
commit5aa4f71b51a3713d765b0e430fc34abecd0bea93 (patch)
tree2b16fdd28ced386685bc15ed25c2737a95d361fd
parent99d930e65db24ac1ed5e768324154cc1f10e9eae (diff)
downloadbuildroot-5aa4f71b51a3713d765b0e430fc34abecd0bea93.tar.gz
buildroot-5aa4f71b51a3713d765b0e430fc34abecd0bea93.zip
python-pyasn: use the real upstream
The https://code.google.com/p/pyasn/ project is not really the real upstream for PyASN, and at least not the upstream for the PyASN implementation recommended by the PySNMP developers. Instead, the real upstream is https://pypi.python.org/packages/source/p/pyasn1/, which has had much more regular releases than the other PyASN implementation. Therefore, we switch to using this implementation, as recommended by the PySNMP developers on http://pysnmp.sourceforge.net/download.html. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/python-pyasn/python-pyasn.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/package/python-pyasn/python-pyasn.mk b/package/python-pyasn/python-pyasn.mk
index b0072225b6..43fabe9cff 100644
--- a/package/python-pyasn/python-pyasn.mk
+++ b/package/python-pyasn/python-pyasn.mk
@@ -4,16 +4,10 @@
#
################################################################################
-PYTHON_PYASN_VERSION = 1.2
-PYTHON_PYASN_SOURCE = PyASN-$(PYTHON_PYASN_VERSION).zip
-PYTHON_PYASN_SITE = https://pyasn.googlecode.com/files
+PYTHON_PYASN_VERSION = 0.17
+PYTHON_PYASN_SOURCE = pyasn1-$(PYTHON_PYASN_VERSION).tar.gz
+PYTHON_PYASN_SITE = https://pypi.python.org/packages/source/p/pyasn1/
PYTHON_PYASN_LICENSE = LGPLv3+ (pyasn.cpp), GPLv2+ (libgds)
PYTHON_PYASN_SETUP_TYPE = distutils
-define PYTHON_PYASN_EXTRACT_CMDS
- unzip -d $(@D) $(DL_DIR)/$(PYTHON_PYASN_SOURCE)
- mv $(@D)/PyASN-$(PYTHON_PYASN_VERSION)/* $(@D)
- $(RM) -r $(@D)/PyASN-$(PYTHON_PYASN_VERSION)
-endef
-
$(eval $(python-package))
OpenPOWER on IntegriCloud