summaryrefslogtreecommitdiff
path: root/sys-apps/dtc/dtc-1.7.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/dtc/dtc-1.7.0.ebuild')
-rw-r--r--sys-apps/dtc/dtc-1.7.0.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/dtc/dtc-1.7.0.ebuild b/sys-apps/dtc/dtc-1.7.0.ebuild
index 6427393029fc..a56040b060aa 100644
--- a/sys-apps/dtc/dtc-1.7.0.ebuild
+++ b/sys-apps/dtc/dtc-1.7.0.ebuild
@@ -47,7 +47,10 @@ PATCHES=(
)
pkg_setup() {
- use python && python-single-r1_pkg_setup
+ if use python ; then
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+ python-single-r1_pkg_setup
+ fi
}
src_prepare() {