diff options
author | Oz Tiram <oz.tiram@gmail.com> | 2024-01-04 14:26:38 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-01-06 15:02:17 +0100 |
commit | d003c21598b18bb9c4dfa03d4982ec8b55700484 (patch) | |
tree | 0f9181578cd545827b4760b28941a72a16db3c54 /dev-python | |
parent | dev-python/virtualenvwrapper: add 6.0.0 (diff) | |
download | gentoo-d003c21598b18bb9c4dfa03d4982ec8b55700484.tar.gz gentoo-d003c21598b18bb9c4dfa03d4982ec8b55700484.tar.bz2 gentoo-d003c21598b18bb9c4dfa03d4982ec8b55700484.zip |
dev-python/pipenv: clean docs
Fix another issue with unvendoring
Bug: https://bugs.gentoo.org/919843
Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/pipenv/pipenv-2023.11.15.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/pipenv/pipenv-2023.11.15.ebuild b/dev-python/pipenv/pipenv-2023.11.15.ebuild index 547707bdbfab..5c845f96c9f0 100644 --- a/dev-python/pipenv/pipenv-2023.11.15.ebuild +++ b/dev-python/pipenv/pipenv-2023.11.15.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -79,7 +79,8 @@ src_prepare() { -e "s/from pipenv.vendor import ${pkgName}/import ${pkgName}/g" \ -e "s/from pipenv.vendor.${pkgName}\(.*\) import \(\w*\)/from ${pkgName}\1 import \2/g"\ -e "s/import pipenv.vendor.${pkgName} as ${pkgName}/import ${pkgName}/g" \ - -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" || die "Failed to sed for ${pkgName}" + -e "s/from .vendor import ${pkgName}/import ${pkgName}/g" \ + -e "s/from .vendor.${pkgName}/from ${pkgName}/g" || die "Failed to sed for ${pkgName}" done distutils-r1_src_prepare @@ -116,6 +117,7 @@ src_prepare() { rm -Rfv pipenv/vendor || die "Could not vendor" rm -Rfv examples || die "Could not remove examples" + rm -Rfv docs || die "Could not remove docs" } python_test() { |