#!/usr/bin/env python

import sys
import pdb

sys.path.append("../pyutils")

import packaging

bundle_conf = packaging.bundle(bundle_name='1.1.13')

for i in ['gtk-sharp', 'gtk-sharp-2.0', 'gtk-sharp-2.8']:
    env = packaging.buildenv('suse-101-i586')
    pack = packaging.package(
        env,
        i,
        bundle_obj=bundle_conf,
        source_basepath='/var/www/mono-website/go-mono/sources',
        package_basepath='/var/www/mono-website/go-mono/download')

    print "\n".join(pack.get_files())

    print pack.get_source_file()
Ejemplo n.º 2
0
#!/usr/bin/env python

import sys

sys.path += [ '../pyutils' ]

import packaging

env = packaging.buildenv('sles-9-i586')
#env = packaging.buildenv('win-4-i386')
env = packaging.buildenv('macos-10-ppc')

pack = packaging.package(env, 'mono-1.1.13')

print pack.info['POSTBUILD_STEP_NAME1']
print pack.info['POSTBUILD_STEP1']

env.ssh.print_command=1
environment = {}
environment['HEAD_or_RELEASE'] = "HEAD"

pack.info['POSTBUILD_STEP1'] = """

python -c 'print 'hey''

"""


env.ssh.execute(pack.info['POSTBUILD_STEP1'], env=environment)

Ejemplo n.º 3
0
#!/usr/bin/env python

import sys

sys.path += [".."]

import packaging
import shell_parse

#env = packaging.buildenv('sles-9-x86_64')
env = packaging.buildenv('win-4-i386')
print env.info

#pack = packaging.package(env, 'gecko-sharp-2.0')
pack = packaging.package(env, 'mono')
print pack.info

print "---------------------------------------------------------------------"

pack_def = shell_parse.parse_file('../../packaging/defs/libgdiplus')

print pack_def['macos_10_ppc_ZIP_BUILD']

print "---------------------------------------------------------------------"
#!/usr/bin/env python

import sys
import pdb

sys.path.append("../pyutils")

import packaging

bundle_conf = packaging.bundle(bundle_name='1.1.13')

for i in ['gtk-sharp', 'gtk-sharp-2.0', 'gtk-sharp-2.8']:
        env = packaging.buildenv('suse-101-i586')
        pack = packaging.package(env, i, bundle_obj=bundle_conf, source_basepath='/var/www/mono-website/go-mono/sources', package_basepath='/var/www/mono-website/go-mono/download')

        print "\n".join(pack.get_files())

        print pack.get_source_file()