From 30fd24641c3047484820c8a49afc7685f26ac09d Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Tue, 20 Apr 2021 05:22:34 +0000 Subject: gnu: Add python-qstylizer. * gnu/packages/python-xyz.scm (python-qstylizer): New variable. --- gnu/packages/python-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9381f50f05..07d43d05ff 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11657,6 +11657,44 @@ for atomic file system operations.") (define-public python2-atomicwrites (package-with-python2 python-atomicwrites)) +(define-public python-qstylizer + (package + (name "python-qstylizer") + (version "0.1.10") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/blambright/qstylizer") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zvkn6g1dn51kkw33v8qrlnwlmf5h6sw1ay3bh14ifjr8b9xsjjz")))) + (build-system python-build-system) + (arguments + `(#:test-target "pytest" + #:phases + (modify-phases %standard-phases + (add-before 'build 'set-pbr-version + (lambda _ + (setenv "PBR_VERSION" "3.0.1")))))) + (native-inputs + `(("python-pbr" ,python-pbr) + ("python-pytest" ,python-pytest) + ("python-pytest-catchlog" ,python-pytest-catchlog) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest-runner" ,python-pytest-runner) + ("python-pytest-xdist" ,python-pytest-xdist))) + (propagated-inputs + `(("python-inflection" ,python-inflection) + ("python-tinycss" ,python-tinycss))) + (home-page "https://github.com/blambright/qstylizer") + (synopsis "Qt stylesheet generation utility for PyQt/PySide") + (description "@code{qstylizer} is a Python package designed to help with +the construction of PyQt/PySide stylesheets.") + (license license:expat))) + (define-public python-click-threading (package (name "python-click-threading") -- cgit 1.4.1