commit: 8bc68c9d520f4246584a097443b635c9da34adce Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Fri Jul 30 08:19:09 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Fri Jul 30 08:25:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc68c9d
dev-python/qstylizer: add version 0.2.1 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/qstylizer/Manifest | 1 + dev-python/qstylizer/qstylizer-0.2.1.ebuild | 52 +++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/qstylizer/Manifest b/dev-python/qstylizer/Manifest index bb9ebc356aa..c6742dcec2b 100644 --- a/dev-python/qstylizer/Manifest +++ b/dev-python/qstylizer/Manifest @@ -1,2 +1,3 @@ DIST qstylizer-0.1.10.tar.gz 20683 BLAKE2B aa12addac6cbe1ebf043d70189683feda87db3a8c2aa3604a04a969f638647ba32eaf7d156559b8af151136aaca784f26025746d9f3e574ad6eb777801bcf44a SHA512 1a747c2a0d5ce0acd220f528bc54c84c723f50bf39fc8d818f6a5475105319f46700d2f00bc5c0f14de8f0caaee0ab8904a379a3e697ca68d00ef62ec3408b2b DIST qstylizer-0.2.0.tar.gz 20710 BLAKE2B 1d751efd74e36e665823b64cfd51760bea489ac3916b7ab206d9c9f1fe9adbc0df2dfd9666a79e20c805dabcaa6f3cf4d11074943e0a54b7a6aa93a815c796cf SHA512 094d9c9c14d2000c2c2f2b428cd82a57424507c6df83aa21af3ab7b90e9006761ed131262a2e70a1c4aa4dcea87ac6d07f9137bc224967139467b3f4796ab158 +DIST qstylizer-0.2.1.tar.gz 20687 BLAKE2B ad158ac0f88c4a0a7c6d9fe9adc611f69cb946c28be8c414dbb40532901b53faee281e7c0a798c9f680d8e5cd8a04179b16df796041133a8dd65d117964e9905 SHA512 c5e4a4194b4282a6d2782c0636ed74e9885409570466765c6e2aee0a176175bb688854244828c56ffbd00e76d297a33de211dedae8d984021c816522ea2b6085 diff --git a/dev-python/qstylizer/qstylizer-0.2.1.ebuild b/dev-python/qstylizer/qstylizer-0.2.1.ebuild new file mode 100644 index 00000000000..3790a3be9a2 --- /dev/null +++ b/dev-python/qstylizer/qstylizer-0.2.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Stylesheet Generator for PyQt5/PySide2" +HOMEPAGE="https://github.com/blambright/qstylizer" +SRC_URI="https://github.com/blambright/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/tinycss2-0.5[${PYTHON_USEDEP}] + <dev-python/tinycss2-2[${PYTHON_USEDEP}] + >=dev-python/inflection-0.3.0[${PYTHON_USEDEP}] + <dev-python/inflection-1[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/pbr[${PYTHON_USEDEP}] + dev-vcs/git + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest +distutils_enable_sphinx doc dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-autoprogram + +python_prepare_all() { + # Exception: Versioning for this project requires either an sdist tarball, or access to an + # upstream git repository. It's also possible that there is a mismatch between the package + # name in setup.cfg and the argument given to pbr.version.VersionInfo. Project name qstylizer + # was given, but was not able to be found. + # + # There are no tarballs on PyPI, so we do this as a workaround + git init -q || die + git config user.email "la...@gentoo.org" || die + git config user.name "Larry the Cow" || die + git add . || die + git commit -m "init" || die + git tag -a "${PV}" -m "${PV}" || die + + distutils-r1_python_prepare_all +}