mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 13:20:59 +00:00
updated to new Python policy
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3385 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
9d7d3c6891
commit
2812c1a77e
2 changed files with 21 additions and 15 deletions
10
debian/control
vendored
10
debian/control
vendored
|
|
@ -2,13 +2,17 @@ Source: linkchecker
|
|||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: Bastian Kleineidam <calvin@debian.org>
|
||||
Build-Depends: python2.4-dev, python, debhelper (>= 5), gettext, cdbs
|
||||
Build-Depends: python-all-dev (>= 2.3.5-10), debhelper (>= 5.0.37.1), gettext, cdbs (>= 0.4.41), python-central (>= 0.4.17)
|
||||
XS-Python-Standards-Version: 0.4
|
||||
XS-Python-Version: >= 2.4
|
||||
Standards-Version: 3.7.2.0
|
||||
|
||||
Package: linkchecker
|
||||
Architecture: any
|
||||
Depends: python2.4
|
||||
Suggests: apache | httpd, python-psyco (>= 1.5-3), python-optcomplete (>= 1.2-5), python2.4-profiler, python-geoip (>= 1.2-2)
|
||||
Depends: ${python:Depends}
|
||||
XB-Python-Version: ${python:Versions}
|
||||
Provides: ${python:Provides}
|
||||
Suggests: apache | httpd, python-psyco (>= 1.5-3), python-optcomplete (>= 1.2-5), python2.4-profiler, python-geoip (>= 1.2.1-2)
|
||||
Description: check websites and HTML documents for broken links
|
||||
Provides a command line program and web interface to check links
|
||||
of websites and HTML documents.
|
||||
|
|
|
|||
26
debian/rules
vendored
26
debian/rules
vendored
|
|
@ -1,26 +1,28 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
common-install-impl::
|
||||
DEB_PYTHON_SYSTEM=pycentral
|
||||
DEB_PYTHON_COMPILE_VERSION=2.4
|
||||
|
||||
common-install-arch::
|
||||
$(MAKE) locale
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||
|
||||
DEB_CLEAN_EXCLUDE = gui/glinkchecker.py.orig
|
||||
DEB_PYTHON_COMPILE_VERSION = 2.4
|
||||
PACKAGE = linkchecker
|
||||
ROOT = $(CURDIR)/debian/$(PACKAGE)
|
||||
PYTHON = python$(DEB_PYTHON_COMPILE_VERSION)
|
||||
DOCDIR = $(ROOT)/usr/share/doc/$(PACKAGE)
|
||||
CGIDIR = $(ROOT)/usr/lib/cgi-bin/lconline
|
||||
HTMLDIR = $(ROOT)/var/www/lconline
|
||||
SHARE = $(ROOT)/usr/share/$(PACKAGE)
|
||||
ETC = $(ROOT)/etc
|
||||
DEB_CLEAN_EXCLUDE=gui/glinkchecker.py.orig
|
||||
PACKAGE=linkchecker
|
||||
ROOT=$(CURDIR)/debian/$(PACKAGE)
|
||||
PYTHON=python$(DEB_PYTHON_COMPILE_VERSION)
|
||||
DOCDIR=$(ROOT)/usr/share/doc/$(PACKAGE)
|
||||
CGIDIR=$(ROOT)/usr/lib/cgi-bin/lconline
|
||||
HTMLDIR=$(ROOT)/var/www/lconline
|
||||
SHARE=$(ROOT)/usr/share/$(PACKAGE)
|
||||
ETC=$(ROOT)/etc
|
||||
|
||||
common-configure-arch::
|
||||
$(PYTHON) setup.py sdist --manifest-only
|
||||
|
||||
common-install-impl::
|
||||
common-install-arch::
|
||||
# remove example files, we install them with dh_installexamples
|
||||
rm -r $(ROOT)/usr/share/linkchecker/examples
|
||||
# install system wide configuration files in etc
|
||||
|
|
|
|||
Loading…
Reference in a new issue