[arch-commits] Commit in python-qstylizer/repos/community-any (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Wed Jul 28 16:52:52 UTC 2021
Date: Wednesday, July 28, 2021 @ 16:52:52
Author: archange
Revision: 989020
archrelease: copy trunk to community-any
Added:
python-qstylizer/repos/community-any/PKGBUILD
(from rev 989019, python-qstylizer/trunk/PKGBUILD)
Deleted:
python-qstylizer/repos/community-any/PKGBUILD
----------+
PKGBUILD | 79 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-07-28 16:52:47 UTC (rev 989019)
+++ PKGBUILD 2021-07-28 16:52:52 UTC (rev 989020)
@@ -1,39 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=qstylizer
-pkgname=python-${_pkg}
-pkgver=0.1.10
-pkgrel=1
-pkgdesc="Qt stylesheet generation utility for PyQt/PySide"
-arch=(any)
-url="https://github.com/blambright/qstylizer"
-license=(MIT)
-depends=(python-inflection python-tinycss)
-makedepends=(python-pbr python-setuptools)
-checkdepends=(
- python-pytest
- python-pytest-runner
- python-pytest-mock
- python-pytest-xdist
-)
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('a5d561ef757d1751766674fba977e339cb4028b057a350969224403f286c4751')
-
-build() {
- cd ${_pkg}-${pkgver}
- export PBR_VERSION=${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- PYTHONPATH="${PWD}"/build/lib/ pytest
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- export PBR_VERSION=${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
-}
Copied: python-qstylizer/repos/community-any/PKGBUILD (from rev 989019, python-qstylizer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-07-28 16:52:52 UTC (rev 989020)
@@ -0,0 +1,40 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=qstylizer
+pkgname=python-${_pkg}
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Qt stylesheet generation utility for PyQt/PySide"
+arch=(any)
+url="https://github.com/blambright/qstylizer"
+license=(MIT)
+depends=(python-inflection python-tinycss2)
+makedepends=(python-pbr python-setuptools)
+checkdepends=(
+ python-pytest
+ python-pytest-runner
+ python-pytest-mock
+ python-pytest-xdist
+)
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('344fef12a7ac2546853ffdf1ef7055aea3b50e41cf469caf71eb4d2acabf42d7')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ export PBR_VERSION=${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ PYTHONPATH="${PWD}"/build/lib/ pytest
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ export PBR_VERSION=${pkgver}
+ export PYTHONHASHSEED=0
+ python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list