package/rt-tests: bump to version 1.6
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 19 Jan 2020 10:35:39 +0000 (11:35 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Feb 2020 10:10:48 +0000 (11:10 +0100)
- python3 is used instead of python since version 1.2 and
  https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/commit/?id=9a5c9c514d217d2b7c33469c4f29cbea3d6c25c6
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/rt-tests/rt-tests.hash
package/rt-tests/rt-tests.mk

index f37af4384fa97b79024ffe92844bbf32e6a2ce2e..7da6ed2c303c8b9ad422ac0478e9f326df369ed6 100644 (file)
@@ -1,2 +1,3 @@
 # locally computed hash
-sha256 aea85fd8eda8c1d96e9d32a019bfd4a1d2e0d362971d97838996f49d1af2d470  rt-tests-1.0.tar.xz
+sha256 bcb94448324116f29c248b14a6051c7ab72a0135234e714685a2a3a3e7d531f8  rt-tests-1.6.tar.xz
+sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
index 273949a98764f32d605cbcba10f085512f6d25b3..431c01768898be672ab770064ccfdc59764ba2c1 100644 (file)
@@ -6,12 +6,12 @@
 
 RT_TESTS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/rt-tests
 RT_TESTS_SOURCE = rt-tests-$(RT_TESTS_VERSION).tar.xz
-RT_TESTS_VERSION = 1.0
+RT_TESTS_VERSION = 1.6
 RT_TESTS_LICENSE = GPL-2.0+
 RT_TESTS_LICENSE_FILES = COPYING
 
-ifeq ($(BR2_PACKAGE_PYTHON),y)
-RT_TESTS_DEPENDENCIES = python
+ifeq ($(BR2_PACKAGE_PYTHON3),y)
+RT_TESTS_DEPENDENCIES = python3
 endif
 
 define RT_TESTS_BUILD_CMDS
@@ -25,7 +25,7 @@ define RT_TESTS_INSTALL_TARGET_CMDS
        $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
                DESTDIR="$(TARGET_DIR)" \
                prefix=/usr \
-               $(if $(BR2_PACKAGE_PYTHON),PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/,PYLIB="") \
+               $(if $(BR2_PACKAGE_PYTHON3),PYLIB=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/,PYLIB="") \
                install
 endef