wok-next view python-snimpy/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
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 }