diff options
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/git-pw/files/git-pw-2.0.0-version.patch | 11 | ||||
-rw-r--r-- | dev-vcs/git-pw/git-pw-2.0.0.ebuild | 6 |
2 files changed, 4 insertions, 13 deletions
diff --git a/dev-vcs/git-pw/files/git-pw-2.0.0-version.patch b/dev-vcs/git-pw/files/git-pw-2.0.0-version.patch deleted file mode 100644 index 92706506c697..000000000000 --- a/dev-vcs/git-pw/files/git-pw-2.0.0-version.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --git a/PKG-INFO b/PKG-INFO -new file mode 100644 -index 0000000..9748ce5 ---- /dev/null -+++ b/PKG-INFO -@@ -0,0 +1,5 @@ -+Metadata-Version: 2.1 -+Name: git-pw -+Version: 2.0.0 -+Summary: A tool for integrating Git with Patchwork -+Home-page: https://github.com/getpatchwork/git-pw diff --git a/dev-vcs/git-pw/git-pw-2.0.0.ebuild b/dev-vcs/git-pw/git-pw-2.0.0.ebuild index 8efc99b1623b..a27a91f9a2c5 100644 --- a/dev-vcs/git-pw/git-pw-2.0.0.ebuild +++ b/dev-vcs/git-pw/git-pw-2.0.0.ebuild @@ -37,6 +37,8 @@ BDEPEND=" ) " -PATCHES=( "${FILESDIR}/${P}-version.patch" ) - +src_compile() { + export PBR_VERSION=${PV} + distutils-r1_src_compile +} distutils_enable_tests pytest |