wok-next annotate python-mysql/receipt @ rev 21034

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 05 01:38:46 2018 +0200 (2018-11-05)
parents 9b3461bf373c
children
rev   line source
al@20972 1 # SliTaz package receipt v2.
claudinei@3388 2
al@20972 3 ORIGIN="MySQL-python"
claudinei@3388 4 PACKAGE="python-mysql"
al@20972 5 VERSION="1.2.5"
al@20972 6 CATEGORY="python"
al@20972 7 SHORT_DESC="Python interface to MySQL"
claudinei@3388 8 MAINTAINER="claudinei@slitaz.org"
pascal@15378 9 LICENSE="GPL"
al@20972 10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
al@20972 11 #HOST_ARCH
al@20885 12 REPOLOGY="python:mysql-python"
al@20885 13
al@20444 14 BUILD_DEPENDS="python-dev mysql-dev"
claudinei@3388 15
al@20972 16 # Python packages name should start with "python-", but "python-mysql-python"
al@20972 17 # is pretty ugly name, so strip it to "python-mysql"
al@20972 18
al@20972 19 compile_rules() {
al@20972 20 # Python3 based compilation produce error and currently unsupported
al@20972 21 pip install --no-compile --root=$install $ORIGIN==$VERSION
claudinei@3388 22 }
claudinei@3388 23
al@20972 24 genpkg_rules() {
al@20972 25 copy @std
al@20972 26 DEPENDS="python libmysqlclient"
claudinei@3388 27 }