summaryrefslogtreecommitdiffstats
path: root/package/python-pyasn
Commit message (Collapse)AuthorAgeFilesLines
* python-pyasn: switch to setuptools instead of distutilsThomas Petazzoni2017-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | python-pyasn can use setuptools instead of distutils, and using setuptools is generally preferred. In addition, using setuptools allows to make sure the package will continue to build when we will adjust the PYTHONPATH variable to no longer point to target Python modules. Without such a change to setuptools, the build would fail with: ===================================================================== running install Checking .pth file support in /home/test/buildroot/output/target/usr/lib/python2.7/site-packages/ /home/test/buildroot/output/host/bin/python -E -c pass TEST FAILED: /home/test/buildroot/output/target/usr/lib/python2.7/site-packages/ does NOT support .pth files error: bad install directory or PYTHONPATH You are attempting to install a package to a directory that is not on PYTHONPATH and which Python does not read ".pth" files from. The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /home/test/buildroot/output/target/usr/lib/python2.7/site-packages/ and your PYTHONPATH environment variable currently contains: '/home/test/buildroot/output/target/usr/lib/python2.7/sysconfigdata/' Here are some of your options for correcting the problem: * You can choose a different installation directory, i.e., one that is on PYTHONPATH or supports .pth files * You can add the installation directory to the PYTHONPATH environment variable. (It must then also be on PYTHONPATH whenever you run Python and want to use the package(s) you are installing.) * You can set up the installation directory to support ".pth" files by using one of the approaches described here: https://setuptools.readthedocs.io/en/latest/easy_install.html#custom-installation-locations ===================================================================== Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-2cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-2c is BSD-2-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-2c/BSD-2-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "python-pyasn: bump to version 1.6.0b1"Thomas Petazzoni2017-03-042-6/+6
| | | | | | | | | | | This reverts commit 98c9b1bec6fd511889f38c72bc4aa5aba89e264d, which causes build failures. Fixes: http://autobuild.buildroot.net/results/27e1c6cdf330bd2009bf8895d8c72a7c4f5186af/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "python-pyasn: fix legal info"Thomas Petazzoni2017-03-041-2/+2
| | | | | | | | This reverts commit aca82a056b04f1bc1d2578e414d8a8d1eaf66207, which is needed to revert commit 98c9b1bec6fd511889f38c72bc4aa5aba89e264d, which itself causes build failures. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: update homepage linkBaruch Siach2017-03-031-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: fix legal infoBaruch Siach2017-03-031-2/+2
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/29c/29ca13a653b2c0cbe449d0b5d795558ce5e4df82/ http://autobuild.buildroot.net/results/5cc/5cc55472682bcb48f732267dd2d9073ce338c294/ http://autobuild.buildroot.net/results/dd9/dd9b087a0e907cbc36f0b870beba375c5fe5b17f/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: bump to version 1.6.0b1Adam Duskett2017-03-022-6/+6
| | | | | Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: fix license fileGustavo Zacarias2015-12-151-1/+1
| | | | | | | | It's not LICENSE.txt and not LICENSE, fixes: http://autobuild.buildroot.net/results/d29/d293f35d8034eaaa519565b14641d1b56206cbc8/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: bump to 0.1.9Yegor Yefremov2015-12-142-1/+4
| | | | | | | Add a hash file. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/python-*: drop redundant python || python3 dependenciesPeter Korsgaard2014-11-191-1/+0
| | | | | | | | | | | | | | | | | | As discussed on the list: http://lists.busybox.net/pipermail/buildroot/2014-November/112509.html We currently have a mix of python packages explicitly depending on python || python3 in their Config.in and packages that don't. As all python packages are inside a python || python3 conditional in the main Config.in, the explicit dependencies inside the package Config.in is redundant, so drop it for consistency. Automated using: sed -i '/depends on BR2_PACKAGE_PYTHON.*PYTHON3/d' package/python-*/Config.in Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* python-pyasn: requires the zlib Python moduleThomas Petazzoni2014-10-051-0/+2
| | | | | | | | The python-pyasn module requires the zlib Python module (part of the Python standard installation, but optional in Buildroot), otherwise it fails to load at runtime. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: remove the trailing slash sign from <PKG>_SITE variableJerzy Grzegorek2014-07-311-1/+1
| | | | | | | | | | | | Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: update license informationRyan Barnett2014-05-071-1/+2
| | | | | | | | Correct license information after switch to correct package on commit 5aa4f71b51a3713d765b0e430fc34abecd0bea93. Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* python-pyasn: fix version number to match upstream tarballThomas Petazzoni2014-03-011-1/+1
| | | | | | | | | The upstream tarball at https://pypi.python.org/packages/source/p/pyasn1/ is actually in version 0.1.7, not 0.17. Reported-by: Peter Korsgaard <jacmet@uclibc.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: allow to build with Python 3Thomas Petazzoni2014-02-191-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* python-pyasn: use the real upstreamThomas Petazzoni2014-02-191-9/+3
| | | | | | | | | | | | | | | | 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>
* Config.in files: fix incorrect indentationThomas De Schampheleire2013-12-251-1/+1
| | | | | | | Tab instead of spaces Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* python-pyasn: new packageRyan Barnett2013-12-152-0/+32
[Peter: license is LGPLv3+ / GPLv2+] Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud