wok-next diff python-snimpy/receipt @ rev 21545
updated cgames (2.2 -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:35:44 2020 +0100 (2020-06-21) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-snimpy/receipt Sun Jun 21 17:35:44 2020 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +ORIGIN="snimpy" 1.7 +PACKAGE="python-snimpy" 1.8 +VERSION="0.8.12" 1.9 +CATEGORY="network" 1.10 +SHORT_DESC="Interactive SNMP tool" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="ISC" 1.13 +WEB_SITE="https://pypi.org/project/$ORIGIN/" 1.14 +#HOST_ARCH 1.15 +REPOLOGY="snimpy" # python:snimpy 1.16 + 1.17 +BUILD_DEPENDS="python-dev python-cffi-dev python-pysnmp \ 1.18 +python3-dev python3-cffi-dev python3-pysnmp \ 1.19 +libsmi-dev" 1.20 +SPLIT="${PACKAGE/python/python3}:3" 1.21 + 1.22 +compile_rules() { 1.23 + pip$SET install --no-compile --root=$install $ORIGIN==$VERSION 1.24 +} 1.25 + 1.26 +genpkg_rules() { 1.27 + copy @std @dev 1.28 + py="${PACKAGE%%-*}" # python/python3 1.29 + DEPENDS="$py $py-cffi $py-pysnmp" 1.30 +}