diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/qstylizer/qstylizer-0.2.2.ebuild | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/dev-python/qstylizer/qstylizer-0.2.2.ebuild b/dev-python/qstylizer/qstylizer-0.2.2.ebuild index 7ed9d79cd031..e7bb30029705 100644 --- a/dev-python/qstylizer/qstylizer-0.2.2.ebuild +++ b/dev-python/qstylizer/qstylizer-0.2.2.ebuild @@ -31,7 +31,6 @@ RDEPEND=" BDEPEND=" dev-python/pbr[${PYTHON_USEDEP}] - dev-vcs/git test? ( dev-python/pytest-mock[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] @@ -44,23 +43,12 @@ distutils_enable_sphinx doc \ 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 "larry@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 - # fix test # https://github.com/blambright/qstylizer/pull/17 sed -e 's:[.]called_once_with:.assert_called_once_with:' \ -i test/unit/test_style.py || die distutils-r1_python_prepare_all + + export PBR_VERSION=${PV} } |
