[med-svn] r7545 - trunk/packages/rostlab/disulfinder/trunk/debian

Steffen Möller moeller at alioth.debian.org
Thu Aug 25 19:24:35 UTC 2011


Author: moeller
Date: 2011-08-25 19:24:35 +0000 (Thu, 25 Aug 2011)
New Revision: 7545

Added:
   trunk/packages/rostlab/disulfinder/trunk/debian/disulfinder-data.dirs
   trunk/packages/rostlab/disulfinder/trunk/debian/examples
Modified:
   trunk/packages/rostlab/disulfinder/trunk/debian/changelog
   trunk/packages/rostlab/disulfinder/trunk/debian/control
   trunk/packages/rostlab/disulfinder/trunk/debian/rules
Log:
Seems to work.


Modified: trunk/packages/rostlab/disulfinder/trunk/debian/changelog
===================================================================
--- trunk/packages/rostlab/disulfinder/trunk/debian/changelog	2011-08-25 04:21:19 UTC (rev 7544)
+++ trunk/packages/rostlab/disulfinder/trunk/debian/changelog	2011-08-25 19:24:35 UTC (rev 7545)
@@ -1,9 +1,12 @@
-disulfinder (1.2.10-1) UNRELEASED; urgency=low
+disulfinder (1.2.10-1) unstable; urgency=low
 
   * New upstream release
   * The new upstream contains a rewritten version of require.h: the new
     require.h is no longer based on any code with restricted license,
     it is released under the GPL (see source)
+  [Steffen
+  * moved to dh7
+  * added data package
 
  -- Laszlo Kajan <lkajan at rostlab.org>  Thu, 18 Aug 2011 11:28:02 +0200
 
@@ -16,6 +19,6 @@
 
 disulfinder (1.2.9-1) unstable; urgency=low
 
-  * Initial release (Closes: #634177).
+  * Initial release (Closes: #634177)
 
  -- Laszlo Kajan <lkajan at rostlab.org>  Sat, 09 Jul 2011 11:54:46 +0200

Modified: trunk/packages/rostlab/disulfinder/trunk/debian/control
===================================================================
--- trunk/packages/rostlab/disulfinder/trunk/debian/control	2011-08-25 04:21:19 UTC (rev 7544)
+++ trunk/packages/rostlab/disulfinder/trunk/debian/control	2011-08-25 19:24:35 UTC (rev 7545)
@@ -12,7 +12,7 @@
 
 Package: disulfinder
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}, disulfinder-data
 Description: cysteines disulfide bonding state and connectivity predictor
  'disulfinder' is for predicting the disulfide bonding state of cysteines
  and their disulfide connectivity starting from sequence alone. Disulfide
@@ -28,3 +28,14 @@
  BRNN-SVM binary classifier; (2) cysteines that are known to participate
  in the formation of bridges are paired by a Recursive Neural Network
  to obtain a connectivity pattern.
+
+Package: disulfinder-data
+Architecture: all
+Depends: ${misc:Depends}
+Description: data files for predictor of disulfide bonds in proteins
+ 'disulfinder' is for predicting the disulfide bonding state of cysteines
+ and their disulfide connectivity starting from sequence alone.
+ .
+ This package contains all data files to reduce the redundancy between
+ architectures in Debian.
+ 

Added: trunk/packages/rostlab/disulfinder/trunk/debian/disulfinder-data.dirs
===================================================================
--- trunk/packages/rostlab/disulfinder/trunk/debian/disulfinder-data.dirs	                        (rev 0)
+++ trunk/packages/rostlab/disulfinder/trunk/debian/disulfinder-data.dirs	2011-08-25 19:24:35 UTC (rev 7545)
@@ -0,0 +1 @@
+usr/share/disulfinder

Added: trunk/packages/rostlab/disulfinder/trunk/debian/examples
===================================================================
--- trunk/packages/rostlab/disulfinder/trunk/debian/examples	                        (rev 0)
+++ trunk/packages/rostlab/disulfinder/trunk/debian/examples	2011-08-25 19:24:35 UTC (rev 7545)
@@ -0,0 +1 @@
+example

Modified: trunk/packages/rostlab/disulfinder/trunk/debian/rules
===================================================================
--- trunk/packages/rostlab/disulfinder/trunk/debian/rules	2011-08-25 04:21:19 UTC (rev 7544)
+++ trunk/packages/rostlab/disulfinder/trunk/debian/rules	2011-08-25 19:24:35 UTC (rev 7545)
@@ -1,14 +1,11 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
+%:
+	dh $@
 
 build-indep:
 	echo "Nothing to do for build-indep"
@@ -16,70 +13,14 @@
 build build-arch: build-stamp
 build-stamp:
 	dh_testdir
-
-	# Add here commands to compile the package.
 	$(MAKE) prefix=/usr
 	#docbook-to-man debian/disulfinder.sgml > disulfinder.1
-
 	touch $@
 
-clean: 
+override_dh_install: build
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp 
-
-	# Add here commands to clean up after the build process.
-	$(MAKE) distclean
-
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
 	dh_prep
 	dh_installdirs
-
-	# Add here commands to install the package into debian/disulfinder.
 	$(MAKE) DESTDIR=$(CURDIR)/debian/disulfinder prefix=/usr install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-#	dh_install
-#	dh_python
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-
-#get-orig-source:
-#	V=`dpkg-parsechangelog  | grep Version | cut -f2 -d\ | cut -f1 -d- | tr -d "\n"` ; \
-#	rm -f ../disulfinder_$$VERSION.orig.tar.gz ../disulfinder-$$V.tar.gz ; \
-#	uscan --force-download --verbose --download-current-version ; \
-#	cd .. && tar xzvf disulfinder_$$V.orig.tar.gz ; \
-#	if [ ! -r disulfinder-$$V/disulfind.tgz ]; then \
-#		echo "orig.tar.gz can stay as it is." ; \
-#	else \
-#		disulfinder_$$V.orig.tar.gz ; \
-#		rm disulfinder-$$V/disulfind.tgz  ; \
-#		GZIP="--best --no-name" tar czvf disulfinder_$$V.orig.tar.gz disulfinder-$$V ; \
-#	fi  ; \
-#	#rm -r disulfinder-$$V
+	mv debian/disulfinder/usr/share/disulfinder/Models debian/disulfinder-data/usr/share/disulfinder/




More information about the debian-med-commit mailing list