This is an automated email from the git hooks/post-receive script. afif pushed a commit to branch master in repository ensembl-test.
commit 38d921aa049e86a9de85248e6f72f6b01d97de3d Author: Afif Elghraoui <[email protected]> Date: Tue May 17 01:28:24 2016 -0700 Initial packaging --- debian/changelog | 5 ++++ debian/compat | 1 + debian/control | 45 +++++++++++++++++++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++ debian/ensembl-test.install | 1 + debian/get-orig-source | 25 ++++++++++++++++++ debian/libbio-ensembl-test-perl.install | 1 + debian/rules | 16 ++++++++++++ debian/source/format | 1 + debian/watch | 3 +++ 10 files changed, 126 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2b6a79b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ensembl-test (84+20160225+0928-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Afif Elghraoui <[email protected]> Tue, 17 May 2016 01:27:04 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3e5e8c9 --- /dev/null +++ b/debian/control @@ -0,0 +1,45 @@ +Source: ensembl-test +Section: science +Priority: optional +Maintainer: Debian Med Packaging Team <[email protected]> +Uploaders: Afif Elghraoui <[email protected]> +Build-Depends: + debhelper (>= 9), +Standards-Version: 3.9.8 +Homepage: https://github.com/Ensembl/ensembl-test +Vcs-Git: https://anonscm.debian.org/git/debian-med/ensembl-test.git +Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/ensembl-test.git + +Package: ensembl-test +Architecture: all +Depends: + ${misc:Depends}, + ${perl:Depends}, + libbio-ensembl-test-perl (= ${source:Version}) +Description: libraries and harnesses used for running the Ensembl test suite + <insert long description, indented with spaces> + +Package: libbio-ensembl-test-perl +Section: perl +Architecture: all +Depends: + ${misc:Depends}, + ${perl:Depends}, + libdbi-perl, + libdbd-mysql-perl, +# Instead of Test::More + libtest-most-perl, + libtest-warnings-perl, + libtest-mockobject-perl, +# Not in Debian +# libdevel-peek-perl, + libdevel-cycle-perl, + liberror-perl, + libpadwalker-perl, +# For Test::Builder::Module + libtest-simple-perl, + libio-string-perl, +# Not in Debian +# libtest-ftp-server-perl, +Description: Perl libraries for running the Ensembl test suite + <insert long description, indented with spaces> diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0251435 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ensembl-test +Source: https://github.com/Ensembl/ensembl-test + +Files: * +Copyright: 1999-2016 Wellcome Trust Sanger Institute + 1999-2016 EMBL-European Bioinformatics Institute +License: Apache-2.0 + +Files: debian/* +Copyright: 2015-2016 Afif Elghraoui <[email protected]> +License: Apache-2.0 + +License: Apache-2.0 + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + . + http://www.apache.org/licenses/LICENSE-2.0 + . + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + . + On Debian systems, the complete text of the Apache version 2.0 license + can be found in "/usr/share/common-licenses/Apache-2.0". diff --git a/debian/ensembl-test.install b/debian/ensembl-test.install new file mode 100644 index 0000000..7c39a24 --- /dev/null +++ b/debian/ensembl-test.install @@ -0,0 +1 @@ +scripts usr/share/ensembl/test diff --git a/debian/get-orig-source b/debian/get-orig-source new file mode 100755 index 0000000..2839538 --- /dev/null +++ b/debian/get-orig-source @@ -0,0 +1,25 @@ +#!/bin/sh + +upstream_name=$(dpkg-parsechangelog -Ssource) +current_version=$(dpkg-parsechangelog -Sversion | sed 's/-[^-]*$//') +tmpdir=$(mktemp -d) +dest=$PWD/.. + +git clone --depth 1 $1 $tmpdir/$upstream_name + +cd $tmpdir/$upstream_name + +major_version=$(git rev-parse --abbrev-ref HEAD | grep -oP '\d*$') +minor_version=$(date --utc \ + --date "@$(git log -1 --format='%at')" \ + +%Y%m%d+%H%M) + +upstream_version=$major_version+$minor_version + +if $(dpkg --compare-versions $current_version lt $upstream_version) +then + git archive --prefix=$upstream_name/ HEAD \ + | gzip > $dest/$upstream_name-$upstream_version.tar.gz +fi + +rm -rf $tmpdir diff --git a/debian/libbio-ensembl-test-perl.install b/debian/libbio-ensembl-test-perl.install new file mode 100644 index 0000000..fa867bf --- /dev/null +++ b/debian/libbio-ensembl-test-perl.install @@ -0,0 +1 @@ +modules/Bio usr/share/perl5 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d2ee18c --- /dev/null +++ b/debian/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f + +#DH_VERBOSE = 1 + +include /usr/share/dpkg/default.mk + +%: + dh $@ + +override_dh_fixperms: + dh_fixperms + chmod -x debian/$(DEB_SOURCE)/usr/share/ensembl/test/scripts/README + chmod +x debian/$(DEB_SOURCE)/usr/share/ensembl/test/scripts/load_database.pl + +get-orig-source: + debian/get-orig-source 'https://github.com/Ensembl/ensembl-test' diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3145520 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +# Upstream uses release branches as opposed to tags. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/ensembl-test.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
