Changeset 3897 for lliurex-dpkg-provider


Ignore:
Timestamp:
Mar 10, 2017, 5:27:42 PM (2 years ago)
Author:
hectorgh
Message:

wip

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

Legend:

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

    r3896 r3897  
    55from jinja2 import Template
    66import os
     7import random
    78
     9
     10print random.random(),"!!!!!!!!!!!!!!!"
    811curdir=os.path.abspath(".")
    9 
     12os.system("ls -la %s"%curdir)
    1013tpl_env = Environment(loader=FileSystemLoader(curdir+'/debian/'))
    1114
     
    4548
    4649
    47 f=open(curdir+"/debian/control","w")
    48 f.write(content)
     50f=open(curdir+"/debian/substvars","w")
     51f.write("llx:conflicts=%s \n"%vars["CONFLICTS"])
     52f.write("llx:provides=%s \n"%vars["CONFLICTS"])
     53f.write("llx:depends=%s \n"%vars["DEPENDS"])
    4954f.close()
    5055
  • lliurex-dpkg-provider/trunk/fuentes/debian/control

    r3892 r3897  
    99Package: lliurex-dpkg-provider
    1010Architecture: all
    11 Conflicts: {{ CONFLICTS }}
    12 Provides: {{ PROVIDES }}
    13 Depends: {{ DEPENDS }}
     11Conflicts: ${llx:conflicts}
     12Provides: ${llx:provides}
     13Depends: ${llx:depends}
    1414Description:  Lliurex Package Provider
    1515 This package foces other packages out without breaking any meta package.
  • lliurex-dpkg-provider/trunk/fuentes/debian/rules

    r3894 r3897  
    1515
    1616override_dh_auto_build:
    17         ls -la $(CURDIR)/build.py
    1817        python $(CURDIR)/build.py
    1918        dh_auto_build
Note: See TracChangeset for help on using the changeset viewer.