diff options
author | Joonas Niilola <juippis@gentoo.org> | 2024-03-29 09:46:34 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-03-29 09:50:57 +0200 |
commit | 18af060708c47d61e08c44aebf46bf892ee5d419 (patch) | |
tree | 8b54b2ae159a6789c8181d8aecb2c631b675eef8 /dev-debug/pwndbg | |
parent | dev-debug/pwndbg: sync live (diff) | |
download | gentoo-18af060708c47d61e08c44aebf46bf892ee5d419.tar.gz gentoo-18af060708c47d61e08c44aebf46bf892ee5d419.tar.bz2 gentoo-18af060708c47d61e08c44aebf46bf892ee5d419.zip |
dev-debug/pwndbg: remove redundant sed calls
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-debug/pwndbg')
-rw-r--r-- | dev-debug/pwndbg/pwndbg-20240214.ebuild | 9 | ||||
-rw-r--r-- | dev-debug/pwndbg/pwndbg-99999999.ebuild | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/dev-debug/pwndbg/pwndbg-20240214.ebuild b/dev-debug/pwndbg/pwndbg-20240214.ebuild index 660b4d397fec..20a51614142c 100644 --- a/dev-debug/pwndbg/pwndbg-20240214.ebuild +++ b/dev-debug/pwndbg/pwndbg-20240214.ebuild @@ -45,15 +45,6 @@ RDEPEND=" # Tests are architectur-specific (precompiled binaries) RESTRICT="test" -src_prepare() { - if [[ ${PV} != 99999999 ]]; then - sed -e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \ - -i pwndbg/lib/version.py || die - fi - - default -} - src_install() { distutils-r1_src_install diff --git a/dev-debug/pwndbg/pwndbg-99999999.ebuild b/dev-debug/pwndbg/pwndbg-99999999.ebuild index 660b4d397fec..20a51614142c 100644 --- a/dev-debug/pwndbg/pwndbg-99999999.ebuild +++ b/dev-debug/pwndbg/pwndbg-99999999.ebuild @@ -45,15 +45,6 @@ RDEPEND=" # Tests are architectur-specific (precompiled binaries) RESTRICT="test" -src_prepare() { - if [[ ${PV} != 99999999 ]]; then - sed -e "s/__version__ = '\(.*\)'/__version__ = '${PV}'/" \ - -i pwndbg/lib/version.py || die - fi - - default -} - src_install() { distutils-r1_src_install |