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

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
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 }