wok-next view python-snimpy/receipt @ rev 21294
updated netsurf (3.8 -> 3.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 09 07:42:31 2019 +0100 (2019-12-09) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="snimpy"
4 PACKAGE="python-snimpy"
5 VERSION="0.8.12"
6 CATEGORY="network"
7 SHORT_DESC="Interactive SNMP tool"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="ISC"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 #HOST_ARCH
12 REPOLOGY="snimpy" # python:snimpy
14 BUILD_DEPENDS="python-dev python-cffi-dev python-pysnmp \
15 python3-dev python3-cffi-dev python3-pysnmp \
16 libsmi-dev"
17 SPLIT="${PACKAGE/python/python3}:3"
19 compile_rules() {
20 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
21 }
23 genpkg_rules() {
24 copy @std @dev
25 py="${PACKAGE%%-*}" # python/python3
26 DEPENDS="$py $py-cffi $py-pysnmp"
27 }