Codebase list python-werkzeug / 7d6d483
* finish switching to dh sequencer * ship some examples in the package * remove html docs and pyc files in clean target * remove README.source - no longer needed Piotr Ożarowski 14 years ago
6 changed file(s) with 30 addition(s) and 39 deletion(s). Raw diff Collapse all Expand all
+0
-12
debian/README.source less more
0 Source README
1 =============
2
3 The upstream source can be downloaded with the following command:
4
5 ./debian/rules get-orig-source
6
7 You will need the following packages installed:
8
9 devscripts
10
11 -- Noah Slater <nslater@tumbolia.org>, Sat, 27 Dec 2008 08:03:50 +0000
00 python-werkzeug (0.5.1-1) unstable; urgency=low
11
22 [ Noah Slater ]
3 * New upstream release (0.5).
3 * New upstream release (0.5). Closes: #536465
44 * Updated debian/control, removed Depends on python-wsgiref.
55 * Updated debian/control, updated Build-Depends on debhelper to 7.2.11.
66 * Updated debian/rules, use /usr/share/pyshared directory. Closes: #517302
1010 * New build dependencies:
1111 - python-simplejson (to build docs)
1212 - python-nose and python-lxml (to run tests)
13 * Use dh sequencer instead of CDBS. Closes: #526577
1314 * Standards-Version bumped to 3.8.2 (no changes needed)
1415 * Add myself to Uploaders
1516
0 docs/_build/html
0 examples/*
55 # permitted in any medium without royalty provided the copyright notice and this
66 # notice are preserved.
77
8 #export DH_VERBOSE=1
89 export PYTHONPATH=$(abspath $(CURDIR))
10 PKGDIR=$(CURDIR)/debian/python-werkzeug/
11
12 -include /usr/share/python/python.mk
13 ifeq (,$(py_libdir))
14 py_libdir = /usr/lib/python$(subst python,,$(1))/site-packages
15 endif
916
1017 %:
1118 dh $@
1219
13 #DEB_PYTHON_SYSTEM := pysupport
20 override_dh_auto_install:
21 python setup.py install \
22 --single-version-externally-managed \
23 --install-layout=deb \
24 --root $(PKGDIR)
25 touch $(PKGDIR)$(call py_libdir,$(shell pyversions -vd))/werkzeug/debug/shared/.noinit
26 touch $(PKGDIR)$(call py_libdir,$(shell pyversions -vd))/werkzeug/debug/templates/.noinit
27 dh_link usr/share/javascript/jquery/jquery.js \
28 $(call py_libdir,$(shell pyversions -vd))/werkzeug/debug/shared/jquery.js
29 dh_link usr/share/javascript/jquery/jquery.js \
30 /usr/share/doc/python-werkzeug/html/_static/jquery.js
31 dh_link /usr/share/doc/python-werkzeug/html/_sources \
32 /usr/share/doc/python-werkzeug/rst
1433
15 #include /usr/share/cdbs/1/rules/buildcore.mk
16 #include /usr/share/cdbs/1/rules/debhelper.mk
17 #include /usr/share/cdbs/1/class/python-distutils.mk
18
19 #DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed
20
21 # @@ workaround for #486848
22 #binary-arch binary-indep: build
23
24 #common-install-indep::
25 # mkdir -p debian/python-werkzeug/usr/share/doc/python-werkzeug
26 # rm debian/python-werkzeug/usr/docs/README
27 # mv debian/python-werkzeug/usr/docs debian/python-werkzeug/usr/share/doc/python-werkzeug/html
28 # chmod 644 debian/python-werkzeug/usr/share/pyshared/werkzeug/debug/shared/*
29
30 #binary-install/python-werkzeug::
31 # dh_link usr/share/javascript/jquery/jquery.js \
32 # usr/share/pyshared/python-werkzeug/werkzeug/debug/shared/jquery.js
33
34 # @@ only works from source directory, see #494141
35 #.PHONY: get-orig-source
36 # get-orig-source:
37 # uscan --force-download --rename --download-version=$(DEB_UPSTREAM_VERSION) --destdir .
34 clean:
35 dh $@
36 make -C docs clean
37 find $(CURDIR) -name '*\.py[co]' -delete
38 rm -rf build
00 version=3
1 #http://cheeseshop.python.org/packages/source/W/Werkzeug/Werkzeug-(.*)\.tar\.gz
2 http://cheeseshop.python.org/packages/source/W/Werkzeug/Werkzeug-(.*)\.zip
1 http://cheeseshop.python.org/packages/source/W/Werkzeug/Werkzeug-(.*)\.tar\.gz