[arch-commits] Commit in python-qdarkstyle/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 13:23:59 UTC 2020


    Date: Thursday, November 12, 2020 @ 13:23:59
  Author: foutrelis
Revision: 751806

archrelease: copy trunk to community-staging-any

Added:
  python-qdarkstyle/repos/community-staging-any/PKGBUILD
    (from rev 751805, python-qdarkstyle/trunk/PKGBUILD)
Deleted:
  python-qdarkstyle/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 13:23:56 UTC (rev 751805)
+++ PKGBUILD	2020-11-12 13:23:59 UTC (rev 751806)
@@ -1,38 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=QDarkStyle
-pkgname=python-${_pkg,,}
-pkgver=2.8.1
-pkgrel=2
-pkgdesc="Dark style sheet for QtWidgets application"
-arch=(any)
-url="https://github.com/ColinDuquesnoy/QDarkStyleSheet"
-license=(MIT CCPL)
-depends=(python-helpdev python-qtpy)
-makedepends=(python-setuptools)
-checkdepends=(python-pyqt5 pyside2)
-# Pypi tarballs do not provide tests files anymore
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('bc2f8d2b3644ed660c1267cba314df80a08ddaf28c1b7f701f6cdd6f44f70fdb')
-
-build() {
-  cd ${_pkg}Sheet-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}Sheet-${pkgver}
-  # PyQt5 tests
-  python example/example.py --qt_from=pyqt5 --test
-  python example/example.py --qt_from=pyqt5 --test --no_dark
-  # PySide2 tests
-  python example/example.py --qt_from=pyside2 --test
-  python example/example.py --qt_from=pyside2 --test --no_dark
-}
-
-package() {
-  cd ${_pkg}Sheet-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-qdarkstyle/repos/community-staging-any/PKGBUILD (from rev 751805, python-qdarkstyle/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 13:23:59 UTC (rev 751806)
@@ -0,0 +1,38 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=QDarkStyle
+pkgname=python-${_pkg,,}
+pkgver=2.8.1
+pkgrel=3
+pkgdesc="Dark style sheet for QtWidgets application"
+arch=(any)
+url="https://github.com/ColinDuquesnoy/QDarkStyleSheet"
+license=(MIT CCPL)
+depends=(python-helpdev python-qtpy)
+makedepends=(python-setuptools)
+checkdepends=(python-pyqt5 pyside2)
+# Pypi tarballs do not provide tests files anymore
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('bc2f8d2b3644ed660c1267cba314df80a08ddaf28c1b7f701f6cdd6f44f70fdb')
+
+build() {
+  cd ${_pkg}Sheet-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}Sheet-${pkgver}
+  # PyQt5 tests
+  python example/example.py --qt_from=pyqt5 --test
+  python example/example.py --qt_from=pyqt5 --test --no_dark
+  # PySide2 tests
+  python example/example.py --qt_from=pyside2 --test
+  python example/example.py --qt_from=pyside2 --test --no_dark
+}
+
+package() {
+  cd ${_pkg}Sheet-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 LICENSE.rst -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list