[arch-commits] Commit in python-pysmi/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 10:11:49 UTC 2020
Date: Thursday, November 12, 2020 @ 10:11:48
Author: foutrelis
Revision: 751470
archrelease: copy trunk to community-staging-any
Added:
python-pysmi/repos/community-staging-any/PKGBUILD
(from rev 751469, python-pysmi/trunk/PKGBUILD)
Deleted:
python-pysmi/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 10:11:45 UTC (rev 751469)
+++ PKGBUILD 2020-11-12 10:11:48 UTC (rev 751470)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Muflone http://www.muflone.com/contacts/english/
-
-pkgname=python-pysmi
-_pyname="${pkgname/*-/}"
-pkgver=0.3.4
-pkgrel=5
-pkgdesc='SNMP/SMI MIB parsing and conversion library designed to turn ASN.1 MIBs into various formats'
-url='http://snmplabs.com/pysmi/'
-arch=('any')
-license=('BSD')
-depends=('python' 'python-ply')
-makedepends=('python-sphinx')
-checkdepends=('python-pytest' 'python-pysnmp')
-source=(${_pyname}-${pkgver}.tar.gz::https://github.com/etingof/pysmi/archive/v${pkgver}.tar.gz)
-sha512sums=('e6be1f0117f069cb9d67bb0dbc1cd8fa37b40865094ee33a60f794f6721cef14a72326fffd2fc43f22d6a959daf2d42147270421f86a57bde46081b5839880bf')
-
-build() {
- cd ${_pyname}-${pkgver}
- python setup.py build
- make -C docs text man
-}
-
-check() {
- cd ${_pyname}-${pkgver}
- py.test
-}
-
-package() {
- cd ${_pyname}-${pkgver}
- python setup.py install --prefix=/usr --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}"
-
- mv "${pkgdir}/usr/bin/mibdump"{.py,}
- mv "${pkgdir}/usr/bin/mibcopy"{.py,}
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pysmi/repos/community-staging-any/PKGBUILD (from rev 751469, python-pysmi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 10:11:48 UTC (rev 751470)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Muflone http://www.muflone.com/contacts/english/
+
+pkgname=python-pysmi
+_pyname="${pkgname/*-/}"
+pkgver=0.3.4
+pkgrel=6
+pkgdesc='SNMP/SMI MIB parsing and conversion library designed to turn ASN.1 MIBs into various formats'
+url='http://snmplabs.com/pysmi/'
+arch=('any')
+license=('BSD')
+depends=('python' 'python-ply')
+makedepends=('python-sphinx')
+checkdepends=('python-pytest' 'python-pysnmp')
+source=(${_pyname}-${pkgver}.tar.gz::https://github.com/etingof/pysmi/archive/v${pkgver}.tar.gz)
+sha512sums=('e6be1f0117f069cb9d67bb0dbc1cd8fa37b40865094ee33a60f794f6721cef14a72326fffd2fc43f22d6a959daf2d42147270421f86a57bde46081b5839880bf')
+
+build() {
+ cd ${_pyname}-${pkgver}
+ python setup.py build
+ make -C docs text man
+}
+
+check() {
+ cd ${_pyname}-${pkgver}
+ py.test
+}
+
+package() {
+ cd ${_pyname}-${pkgver}
+ python setup.py install --prefix=/usr --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}"
+
+ mv "${pkgdir}/usr/bin/mibdump"{.py,}
+ mv "${pkgdir}/usr/bin/mibcopy"{.py,}
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list