python: drop python-backports-lzma

Now that we are python 3.3+ only, we no longer need this backport.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2020-01-21 17:45:51 +00:00
parent e57a346f7d
commit dc7ac8d8f6
2 changed files with 0 additions and 49 deletions

View File

@ -1,17 +0,0 @@
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/setup.py
+++ b/setup.py
@@ -32,8 +32,8 @@
extens = [Extension('backports/lzma/_lzma',
['backports/lzma/_lzmamodule.c'],
libraries = ['lzma'],
- include_dirs = [os.path.join(home, 'include'), '/opt/local/include', '/usr/local/include'],
- library_dirs = [os.path.join(home, 'lib'), '/opt/local/lib', '/usr/local/lib']
+ include_dirs = [],
+ library_dirs = []
)]
descr = "Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files."

View File

@ -1,32 +0,0 @@
HOMEPAGE = "https://github.com/peterjc/backports.lzma"
SUMMARY = "\
Backport of Python 3.3's 'lzma' module for XZ/LZMA compressed files."
DESCRIPTION = "\
This is a backport of the 'lzma' module included in Python 3.3 or later \
by Nadeem Vawda and Per Oyvind Karlsen, which provides a Python wrapper \
for XZ Utils (aka LZMA Utils v2) by Igor Pavlov. \
. \
In order to compile this, you will need to install XZ Utils from \
http://tukaani.org/xz/ \
"
SECTION = "devel/python"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=db4345b3b9524aabc8fe8c65f235c6b2"
SRC_URI[md5sum] = "c3d109746aefa86268e500c07d7e8e0f"
SRC_URI[sha256sum] = "bac58aec8d39ac3d22250840fb24830d0e4a0ef05ad8f3f09172dc0cc80cdbca"
S = "${WORKDIR}/${SRCNAME}-${PV}"
inherit setuptools
DEPENDS += "xz"
SRCNAME = "backports.lzma"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI = "\
https://pypi.python.org/packages/source/b/backports.lzma/${SRCNAME}-${PV}.tar.gz \
file://fix_paths.patch \
"