# HG changeset patch # User Pierre-Yves David # Date 1346232970 -7200 # Node ID b18b000363550f02f413aed008f8e306318c608c # Parent 6ee7add34f8bd80808721fd7913f514a315ef965 pkg/debian: Debian packaging This change add the necessary files to create a debian package for the evolve extension. I do not care about the rest. diff -r 6ee7add34f8b -r b18b00036355 Makefile --- a/Makefile Wed Aug 29 11:15:03 2012 +0200 +++ b/Makefile Wed Aug 29 11:36:10 2012 +0200 @@ -24,4 +24,13 @@ all-version-tests: tests-1.3.1 tests-1.4.3 tests-1.5.4 \ tests-1.6.4 tests-1.7.5 tests-1.8 tests-tip +deb-prepare: + python setup.py sdist --dist-dir .. + mv -f ../hg-evolve-1.0.0.tar.gz ../mercurial-evolve_1.0.0.orig.tar.gz + tar xf ../mercurial-evolve_1.0.0.orig.tar.gz + rm -rf ../mercurial-evolve_1.0.0.orig + mv hg-evolve-1.0.0 ../mercurial-evolve_1.0.0.orig + cp -r debian/ ../mercurial-evolve_1.0.0.orig/ + @cd ../mercurial-evolve_1.0.0.orig && echo 'debian build directory ready at' `pwd` + .PHONY: tests all-version-tests diff -r 6ee7add34f8b -r b18b00036355 debian/changelog --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/changelog Wed Aug 29 11:36:10 2012 +0200 @@ -0,0 +1,5 @@ +mercurial-evolve (1.0.0-1) UNRELEASED; urgency=low + + * Initial release. + + -- Julien Cristau Fri, 24 Aug 2012 16:46:30 +0200 diff -r 6ee7add34f8b -r b18b00036355 debian/compat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/compat Wed Aug 29 11:36:10 2012 +0200 @@ -0,0 +1,1 @@ +8 diff -r 6ee7add34f8b -r b18b00036355 debian/control --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/control Wed Aug 29 11:36:10 2012 +0200 @@ -0,0 +1,33 @@ +Source: mercurial-evolve +Section: vcs +Priority: optional +Maintainer: Julien Cristau +Build-Depends: + mercurial (>= 2.3~), + mercurial-common (>= 2.3~), + python, + debhelper (>= 8), + python-sphinx (>= 1.0.8), +Python-Version: >= 2.6 +Homepage: https://bitbucket.org/marmoute/mutable-history + +Package: mercurial-evolve +Architecture: all +Depends: + ${python:Depends}, + mercurial (>= 2.3~), +Description: evolve extension for Mercurial + This package provides the experimental "evolve" extension for the Mercurial + DVCS. + . + This extension provides several commands to mutate history and deal with issues + it may raise. + . + It also: + - enables the "Changeset Obsolescence" feature of mercurial, + - alters core command and extension that rewrite history to use this feature, + - improves some aspects of the early implementation in Mercurial 2.3. + . + **These extensions are experimental and are not meant for production.** + + diff -r 6ee7add34f8b -r b18b00036355 debian/copyright --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/copyright Wed Aug 29 11:36:10 2012 +0200 @@ -0,0 +1,15 @@ +This software was downloaded from +https://bitbucket.org/marmoute/mutable-history + +Copyright 2011 Peter Arrenbrecht + Logilab SA + Pierre-Yves David + Patrick Mezard + + +This software may be used and distributed according to the terms of the GNU +General Public License version 2 or any later version. + +On Debian systems, the complete text of the GNU General Public License version +2 can be found in `/usr/share/common-licenses/GPL-2'. + diff -r 6ee7add34f8b -r b18b00036355 debian/docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/docs Wed Aug 29 11:36:10 2012 +0200 @@ -0,0 +1,1 @@ +html diff -r 6ee7add34f8b -r b18b00036355 debian/rules --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/debian/rules Wed Aug 29 11:36:10 2012 +0200 @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +%: + dh $@ --with python2 --buildsystem=python_distutils + +build: + dh build --with python2 --buildsystem=python_distutils + $(MAKE) -C docs + +.PHONY: build + +override_dh_auto_test: + cd tests && python run-tests.py --with-hg=`which hg`