[Python-modules-commits] r30363 - in packages/stdeb/trunk/debian/patches (1 file)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sat Aug 30 16:10:25 UTC 2014


    Date: Saturday, August 30, 2014 @ 16:10:24
  Author: piotr
Revision: 30363

export PYBUILD_NAME in generated debian/rules file

Modified:
  packages/stdeb/trunk/debian/patches/use_pybuild_buildsystem.patch

Modified: packages/stdeb/trunk/debian/patches/use_pybuild_buildsystem.patch
===================================================================
--- packages/stdeb/trunk/debian/patches/use_pybuild_buildsystem.patch	2014-08-30 16:04:12 UTC (rev 30362)
+++ packages/stdeb/trunk/debian/patches/use_pybuild_buildsystem.patch	2014-08-30 16:10:24 UTC (rev 30363)
@@ -2,7 +2,7 @@
 ===================================================================
 --- stdeb-0.8.2.orig/stdeb/util.py
 +++ stdeb-0.8.2/stdeb/util.py
-@@ -999,38 +999,12 @@ class DebianInfo:
+@@ -999,42 +999,16 @@ class DebianInfo:
              workaround_virtualenv_distutils = False
              self.install_prefix = ''
  
@@ -46,6 +46,11 @@
          self.sequencer_options = ' '.join(sequencer_options)
  
          setup_env_vars = parse_vals(cfg,module_name,'Setup-Env-Vars')
+-        self.exports = ""
++        self.exports = "export PYBUILD_NAME=%s" % self.source
+         if len(setup_env_vars):
+             self.exports += '\n'
+             self.exports += '#exports specified using stdeb Setup-Env-Vars:\n'
 @@ -1198,6 +1172,7 @@ def build_dsc(debinfo,
      else:
          debinfo.uploaders = ''




More information about the Python-modules-commits mailing list