1 |
commit: 5eb74d6cda402ce25804ed6f5f56f3bfb85db8e5 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 11 14:31:33 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 11 14:31:33 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eb74d6c |
7 |
|
8 |
dev-python/qstylizer: add version 0.2.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
12 |
|
13 |
dev-python/qstylizer/Manifest | 1 + |
14 |
dev-python/qstylizer/qstylizer-0.2.0.ebuild | 52 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 53 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/qstylizer/Manifest b/dev-python/qstylizer/Manifest |
18 |
index f1956f81d59..bb9ebc356aa 100644 |
19 |
--- a/dev-python/qstylizer/Manifest |
20 |
+++ b/dev-python/qstylizer/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST qstylizer-0.1.10.tar.gz 20683 BLAKE2B aa12addac6cbe1ebf043d70189683feda87db3a8c2aa3604a04a969f638647ba32eaf7d156559b8af151136aaca784f26025746d9f3e574ad6eb777801bcf44a SHA512 1a747c2a0d5ce0acd220f528bc54c84c723f50bf39fc8d818f6a5475105319f46700d2f00bc5c0f14de8f0caaee0ab8904a379a3e697ca68d00ef62ec3408b2b |
23 |
+DIST qstylizer-0.2.0.tar.gz 20710 BLAKE2B 1d751efd74e36e665823b64cfd51760bea489ac3916b7ab206d9c9f1fe9adbc0df2dfd9666a79e20c805dabcaa6f3cf4d11074943e0a54b7a6aa93a815c796cf SHA512 094d9c9c14d2000c2c2f2b428cd82a57424507c6df83aa21af3ab7b90e9006761ed131262a2e70a1c4aa4dcea87ac6d07f9137bc224967139467b3f4796ab158 |
24 |
|
25 |
diff --git a/dev-python/qstylizer/qstylizer-0.2.0.ebuild b/dev-python/qstylizer/qstylizer-0.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..284ba937368 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/qstylizer/qstylizer-0.2.0.ebuild |
30 |
@@ -0,0 +1,52 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Stylesheet Generator for PyQt5/PySide2" |
41 |
+HOMEPAGE="https://github.com/blambright/qstylizer" |
42 |
+SRC_URI="https://github.com/blambright/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ >=dev-python/tinycss-0.4[${PYTHON_USEDEP}] |
50 |
+ <dev-python/tinycss-1[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/inflection-0.3.0[${PYTHON_USEDEP}] |
52 |
+ <dev-python/inflection-1[${PYTHON_USEDEP}] |
53 |
+" |
54 |
+ |
55 |
+BDEPEND=" |
56 |
+ dev-python/pbr[${PYTHON_USEDEP}] |
57 |
+ dev-vcs/git |
58 |
+ test? ( |
59 |
+ dev-python/pytest-mock[${PYTHON_USEDEP}] |
60 |
+ dev-python/pytest-xdist[${PYTHON_USEDEP}] |
61 |
+ ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests pytest |
65 |
+distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-autoprogram |
66 |
+ |
67 |
+python_prepare_all() { |
68 |
+ # Exception: Versioning for this project requires either an sdist tarball, or access to an |
69 |
+ # upstream git repository. It's also possible that there is a mismatch between the package |
70 |
+ # name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name qstylizer |
71 |
+ # was given, but was not able to be found. |
72 |
+ # |
73 |
+ # There are no tarballs on PyPI, so we do this as a workaround |
74 |
+ git init -q || die |
75 |
+ git config user.email "larry@g.o" || die |
76 |
+ git config user.name "Larry the Cow" || die |
77 |
+ git add . || die |
78 |
+ git commit -mq "init" || die |
79 |
+ git tag -aq "${PV}" -m "${PV}" || die |
80 |
+ |
81 |
+ distutils-r1_python_prepare_all |
82 |
+} |