From e48e8c13a1cb03d4a5d4d6e19ad9f1a2cb902fb3 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Wed, 16 May 2012 20:09:54 +0200 Subject: [PATCH] Adapt to new upstream build Replaced epydoc with sphinx, and other cleanups. --- debian/control | 6 ++++-- debian/docs | 2 +- debian/rules | 7 ++++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index bdece6b..83099c5 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,8 @@ Priority: optional Maintainer: Iustin Pop Build-Depends: debhelper (>= 7), python-all (>= 2.6.2), python-all-dev (>= 2.6.2), python-all-dbg, - python-support (>= 0.6), libattr1-dev, python-setuptools, python-epydoc + python-support (>= 0.6), libattr1-dev, python-setuptools, + python-sphinx (>= 1.0.7+dfsg) | python3-sphinx Standards-Version: 3.9.1 Homepage: http://pyxattr.sourceforge.net/ Vcs-Browser: http://git.k1024.org/debian-pyxattr.git @@ -12,7 +13,8 @@ Vcs-Git: git://git.k1024.org/debian-pyxattr.git Package: python-pyxattr Architecture: any -Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends} +Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}, + ${sphinxdoc:Depends} Provides: ${python:Provides} Suggests: python-pyxattr-dbg Description: module for manipulating filesystem extended attributes diff --git a/debian/docs b/debian/docs index c9f13b8..66d4f41 100644 --- a/debian/docs +++ b/debian/docs @@ -1,3 +1,3 @@ NEWS README -html +doc/html diff --git a/debian/rules b/debian/rules index eb56a54..e6cfd0d 100755 --- a/debian/rules +++ b/debian/rules @@ -22,16 +22,16 @@ build-python%: touch $@ build-indep: - ./setup.py build_ext -i && epydoc --config epydoc.conf + $(MAKE) doc touch $@ clean: dh_testdir dh_testroot rm -f build-arch-stamp build-indep #CONFIGURE-STAMP# - rm -rf build html - rm -f xattr.so + $(MAKE) clean rm -f $(PYVERS:%=build-python%) + rm -rf pxattr.egg-info dh_clean install: build $(PYVERS:%=install-python%) @@ -48,6 +48,7 @@ binary-arch: build install dh_testroot dh_installchangelogs dh_installdocs + dh_sphinxdoc dh_strip -ppython-pyxattr --dbg-package=python-pyxattr-dbg rm -rf debian/python-pyxattr-dbg/usr/share/doc/python-pyxattr-dbg ln -s python-pyxattr debian/python-pyxattr-dbg/usr/share/doc/python-pyxattr-dbg -- 2.39.5