[arch-commits] Commit in comtool/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jan 27 14:32:14 UTC 2018
Date: Saturday, January 27, 2018 @ 14:32:13
Author: felixonmars
Revision: 287480
archrelease: copy trunk to community-any
Added:
comtool/repos/community-any/PKGBUILD
(from rev 287479, comtool/trunk/PKGBUILD)
Deleted:
comtool/repos/community-any/PKGBUILD
----------+
PKGBUILD | 79 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 41 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-27 14:31:50 UTC (rev 287479)
+++ PKGBUILD 2018-01-27 14:32:13 UTC (rev 287480)
@@ -1,38 +0,0 @@
-# $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:
Copied: comtool/repos/community-any/PKGBUILD (from rev 287479, comtool/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-27 14:32:13 UTC (rev 287480)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=comtool
+pkgver=1.4
+pkgrel=2
+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
+ sed -e 's|^strDataAssetsDirName = .*|strDataAssetsDirName = "share/COMToolData/assets"|' \
+ -e 's|^strDataDirName = .*|strDataDirName = "share/COMToolData"|' \
+ -i COMTool/parameters.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