python-pyliblzma: add new recipe 43/3643/1
authorJackie Huang <jackie.huang@windriver.com>
Fri, 8 May 2020 07:08:11 +0000 (15:08 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Fri, 8 May 2020 10:01:42 +0000 (18:01 +0800)
This is required by dnf after adding python2 support.

Issue-ID: INF-99
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I2e607e22a050830fc9e6768917d63a740ca565a4

meta-stx/recipes-devtools/python/python-pyliblzma_0.5.3.bb [new file with mode: 0644]

diff --git a/meta-stx/recipes-devtools/python/python-pyliblzma_0.5.3.bb b/meta-stx/recipes-devtools/python/python-pyliblzma_0.5.3.bb
new file mode 100644 (file)
index 0000000..6465d4e
--- /dev/null
@@ -0,0 +1,34 @@
+#
+# Copyright (C) 2019 Wind River Systems, Inc.
+#
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+
+SUMMARY = "Python bindings for liblzma"
+DESCRIPTION = "\
+PylibLZMA provides a python interface for the liblzma library to read and write data \
+that has been compressed or can be decompressed by Lasse Collin’s xz / lzma utils. \
+"
+LICENSE = "LGPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=58c39b26c0549f8e1bb4122173f474cd"
+
+SRC_URI[md5sum] = "500f61116ee1ab4063b49c121786863a"
+SRC_URI[sha256sum] = "08d762f36d5e59fb9bb0e22e000c300b21f97e35b713321ee504cfb442667957"
+
+DEPENDS = "xz"
+
+inherit pypi setuptools
+
+PYPI_PACKAGE = "pyliblzma"
+PYPI_PACKAGE_EXT = "tar.bz2"
+
+BBCLASSEXTEND = " native"