source: trunk/dports/textproc/dblatex/files/patch-setup.py-remove-debian-installer.diff @ 95666

Last change on this file since 95666 was 95666, checked in by cal@…, 8 years ago

dblatex: Update to 0.3.4

File size: 1.1 KB
  • setup.py

    old new  
    2323from distutils import log
    2424from subprocess import Popen, PIPE
    2525sys.path.append("lib")
    26 from contrib.debian.installer import DebianInstaller
    2726
    2827#
    2928# Build the command line script
     
    365364            raise OSError("not found: %s" % ", ".join(mis_stys))
    366365
    367366    def run(self):
    368         if self.install_layout == "deb":
    369             db = DebianInstaller(self)
    370         else:
    371             db = None
    372 
    373         if not(db) and not(self.nodeps):
     367        if not(self.nodeps):
    374368            try:
    375369                self.check_xslt_dependencies()
    376370                self.check_util_dependencies()
     
    379373                print >>sys.stderr, "Error: %s" % e
    380374                sys.exit(1)
    381375
    382         if db: db.adapt_paths()
    383 
    384376        # If no build is required, at least build the script
    385377        if self.skip_build:
    386378            self.run_command('build_scripts')
    387379
    388380        install.run(self)
    389381
    390         if db: db.finalize()
    391 
    392382
    393383class InstallData(install_data):
    394384
Note: See TracBrowser for help on using the repository browser.