[nltk] 05/07: release tarball ships w/o docs, papers and examples

Daniel Stender danstender-guest at moszumanska.debian.org
Fri Oct 10 17:04:43 UTC 2014


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

danstender-guest pushed a commit to branch master
in repository nltk.

commit 8846918c66678ed63b9d45a3987d2d92bc798ff0
Author: Daniel Stender <daniel at danielstender.com>
Date:   Fri Oct 10 17:10:00 2014 +0200

    release tarball ships w/o docs, papers and examples
---
 debian/changelog                |  2 +-
 debian/control                  | 19 -------------------
 debian/python-nltk-doc.doc-base | 11 -----------
 debian/python-nltk-doc.docs     |  2 --
 debian/python-nltk-doc.examples |  1 -
 debian/rules                    | 21 ---------------------
 6 files changed, 1 insertion(+), 55 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 4c31e57..b54187d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,4 +2,4 @@ nltk (3.0.0-1) unstable; urgency=medium
 
   * Initial release (Closes: #279422, LP: #1155282).
 
- -- Daniel Stender <debian at danielstender.com>  Mon, 28 Jul 2014 01:46:40 +0200
+ -- Daniel Stender <debian at danielstender.com>  Fri, 10 Oct 2014 17:06:40 +0200
diff --git a/debian/control b/debian/control
index 03d8fec..5d6bc65 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Build-Depends:
  python-all,
  python-matplotlib,
  python-setuptools,
- python-sphinx,
  python-tk,
  python-yaml,
  python3-all,
@@ -62,21 +61,3 @@ Description: Python3 libraries for natural language processing
  tokenization, stemming, tagging, parsing, and semantic reasoning.
  .
  This package contains the modules for Python3.
-
-Package: python-nltk-doc
-Section: doc
-Architecture: all
-Depends:
- ${misc:Depends},
- ${sphinxdoc:Depends}
-Recommends:
- python-nltk,
- python3-nltk
-Description: documentation for the Natural Language Toolkit
- The Natural Language Toolkit (NLTK) is a leading platform for building
- Python programs to work with human language data. It provides easy-to-use
- interfaces to over 50 corpora and lexical resources such as WordNet,
- along with a suite of text processing libraries for classification,
- tokenization, stemming, tagging, parsing, and semantic reasoning.
- .
- This package contains the documentation.
diff --git a/debian/python-nltk-doc.doc-base b/debian/python-nltk-doc.doc-base
deleted file mode 100644
index e6cf327..0000000
--- a/debian/python-nltk-doc.doc-base
+++ /dev/null
@@ -1,11 +0,0 @@
-Document: python-nltk-doc
-Title: Natural Language Toolkit (NLTK) 3.0 documentation
-Author: NLTK Project
-Abstract: This manual describes the Natural Language Toolkit for Python.
- The Natural Language Toolkit (NLTK) is a suite of Python modules for
- research and development in natural language processing.
-Section: Programming/Python
-
-Format: HTML
-Index: /usr/share/doc/python-nltk-doc/html/index.html
-Files: /usr/share/doc/python-nltk-doc/html/*.html
\ No newline at end of file
diff --git a/debian/python-nltk-doc.docs b/debian/python-nltk-doc.docs
deleted file mode 100644
index 5bc9428..0000000
--- a/debian/python-nltk-doc.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-web/_build/html
-papers
\ No newline at end of file
diff --git a/debian/python-nltk-doc.examples b/debian/python-nltk-doc.examples
deleted file mode 100644
index 4cd66f8..0000000
--- a/debian/python-nltk-doc.examples
+++ /dev/null
@@ -1 +0,0 @@
-examples/*
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 24ef6ce..803fad2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,24 +5,3 @@ export PYBUILD_NAME=nltk
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
-
-override_dh_auto_clean:
-	dh_auto_clean
-	rm -rf web/_build web/api/nltk.*.rst web/api/modules.rst
-
-override_dh_auto_build:
-	dh_auto_build
-	sphinx-apidoc -o web/api nltk
-	rm -rf web/api/nltk.examples.rst web/api/nltk.test*.rst
-	sphinx-build -d web/_build/doctrees web/ web/_build/html
-
-override_dh_installdocs:
-	dh_installdocs -A README.txt
-	dh_sphinxdoc
-	find debian/python-nltk-doc/usr/share/doc/python-nltk-doc/papers -name .cvsignore -delete
-
-override_dh_installexamples:
-	dh_installexamples
-	rm -rf debian/python-nltk-doc/usr/share/doc/python-nltk-doc/examples/grammars/Makefile
-	find debian/python-nltk-doc/usr/share/doc/python-nltk-doc/examples/grammars/ \
-	   -type f -print0 2>/dev/null | xargs -0r chmod 644

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



More information about the debian-science-commits mailing list