wok-next view python-pysnmp/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
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 }