[arch-commits] Commit in python-pysnmp/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed Aug 7 21:38:31 UTC 2019
Date: Wednesday, August 7, 2019 @ 21:38:31
Author: anthraxx
Revision: 498257
archrelease: copy trunk to community-any
Added:
python-pysnmp/repos/community-any/PKGBUILD
(from rev 498256, python-pysnmp/trunk/PKGBUILD)
Deleted:
python-pysnmp/repos/community-any/PKGBUILD
----------+
PKGBUILD | 125 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-07 21:38:26 UTC (rev 498256)
+++ PKGBUILD 2019-08-07 21:38:31 UTC (rev 498257)
@@ -1,62 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Karol Babioch <karol at babioch.de>
-
-pkgbase=('python-pysnmp')
-pkgname=('python-pysnmp' 'python2-pysnmp')
-_pyname=pysnmp
-pkgver=4.4.9
-pkgrel=1
-pkgdesc='Open source and free implementation of v1/v2c/v3 SNMP engine'
-url='https://github.com/etingof/pysnmp'
-arch=('any')
-license=('BSD')
-makedepends=('python' 'python-setuptools' 'python-sphinx' 'python-pysmi' 'python-pyasn1'
- 'python2' 'python2-setuptools' 'python2-sphinx' 'python2-pysmi' 'python2-pyasn1')
-options=('!makeflags')
-source=(https://github.com/etingof/pysnmp/archive/v${pkgver}/${_pyname}-v${pkgver}.tar.gz)
-sha512sums=('978bf9db485b6f542d4db566409c606ab39f5c1ebc50478eba74c3a9ce0cc325f4f2014f18bd1e34a20db79b315274f7de45d9ca950a2c1bb79f7b85c5a8435b')
-
-prepare() {
- cp -a ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
- export PYTHONPATH=.
- (cd ${_pyname}-${pkgver}
- python setup.py build
- make -C docs text man
- )
- (cd ${_pyname}-${pkgver}-py2
- python2 setup.py build
- make -C docs text man
- )
-}
-
-package_python-pysnmp() {
- depends=('python' 'python-pysmi' 'python-pyasn1')
- cd ${_pyname}-${pkgver}
- python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r docs/build/text "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r examples -t "${pkgdir}/usr/share/doc/${pkgname}"
-
- install -Dm 644 docs/build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${_pyname}.1"
- install -Dm 644 docs/build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_python2-pysnmp() {
- depends=('python2' 'python2-pysmi' 'python2-pyasn1')
- cd ${_pyname}-${pkgver}
- python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-
- install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r docs/build/text "${pkgdir}/usr/share/doc/${pkgname}"
- cp -r examples -t "${pkgdir}/usr/share/doc/${pkgname}"
-
- install -Dm 644 docs/build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pysnmp/repos/community-any/PKGBUILD (from rev 498256, python-pysnmp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-07 21:38:31 UTC (rev 498257)
@@ -0,0 +1,63 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Karol Babioch <karol at babioch.de>
+
+pkgbase=('python-pysnmp')
+pkgname=('python-pysnmp' 'python2-pysnmp')
+_pyname=pysnmp
+pkgver=4.4.10
+pkgrel=1
+pkgdesc='Open source and free implementation of v1/v2c/v3 SNMP engine'
+url='https://github.com/etingof/pysnmp'
+arch=('any')
+license=('BSD')
+makedepends=('python' 'python-setuptools' 'python-sphinx' 'python-pysmi' 'python-pyasn1'
+ 'python2' 'python2-setuptools' 'python2-sphinx' 'python2-pysmi' 'python2-pyasn1')
+options=('!makeflags')
+source=(https://github.com/etingof/pysnmp/archive/v${pkgver}/${_pyname}-v${pkgver}.tar.gz)
+sha256sums=('b60ca2f9980c44d1879f66511378e95c5ccf294f17b7b8809f6f0d514e330e65')
+sha512sums=('aa272067a4478d7bf7a1832fed40b8dc747490460c54ba6c9d7cef50ce708cd6249b1dbef48f1efe4679cf12cafa19c8b818737b5720cadecfcfea3422df15a4')
+
+prepare() {
+ cp -a ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+ export PYTHONPATH=.
+ (cd ${_pyname}-${pkgver}
+ python setup.py build
+ make -C docs text man
+ )
+ (cd ${_pyname}-${pkgver}-py2
+ python2 setup.py build
+ make -C docs text man
+ )
+}
+
+package_python-pysnmp() {
+ depends=('python' 'python-pysmi' 'python-pyasn1')
+ cd ${_pyname}-${pkgver}
+ python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r docs/build/text "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r examples -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+ install -Dm 644 docs/build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${_pyname}.1"
+ install -Dm 644 docs/build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_python2-pysnmp() {
+ depends=('python2' 'python2-pysmi' 'python2-pyasn1')
+ cd ${_pyname}-${pkgver}
+ python2 setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
+
+ install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r docs/build/text "${pkgdir}/usr/share/doc/${pkgname}"
+ cp -r examples -t "${pkgdir}/usr/share/doc/${pkgname}"
+
+ install -Dm 644 docs/build/man/${_pyname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list