ソースを参照

Import Debian version 1:5.11-3

Luk Claes 11 年 前
コミット
cf119adf4c
2 ファイル変更2 行追加36 行削除
  1. 2 18
      debian/control
  2. 0 18
      debian/rules

+ 2 - 18
debian/control

@@ -1,12 +1,11 @@
 Source: file
 Section: utils
 Priority: standard
-Maintainer: Daniel Baumann <daniel.baumann@progress-technologies.net>
-Uploaders: Judit Foglszinger <fgrfgr@freenet.de>
+Maintainer: Luk Claes <luk@debian.org>
 Build-Depends:
  debhelper (>= 9), autotools-dev, python, python-all-dev,
  python-all-dbg, zlib1g-dev
-Standards-Version: 3.9.3
+Standards-Version: 3.9.4
 Homepage: http://www.darwinsys.com/file/
 
 Package: file
@@ -54,23 +53,8 @@ Depends:
  ${misc:Depends}, ${shlibs:Depends}, ${python:Depends},
  libmagic1 (= ${binary:Version})
 Provides: ${python:Provides}
-Suggests: python-magic-dbg
 Description: File type determination library using "magic" numbers (Python bindings)
  This library can be used to classify files according to magic number tests. It
  implements the core functionality of the file command.
  .
  This package contains the Python bindings.
-
-Package: python-magic-dbg
-Section: debug
-Priority: extra
-Architecture: any
-Depends:
- ${misc:Depends}, ${shlibs:Depends}, python-magic (= ${binary:Version}),
- python-dbg
-Description: File type determination library using "magic" numbers (Python bindings/debug)
- This library can be used to classify files according to magic number tests. It
- implements the core functionality of the file command.
- .
- This package contains the Python bindings, built for the Python debug
- interpreter.

+ 0 - 18
debian/rules

@@ -57,14 +57,6 @@ override_dh_auto_install:
 			--root=$(CURDIR)/debian/python-magic $(py_setup_install_args)); \
 	done
 
-	for python in $(PYTHON_VERSIONS); do \
-		(cd python && $$python-dbg setup.py install --no-compile \
-			--root=$(CURDIR)/debian/python-magic-dbg $(py_setup_install_args)); \
-	done
-
-	find debian/python-*-dbg ! -type d ! -name '*.so' | xargs rm -f
-	find debian/python-*-dbg -depth -empty -exec rmdir {} \;
-
 	# Installing additional headers
 	mkdir -p debian/libmagic-dev/usr/include/file
 	cp src/file.h debian/libmagic-dev/usr/include/file
@@ -80,13 +72,3 @@ override_dh_install:
 
 override_dh_shlibdeps:
 	dh_shlibdeps -Llibmagic1 -ldebian/libmagic1/usr/lib
-
-override_dh_strip:
-ifeq (,$(findstring -i, $(DH_OPTIONS)))
-	dh_strip -Npython-magic -Npython-magic-dbg
-	DH_OPTIONS= dh_strip -ppython-magic --dbg-package=python-magic-dbg
-
-	rm -rf debian/python-magic-dbg/usr/share/doc/python-magic-dbg
-	mkdir -p debian/python-magic-dbg/usr/share/doc
-	ln -s python-magic debian/python-magic-dbg/usr/share/doc/python-magic-dbg
-endif