Pierre-Yves David avatar Pierre-Yves David committed b18b000

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.

Comments (0)

Files changed (7)

 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
+mercurial-evolve (1.0.0-1) UNRELEASED; urgency=low
+
+  * Initial release.
+
+ -- Julien Cristau <jcristau@debian.org>  Fri, 24 Aug 2012 16:46:30 +0200
+Source: mercurial-evolve
+Section: vcs
+Priority: optional
+Maintainer: Julien Cristau <julien.cristau@logilab.fr>
+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.**
+
+
+This software was downloaded from
+https://bitbucket.org/marmoute/mutable-history
+
+Copyright 2011 Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
+               Logilab SA        <contact@logilab.fr>
+               Pierre-Yves David <pierre-yves.david@ens-lyon.org>
+	       Patrick Mezard <patrick@mezard.eu>
+
+
+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'.
+
+html
+#!/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`
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.