~ubuntu-branches/debian/stretch/pyflakes/stretch

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi, Sandro Tosi, Marco Rodrigues
  • Date: 2009-01-10 18:10:42 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090110181042-al8itiy11006t8my
Tags: 0.2.1+svn17054-1
[ Sandro Tosi ]
* New SVN snapshot; thanks to Julian Andres Klode for the patch;
  Closes: #509984
  - fixes new python features, like "with statement"
* debian/patches/install_scripts_package.diff
  - removed, since merged upstream in this snapshot
* debian/patches/always_close_fd.diff
  - refreshed
* debian/control
  - switch Vcs-Browser field to viewsvn
* debian/{compat,control,rules}
  - package converted to debhelper v7; thanks to Julian Andres Klode for the
    patch
* debian/watch
  - fixed to cope well with svn snapshots
* debian/patches/*.diff
  - added descriptions

[ Marco Rodrigues ]
* debian/control:
  + Add ${misc:Depends} to Depends to remove lintian warning.
  + Add watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# Uncomment this to turn on verbose mode.
3
 
#export DH_VERBOSE=1
4
 
 
5
 
DEB_PYTHON_SYSTEM=pycentral
6
 
 
7
 
include /usr/share/cdbs/1/rules/debhelper.mk
8
 
include /usr/share/cdbs/1/class/python-distutils.mk
9
 
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
10
 
 
11
 
DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr
12
 
 
13
 
clean::
14
 
        find . -name \*pyc -exec rm '{}' \;
 
2
include /usr/share/quilt/quilt.make
 
3
 
 
4
# Build instructions
 
5
%:
 
6
        dh $@ --with python_central
 
7
 
 
8
# Dependency information
 
9
build: patch
 
10
clean: unpatch
 
11
binary-arch: build
 
12
binary-indep: build
 
13
binary: binary-arch binary-indep
15
14
 
16
15
PACKAGE = pyflakes
17
16
SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
26
25
        GZIP=--best tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig
27
26
        rm -rf get-orig-source
28
27
        #  $(TARBALL) created; move it to the right destination to build the package
29