Преглед изворни кода

package/python-iwlib: bump version to 1.7.0

https://github.com/nhoad/python-iwlib/blob/1.7.0/README.rst
"1.6: Added support for Python 3 (via migration to CFFI)"

Switched SITE to pypi.

Added dependency to python-cffi:
https://github.com/nhoad/python-iwlib/commit/a7c14aff76a28004afb45e08bcf83be5948cb7c1

Updated package as computed by scanpypi.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls пре 3 недеља
родитељ
комит
b5e737e575

+ 1 - 0
package/python-iwlib/Config.in

@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PYTHON_IWLIB
 	bool "python-iwlib"
 	depends on BR2_PACKAGE_WIRELESS_TOOLS_LIB
+	select BR2_PACKAGE_PYTHON_CFFI # runtime
 	help
 	  python-iwlib is a package for interfacing with iwlib,
 	  providing an implementation to the wireless tools in Linux.

+ 4 - 2
package/python-iwlib/python-iwlib.hash

@@ -1,3 +1,5 @@
-# Locally calculated
-sha256  7f1ad4354284a452388e178b5d9b191fa5a68a9183423a90a1d261ba2ebd1cac  python-iwlib-1.5.tar.gz
+# md5, sha256 from https://pypi.org/pypi/iwlib/json
+md5  66016f4f7f53128525d1f9d9de7a6fed  iwlib-1.7.0.tar.gz
+sha256  a805f6597a70ee3001aba8f039fb7b2dcb75dc15c4e7852f5594fd6379196da1  iwlib-1.7.0.tar.gz
+# Locally computed sha256 checksums
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING

+ 4 - 3
package/python-iwlib/python-iwlib.mk

@@ -4,11 +4,12 @@
 #
 ################################################################################
 
-PYTHON_IWLIB_VERSION = 1.5
-PYTHON_IWLIB_SITE = $(call github,nhoad,python-iwlib,$(PYTHON_IWLIB_VERSION))
+PYTHON_IWLIB_VERSION = 1.7.0
+PYTHON_IWLIB_SOURCE = iwlib-$(PYTHON_IWLIB_VERSION).tar.gz
+PYTHON_IWLIB_SITE = https://files.pythonhosted.org/packages/59/44/fd72c0a7094baeb448dc9e87b3d579da98e2b8593c3fe05c5f9dd20dc6bc
 PYTHON_IWLIB_LICENSE = GPL-2.0
 PYTHON_IWLIB_LICENSE_FILES = COPYING
 PYTHON_IWLIB_SETUP_TYPE = setuptools
-PYTHON_IWLIB_DEPENDENCIES = wireless_tools
+PYTHON_IWLIB_DEPENDENCIES = host-python-cffi wireless_tools
 
 $(eval $(python-package))