[geneagrapher] 226/226: Initial attempt at Debian package.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Jul 11 17:11:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository geneagrapher.

commit 86239ae1624cbdf1d69bd2393ee5ffc7fe11eea2
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Jul 11 10:47:17 2015 -0600

    Initial attempt at Debian package.
---
 debian/changelog                              |  5 +++
 debian/clean                                  |  3 ++
 debian/compat                                 |  1 +
 debian/control                                | 20 ++++++++++++
 debian/copyright                              | 31 ++++++++++++++++++
 debian/docs                                   |  3 ++
 debian/ggrapher.1                             | 46 +++++++++++++++++++++++++++
 debian/manpages                               |  1 +
 debian/patches/dont_download_distribute.patch | 12 +++++++
 debian/patches/series                         |  1 +
 debian/rules                                  | 17 ++++++++++
 debian/source/format                          |  1 +
 debian/watch                                  |  2 ++
 13 files changed, 143 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..c004464
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+geneagrapher (1.0c2+git20120704-1) unstable; urgency=medium
+
+  * Initial release (Closes: #779983).
+
+ -- Doug Torrance <dtorrance at monmouthcollege.edu>  Sat, 07 Mar 2015 08:37:35 -0600
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..6aefd4a
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,3 @@
+distribute-*.egg
+distribute-*.tar.gz
+src/geneagrapher.egg-info/*
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..2f5286f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: geneagrapher
+Section: math
+Priority: optional
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Doug Torrance <dtorrance at monmouthcollege.edu>
+Build-Depends: debhelper (>= 9), python, python-setuptools
+Standards-Version: 3.9.6
+Homepage: http://www.davidalber.net/geneagrapher/
+Vcs-Browser: http://anonscm.debian.org/cgit/debian-science/packages/geneagrapher.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/geneagrapher.git
+
+Package: geneagrapher
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Recommends: graphviz
+Description: Create tree from Mathematics Genealogy Project
+ The Mathematics Genealogy Grapher (Geneagrapher) is a software tool to gather
+ the information for building math genealogy trees with data from the
+ Mathematics Genealogy Project. The information extracted is stored in dot file
+ format, which can then be passed to Graphviz to generate a graph.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..504969d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: geneagrapher
+Source: https://github.com/davidalber/Geneagrapher
+
+Files: *
+Copyright: 2008-2011 David Alber <alber.david at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Doug Torrance <dtorrance at monmouthcollege.edu>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..7170162
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+HACKING.txt
+NEWS.txt
+README.rst
diff --git a/debian/ggrapher.1 b/debian/ggrapher.1
new file mode 100644
index 0000000..bbefea8
--- /dev/null
+++ b/debian/ggrapher.1
@@ -0,0 +1,46 @@
+.TH GGRAPHER "1" "March 2015"
+.SH NAME
+ggrapher \- Mathematical Genealogy Grapher
+.SH SYNOPSIS
+.HP
+ggrapher [\-h] [\-\-version] [\-f FILE] [\-a] [\-d] [\-\-disable\-cache]
+[\-\-cache\-file FILE] [\-v]
+ID [ID ...]
+.SH DESCRIPTION
+Create a Graphviz "dot" file for a mathematics genealogy, where ID is a record
+identifier from the Mathematics Genealogy Project. Multiple IDs may be passed.
+.SH OPTIONS
+.SS "positional arguments:"
+.TP
+ID
+mathematician record ID
+.SS "optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show help message and exit
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-f\fR FILE, \fB\-\-file\fR FILE
+write output to FILE [default: stdout]
+.TP
+\fB\-a\fR, \fB\-\-with\-ancestors\fR
+retrieve ancestors of IDs and include in graph
+.TP
+\fB\-d\fR, \fB\-\-with\-descendants\fR
+retrieve descendants of IDs and include in graph
+.TP
+\fB\-\-disable\-cache\fR
+do not store records in local cache
+.TP
+\fB\-\-cache\-file\fR FILE
+write cache to FILE [default: geneacache]
+.TP
+\fB\-v\fR, \fB\-\-verbose\fR
+list nodes being retrieved
+.SH AUTHOR
+ggrapher was written by David Alber <alber.david at gmail.com>.
+.P
+This manual page was written by Doug Torrance <dtorrance at monmouthcollege.edu>
+for the Debian project (but may be used by others).
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..9ef3ba2
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/ggrapher.1
diff --git a/debian/patches/dont_download_distribute.patch b/debian/patches/dont_download_distribute.patch
new file mode 100644
index 0000000..779ec78
--- /dev/null
+++ b/debian/patches/dont_download_distribute.patch
@@ -0,0 +1,12 @@
+Description: Don't download distribute from PyPI during build.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: 2015-03-06
+
+--- a/setup.py
++++ b/setup.py
+@@ -1,5 +1,3 @@
+-from distribute_setup import use_setuptools
+-use_setuptools()
+ from setuptools import setup, find_packages
+ import sys, os
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c568871
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+dont_download_distribute.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9c0b3eb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+%:
+	dh $@ --with python2
+
+get-orig-source:
+	@wget https://github.com/davidalber/Geneagrapher/archive/master.tar.gz
+	@git checkout upstream
+	@git pull https://github.com/davidalber/Geneagrapher
+	@git describe --abbrev=0 | sed 's/v//' > version
+	@git describe | sed 's/v//' > describe
+	@if test `cat version` != `cat describe` ; then \
+		echo "`cat version`+git`date -d @\`git log -1 --pretty=format:%ct\` +%Y%m%d`" > version; \
+	fi
+	@git checkout master
+	@mv -v master.tar.gz \
+		../geneagrapher_`cat version`.orig.tar.gz
+	@rm version describe
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..3e0ccfc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/davidalber/Geneagrapher/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/geneagrapher.git



More information about the debian-science-commits mailing list