~ubuntu-branches/ubuntu/trusty/burp/trusty-proposed

« back to all changes in this revision

Viewing changes to autoconf/python.conf.py

  • Committer: Package Import Robot
  • Author(s): Bastiaan Franciscus van den Dikkenberg
  • Date: 2014-03-03 15:54:28 UTC
  • mfrom: (11.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140303155428-x6fsfsl0ckj3p6za
Tags: 1.3.48-2
* Add patch to fix pointer casting in src/msg.c:transfer_gzfile_in
  to fix FTBFS on 64-bit big-endian architectures (Closes: #740505):
  - debian/patches/endian.patch
* Replace debian/patches/disable_tests.patch with debian/patches/fixskiptest,
  so that only test 6 and 7 are skipped when there is no PRNG available.
* Add patch for the test function wait_for_backup_to_finish to check
  for the existance of /var/spool/burp/testclient/lockfile instead
  of the symlinks /var/spool/burp/testclient/{working,finishing}
  (Closes: #740547):
  - debian/patches/wait_for_backup_to_finish.patch
* Now using autoreconf for better portability:
  - Change dh $@ to dh $@ --with autoreconf in debian/rules file.
  - Add dependency on dh-autoreconf in debian/control.
* Change dh_verbose to 1 to solve compiler-flags-hidden warnings in
  debian/rules file.
* Remove obsolete overrides in rules file:
  - override_dh_auto_install
  - override_dh_install
  - override_dh_installdocs
* Using dh_auto_configure instead of just running ./configure with the
  following options in debian/rules:
  - prefix /usr
  - sysconfdir /etc/burp
  - sbindir $${prefix}/sbin
  - mandir $${prefix}/share/man
  - C/CPP/LD flags uses exported build flags
* Add debian/burp.install and debian/burp.dirs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import sys
2
 
import os
3
 
from distutils import sysconfig
4
 
 
5
 
print 'PYTHON_INCDIR="-I%s"' % \
6
 
      ( sysconfig.get_config_var('INCLUDEPY'), )
7
 
 
8
 
libdir=sysconfig.get_config_var('LIBPL')
9
 
filename = sysconfig.get_config_var('LDLIBRARY');
10
 
lib = os.path.splitext(filename)[0];
11
 
if lib[0:3] == 'lib':
12
 
    lib = lib[3:]
13
 
 
14
 
print 'PYTHON_LIBS="-L%s -l%s"' % ( libdir, lib )