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

Filipe Laíns ffy00 at gemini.archlinux.org
Tue Aug 31 19:24:46 UTC 2021


    Date: Tuesday, August 31, 2021 @ 19:24:45
  Author: ffy00
Revision: 1010200

archrelease: copy trunk to community-any

Added:
  python-pyadi-iio/repos/community-any/PKGBUILD
    (from rev 1010199, python-pyadi-iio/trunk/PKGBUILD)
Deleted:
  python-pyadi-iio/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-31 19:24:42 UTC (rev 1010199)
+++ PKGBUILD	2021-08-31 19:24:45 UTC (rev 1010200)
@@ -1,49 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-
-_pkgname=pyadi-iio
-pkgname=python-$_pkgname
-pkgver=0.0.4
-pkgrel=3
-pkgdesc='Python interfaces for ADI hardware with IIO drivers'
-arch=('any')
-url='https://github.com/analogdevicesinc/pyadi-iio'
-license=('custom')
-depends=('libiio' 'python-numpy')
-makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme')
-checkdepends=('python-pytest-runner' 'python-scapy')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha512sums=('bf1c0eab452c2891d16802a028e2291fc4493c872ea256956e6061f15b4233de5100b9a23651e5ce36f0ae245b7caa19a0a47b1ffd8eb2dc9fa4ed0011a202b4')
-
-build() {
-  cd $_pkgname-$pkgver
-
-  python setup.py build
-
-  cd doc
-
-  make html
-}
-
-# need liblibc.a
-#check() {
-#  cd $_pkgname-$pkgver
-#
-#  python setup.py pytest
-#}
-
-package() {
-  cd $_pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  # Remove tests
-  rm -rf "$pkgdir"/usr/lib/python*/site-packages/test
-
-  # Install documentation
-  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
-  cp -r -a --no-preserve=ownership doc/build/html "$pkgdir"/usr/share/doc/$pkgname
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-pyadi-iio/repos/community-any/PKGBUILD (from rev 1010199, python-pyadi-iio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-31 19:24:45 UTC (rev 1010200)
@@ -0,0 +1,49 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=pyadi-iio
+pkgname=python-$_pkgname
+pkgver=0.0.8
+pkgrel=1
+pkgdesc='Python interfaces for ADI hardware with IIO drivers'
+arch=('any')
+url='https://github.com/analogdevicesinc/pyadi-iio'
+license=('custom')
+depends=('libiio' 'python-numpy' 'python-paramiko')
+makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme')
+checkdepends=('python-pytest-runner' 'python-scapy')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('97f6b241230f54ff4932f677b42b4fd33c2e2eb69bb27d638b4c63b44e991b61c40744b9db09fd26d7973e83eeec6089cba65bbe63894206b06c3e10dd8f1f3e')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+
+  cd doc
+
+  make html
+}
+
+# need liblibc.a
+#check() {
+#  cd $_pkgname-$pkgver
+#
+#  python setup.py pytest
+#}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  # Remove tests
+  rm -rf "$pkgdir"/usr/lib/python*/site-packages/test
+
+  # Install documentation
+  install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
+  cp -r -a --no-preserve=ownership doc/build/html "$pkgdir"/usr/share/doc/$pkgname
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list