wok-next view python-pysnmp/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
children
line source
1 # SliTaz package receipt v2.
3 ORIGIN="pysnmp"
4 PACKAGE="python-pysnmp"
5 VERSION="4.4.6"
6 CATEGORY="python"
7 SHORT_DESC="SNMP library for Python"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="BSD"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 HOST_ARCH="any"
12 REPOLOGY="python:pysnmp"
14 BUILD_DEPENDS="python python-pyasn1 python-pycryptodomex python-pysmi \
15 python3 python3-pyasn1 python3-pycryptodomex python3-pysmi"
16 SPLIT="${PACKAGE/python/python3}:3"
18 compile_rules() {
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py="${PACKAGE%%-*}" # python/python3
25 DEPENDS="$py $py-pyasn1 $py-pycryptodomex $py-pysmi"
26 }