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

Felix Yan felixonmars at archlinux.org
Sat Jan 27 14:15:51 UTC 2018


    Date: Saturday, January 27, 2018 @ 14:15:49
  Author: felixonmars
Revision: 287462

archrelease: copy trunk to community-any

Added:
  comtool/repos/community-any/
  comtool/repos/community-any/PKGBUILD
    (from rev 287461, comtool/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: comtool/repos/community-any/PKGBUILD (from rev 287461, comtool/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-01-27 14:15:49 UTC (rev 287462)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=comtool
+pkgver=1.4
+pkgrel=1
+pkgdesc="A cross platform serial debug tools written by python"
+arch=('any')
+url="https://github.com/Neutree/COMTool"
+license=('LGPL')
+depends=('python-pyqt5' 'python-pyserial' 'python-beautifulsoup4' 'python-setuptools')
+checkdepends=('xorg-server-xvfb')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Neutree/COMTool/archive/V$pkgver.tar.gz")
+sha512sums=('3f27bba898968c1df48dde38a310f95fb3dd9d1d549a08e5a96267029320f42249db9221c6c16aca9a1e0e67596a70f8cda67b64ef60676bcb5a5e56847375a5')
+
+prepare() {
+  cd COMTool-$pkgver
+  mv README.MD README.md
+  sed -i "s/'pyqt5>=5',//" setup.py
+}
+
+build() {
+  cd COMTool-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd COMTool-$pkgver
+  # Disabled: Tests hang
+  # xvfb-run python -m unittest discover
+}
+
+package() {
+  cd COMTool-$pkgver
+  python setup.py install -O1 --prefix=/usr --root="$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list