wok-next annotate python-jcconv/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@15905 2
al@20972 3 ORIGIN="jcconv"
pascal@15905 4 PACKAGE="python-jcconv"
al@20972 5 VERSION="0.2.3"
al@20972 6 CATEGORY="python"
al@20972 7 SHORT_DESC="Python Japanese Characters CONVerter"
pascal@15905 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15906 9 LICENSE="MIT"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 HOST_ARCH="any"
al@20885 12 REPOLOGY="python:jcconv"
al@20885 13
al@20444 14 BUILD_DEPENDS="python"
pascal@15905 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@15905 19 }
pascal@15905 20
al@20972 21 genpkg_rules() {
al@20972 22 copy @std
al@20972 23 DEPENDS="python"
pascal@15905 24 }