wok-next view python-mysql/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 9b3461bf373c
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="MySQL-python"
4 PACKAGE="python-mysql"
5 VERSION="1.2.5"
6 CATEGORY="python"
7 SHORT_DESC="Python interface to MySQL"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="python:mysql-python"
14 BUILD_DEPENDS="python-dev mysql-dev"
16 # Python packages name should start with "python-", but "python-mysql-python"
17 # is pretty ugly name, so strip it to "python-mysql"
19 compile_rules() {
20 # Python3 based compilation produce error and currently unsupported
21 pip install --no-compile --root=$install $ORIGIN==$VERSION
22 }
24 genpkg_rules() {
25 copy @std
26 DEPENDS="python libmysqlclient"
27 }