wok-next annotate python-pyliblzma/receipt @ rev 20972

Improve Python packages: update, also provide Python3 packages where available
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 22 16:05:26 2018 +0300 (2018-09-22)
parents 8b5b2a6d07b8
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
pascal@14376 2
al@20972 3 ORIGIN="pyliblzma"
pascal@14376 4 PACKAGE="python-pyliblzma"
pascal@14376 5 VERSION="0.5.3"
pascal@14376 6 CATEGORY="development"
al@20969 7 SHORT_DESC="A Python wrapper for the liblzma library"
pascal@14376 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14997 9 LICENSE="LGPL3"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 #HOST_ARCH
al@20887 12 REPOLOGY="python:pyliblzma"
al@20887 13
al@20972 14 BUILD_DEPENDS="python-dev xz-dev"
pascal@14376 15
al@20972 16 compile_rules() {
al@20972 17 # Python3 based compilation produce error
al@20972 18 pip install --no-compile --root=$install $ORIGIN==$VERSION
pascal@14376 19 }
pascal@14376 20
al@20972 21 genpkg_rules() {
al@20972 22 copy @std
al@20972 23 DEPENDS="python liblzma"
pascal@14376 24 }