wok-next view python-smbus2/receipt @ rev 21634

updated exiftool (11.17 -> 12.01)
author Hans-G?nter Theisgen
date Fri Jun 26 10:45:57 2020 +0100 (2020-06-26)
parents
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="smbus2"
4 PACKAGE="python-smbus2"
5 VERSION="0.2.1"
6 CATEGORY="system-tools"
7 SHORT_DESC="Drop-in replacement for smbus-cffi/smbus-python in pure Python"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:smbus2"
14 BUILD_DEPENDS="python python3"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
19 }
21 genpkg_rules() {
22 copy @std
23 py="${PACKAGE%%-*}" # python/python3
24 DEPENDS="$py"
25 }