wok-6.x view snimpy/receipt @ rev 22276
updated xorg-xf86-video-nv (2.1.20 -> 2.1.21)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 14:01:24 2019 +0100 (2019-11-13) |
parents | 5f46a341be86 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="snimpy"
4 VERSION="0.8.3"
5 CATEGORY="network"
6 SHORT_DESC="Interactive SNMP tool with Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://snimpy.readthedocs.org/"
11 WGET_URL="https://github.com/vincentbernat/snimpy/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="wget python-dev python-setuptools libffi-dev glib"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|^import snimpy|&, ssl\nssl._create_default_https_context = ssl._create_unverified_context|' \
20 setup.py
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }