Changeset 3894 for lliurex-dpkg-provider


Ignore:
Timestamp:
Mar 10, 2017, 2:56:06 PM (2 years ago)
Author:
hectorgh
Message:

wip

Location:
lliurex-dpkg-provider/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-dpkg-provider/trunk/fuentes/build.py

    r3891 r3894  
    77tpl_env = Environment(loader=FileSystemLoader('debian/'))
    88
    9 control_template=tpl_env.get_template("control.skel")
     9control_template=tpl_env.get_template("control")
    1010
    1111vars={}
     
    3838vars["DEPENDS"]=vars["DEPENDS"].rstrip(",")
    3939
    40 content=control_template.render(vars)
     40content=control_template.render(vars).encode("UTF-8")
    4141
    4242
    4343
    4444f=open("debian/control","w")
    45 f.write(content.decode("utf-8"))
     45f.write(content)
    4646f.close()
    4747
  • lliurex-dpkg-provider/trunk/fuentes/debian/rules

    r3892 r3894  
    1313        dh $@
    1414
    15 override_dh_clean:
    16         echo "11111"
    17         cp $(CURDIR)/debian/control.skel $(CURDIR)/debian/control
    18         dh_clean
    1915
    2016override_dh_auto_build:
     17        ls -la $(CURDIR)/build.py
    2118        python $(CURDIR)/build.py
    2219        dh_auto_build
Note: See TracChangeset for help on using the changeset viewer.