add debian files from python-cmislib_0.5.1+dfsg-2.debian.tar.xz

This commit is contained in:
Thomas NOËL 2017-06-22 09:42:41 +02:00
parent 5b75648e1b
commit 877ff056a3
14 changed files with 138 additions and 0 deletions

14
debian/changelog vendored Normal file
View File

@ -0,0 +1,14 @@
python-cmislib (0.5.1+dfsg-2) unstable; urgency=medium
* Add python-iso8601 to Depends and Build-Depends.
* Add fix_test_import.patch to fix error messages when building the
documentation.
* Use git URLs for Vcs-* fields.
-- Michael Fladischer <fladi@debian.org> Tue, 23 Jun 2015 21:40:55 +0200
python-cmislib (0.5.1+dfsg-1) unstable; urgency=low
* Initial release (Closes: #787108).
-- Michael Fladischer <fladi@debian.org> Wed, 15 Apr 2015 15:17:54 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

43
debian/control vendored Normal file
View File

@ -0,0 +1,43 @@
Source: python-cmislib
Section: python
Priority: optional
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Michael Fladischer <fladi@debian.org>
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
python-iso8601,
python-setuptools,
python-sphinx (>= 1.0.7+dfsg)
Standards-Version: 3.9.6
X-Python-Version: >= 2.6
Homepage: https://chemistry.apache.org/python/cmislib.html
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-cmislib.git
Vcs-Git: git://anonscm.debian.org/python-modules/packages/python-cmislib.git
Package: python-cmislib
Architecture: all
Depends: python-iso8601,
${misc:Depends},
${python:Depends}
Suggests: python-cmislib-doc
Description: CMIS client library for Python
Apache Chemistry cmislib is a CMIS client library for Python.
.
The goal of this library is to provide an interoperable API to CMIS
repositories such as Alfresco, Nuxeo, KnowledgeTree, MS SharePoint, EMC
Documentum, and any other content repository that is CMIS-compliant.
Package: python-cmislib-doc
Section: doc
Architecture: all
Depends: ${misc:Depends},
${sphinxdoc:Depends}
Description: CMIS client library for Python (documentation)
Apache Chemistry cmislib is a CMIS client library for Python.
.
The goal of this library is to provide an interoperable API to CMIS
repositories such as Alfresco, Nuxeo, KnowledgeTree, MS SharePoint, EMC
Documentum, and any other content repository that is CMIS-compliant.
.
This package contains the documentation.

32
debian/copyright vendored Normal file
View File

@ -0,0 +1,32 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cmislib
Upstream-Contact: Apache Chemistry Project <dev@chemistry.apache.org>
Source: https://chemistry.apache.org/python/cmislib.html
Files-Excluded: src/doc/build
src/cmislib.egg-info
Files: *
Copyright: Apache Chemistry Project <dev@chemistry.apache.org>
License: Apache
Files: debian/*
Copyright: 2015, Fladischer Michael <fladi@debian.org>
License: Apache
License: Apache
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.

15
debian/patches/fix_test_import.patch vendored Normal file
View File

@ -0,0 +1,15 @@
Description: Fix module name from where tests are imported.
Author: Michael Fladischer <fladi@debian.org>
Last-Updae: 2015-06-23
Forwarded: no
Index: python-cmislib/src/tests/__init__.py
===================================================================
--- python-cmislib.orig/src/tests/__init__.py 2015-04-15 15:32:13.087316238 +0200
+++ python-cmislib/src/tests/__init__.py 2015-06-23 21:18:01.833373341 +0200
@@ -16,4 +16,4 @@
# specific language governing permissions and limitations
# under the License.
#
-from cmislibtests import *
+from cmislibtest import *

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
fix_test_import.patch

8
debian/python-cmislib-doc.doc-base vendored Normal file
View File

@ -0,0 +1,8 @@
Document: python-cmislib-doc
Title: Apache Chemistry cmislib documentation
Author: Apache Chemistry Project <dev@chemistry.apache.org>
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-cmislib-doc/html/index.html
Files: /usr/share/doc/python-cmislib-doc/html/*.html

1
debian/python-cmislib-doc.docs vendored Normal file
View File

@ -0,0 +1 @@
src/doc/.build/html

1
debian/python-cmislib.docs vendored Normal file
View File

@ -0,0 +1 @@
README.txt

17
debian/rules vendored Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=cmislib
%:
dh $@ --with=python2,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. sphinx-build -b html -d src/doc/.build/.doctrees -N src/doc/src src/doc/.build/html
override_dh_clean:
rm -rf src/doc/.build/
dh_clean

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
debian/source/include-binaries vendored Normal file
View File

@ -0,0 +1 @@
debian/upstream-signing-key.pgp

BIN
debian/upstream-signing-key.pgp vendored Normal file

Binary file not shown.

3
debian/watch vendored Normal file
View File

@ -0,0 +1,3 @@
version=3
opts=uversionmangle=s/(rc|a|b|c)/~$1/,pgpsigurlmangle=s/$/.asc/,repacksuffix=+dfsg,dversionmangle=s/\+dfsg$// \
http://pypi.debian.net/cmislib/cmislib-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))