blob: a14ab73e3b6c9d41506d90fbec6f138c69264bfb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-snmp
_pkgname=pysnmp
pkgver=4.4.11
pkgrel=1
pkgdesc="Python3 SNMP v1/v2c/v3 engine"
url="http://snmplabs.com/pysnmp/index.html"
arch="noarch"
license="BSD-2-Clause"
options="!check"
depends="python3 py3-asn1 py3-crypto"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
remove-bogus-check.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
replaces="py-snmp" # Backwards compatibility
provides="py-snmp=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="0f61ad0c095398b4b511c854ea7156aae78495f299457b14f4d3b50833670ec77c905e9cf4bdc30c21dd3c3e62d1c3473d7895f0352140af6345b18c1db3e7d8 pysnmp-4.4.11.tar.gz
7976030882c78154a8db4250f1bcb634e74f7f7bd2ec5002dee89605b2cc1845fe92287ea22a2f0eb564fd8c2f3efdcac3370bafadb9eb54925646d6f57e677a remove-bogus-check.patch"
|