[arch-commits] Commit in python-pysmi/repos/community-any (PKGBUILD PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Mon Jan 14 23:50:35 UTC 2019


    Date: Monday, January 14, 2019 @ 23:50:34
  Author: anthraxx
Revision: 423105

archrelease: copy trunk to community-any

Added:
  python-pysmi/repos/community-any/PKGBUILD
    (from rev 423104, python-pysmi/trunk/PKGBUILD)
Deleted:
  python-pysmi/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  152 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 76 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-14 23:50:27 UTC (rev 423104)
+++ PKGBUILD	2019-01-14 23:50:34 UTC (rev 423105)
@@ -1,76 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: Muflone http://www.muflone.com/contacts/english/
-
-pkgbase=python-pysmi
-_pyname="${pkgbase/*-/}"
-pkgname=('python-pysmi' 'python2-pysmi')
-pkgver=0.3.2
-pkgrel=2
-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')
-makedepends=('python' 'python-sphinx' 'python-ply'
-             'python2' 'python2-sphinx' 'python2-ply')
-checkdepends=('python-pytest' 'python-pysnmp'
-              'python2-pytest' 'python2-pysnmp')
-source=(${_pyname}-${pkgver}.tar.gz::https://github.com/etingof/pysmi/archive/v${pkgver}.tar.gz)
-sha512sums=('d8ee1e08a3fdd808559d11499b323783637622b3ddd4cf3351d2e6ca2ed51a1cfbd3c2ffb6f71555f244ea2da8521ea81e3daba4d97658c1e6e7322ef1a46228')
-
-prepare() {
-  cp -a ${_pyname}-${pkgver}{,-py2}
-}
-
-build() {
-  (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
-  )
-}
-
-check() {
-  (cd ${_pyname}-${pkgver}
-    py.test
-  )
-  (cd ${_pyname}-${pkgver}-py2
-    py.test2
-  )
-}
-
-package_python-pysmi() {
-  depends=('python' 'python-ply')
-  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,}
-}
-
-package_python2-pysmi() {
-  depends=('python2' 'python2-ply')
-  cd ${_pyname}-${pkgver}-py2
-  python2 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/${pkgname}.1"
-  install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
-
-  rm -r "${pkgdir}/usr/bin"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-pysmi/repos/community-any/PKGBUILD (from rev 423104, python-pysmi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-14 23:50:34 UTC (rev 423105)
@@ -0,0 +1,76 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Muflone http://www.muflone.com/contacts/english/
+
+pkgbase=python-pysmi
+_pyname="${pkgbase/*-/}"
+pkgname=('python-pysmi' 'python2-pysmi')
+pkgver=0.3.3
+pkgrel=1
+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')
+makedepends=('python' 'python-sphinx' 'python-ply'
+             'python2' 'python2-sphinx' 'python2-ply')
+checkdepends=('python-pytest' 'python-pysnmp'
+              'python2-pytest' 'python2-pysnmp')
+source=(${_pyname}-${pkgver}.tar.gz::https://github.com/etingof/pysmi/archive/v${pkgver}.tar.gz)
+sha512sums=('019035a908eb1cc95dfbcc0b710b88055524b88e3d9cad6a959b8b5e608989c3380516c1124e81ed89521c50f47f451a8aa8139bae8af099a83023eb2459ae20')
+
+prepare() {
+  cp -a ${_pyname}-${pkgver}{,-py2}
+}
+
+build() {
+  (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
+  )
+}
+
+check() {
+  (cd ${_pyname}-${pkgver}
+    py.test
+  )
+  (cd ${_pyname}-${pkgver}-py2
+    py.test2
+  )
+}
+
+package_python-pysmi() {
+  depends=('python' 'python-ply')
+  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,}
+}
+
+package_python2-pysmi() {
+  depends=('python2' 'python2-ply')
+  cd ${_pyname}-${pkgver}-py2
+  python2 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/${pkgname}.1"
+  install -Dm 644 LICENSE.rst -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  rm -r "${pkgdir}/usr/bin"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list