[Python-modules-commits] [python-aptly] 03/03: Initial release (Closes: #833721)
Ondřej Nový
onovy at moszumanska.debian.org
Mon Aug 8 12:09:39 UTC 2016
This is an automated email from the git hooks/post-receive script.
onovy pushed a commit to branch master
in repository python-aptly.
commit 48c86f0a45cd9c703723629b12f3ea2895f68855
Author: Ondřej Nový <onovy at debian.org>
Date: Mon Aug 8 14:08:14 2016 +0200
Initial release (Closes: #833721)
---
debian/.git-dpm | 3 ++
debian/aptly-publisher.docs | 2 ++
debian/aptly-publisher.examples | 1 +
debian/aptly-publisher.manpages | 1 +
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 62 +++++++++++++++++++++++++++++++++++++++++
debian/copyright | 34 ++++++++++++++++++++++
debian/rules | 19 +++++++++++++
debian/source/options | 1 +
debian/watch | 3 ++
11 files changed, 132 insertions(+)
diff --git a/debian/.git-dpm b/debian/.git-dpm
index 4bbb8c3..9e331cf 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
python-aptly_0.7.7.orig.tar.gz
d012ad6d9a39feefeb521f3591226565bb1fe328
98941
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/aptly-publisher.docs b/debian/aptly-publisher.docs
new file mode 100644
index 0000000..59bdfc7
--- /dev/null
+++ b/debian/aptly-publisher.docs
@@ -0,0 +1,2 @@
+README.rst
+doc/*.png
diff --git a/debian/aptly-publisher.examples b/debian/aptly-publisher.examples
new file mode 100644
index 0000000..da723ee
--- /dev/null
+++ b/debian/aptly-publisher.examples
@@ -0,0 +1 @@
+doc/examples/*.yaml
diff --git a/debian/aptly-publisher.manpages b/debian/aptly-publisher.manpages
new file mode 100644
index 0000000..a90fc98
--- /dev/null
+++ b/debian/aptly-publisher.manpages
@@ -0,0 +1 @@
+debian/aptly-publisher.1
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..31c2fcc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-aptly (0.7.7-1) unstable; urgency=medium
+
+ * Initial release (Closes: #833721)
+
+ -- Filip Pytloun <filip at pytloun.cz> Thu, 04 Aug 2016 13:59:04 +0200
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..4148701
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,62 @@
+Source: python-aptly
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Filip Pytloun <filip at pytloun.cz>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ help2man,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools
+Build-Depends-Indep: python-requests,
+ python-yaml,
+ python3-requests,
+ python3-yaml
+Standards-Version: 3.9.8
+Testsuite: autopkgtest-pkg-python
+Homepage: https://github.com/tcpcloud/python-aptly
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-aptly.git/
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-aptly.git
+
+Package: python-aptly
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Suggests: aptly-publisher
+Description: Aptly REST API client and useful tooling - Python 2.7
+ Module which provides access to Aptly instance from Python programming
+ language
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-aptly
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: aptly-publisher
+Description: Aptly REST API client and useful tooling - Python 3.x
+ Module which provides access to Aptly instance from Python programming
+ language
+ .
+ This package contains the Python 3.x module.
+
+Package: aptly-publisher
+Section: utils
+Architecture: all
+Depends: python3-aptly (= ${binary:Version}),
+ ${misc:Depends},
+ ${python3:Depends}
+Description: Tool for management of Aptly publishes
+ This tool allows one to create aptly multi-component
+ publishes from JSON definition of repositories and mirrors
+ .
+ Features
+ --------
+ - create or update publish from latest snapshots
+ - it takes configuration in yaml format which defines what to publish and
+ how
+ - expected snapshot format is ``<name>-<timestamp>``
+ - promote publish
+ - use source publish snapshots to create or update another publish (eg.
+ testing -> stable)
+ - cleanup unused snapshots
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..571821f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,34 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-aptly
+Upstream-Contact: Filip Pytloun <filip.pytloun at tcpcloud.eu>
+Source: https://github.com/tcpcloud/python-aptly
+
+Files: *
+Copyright: 2015-2016 tcp cloud
+License: GPL-2+
+
+Files: debian/*
+Copyright: (c) 2016, Filip Pytloun <filip at pytloun.cz>
+License: GPL-2+
+
+License: GPL-2+
+ Copyright (C) 2015-2016 tcp cloud
+ .
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ Comment:
+ .
+ On a Debian system you can find a copy of this license in
+ /usr/share/common-licenses/GPL-2.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5597377
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+VER ?= $(shell dpkg-parsechangelog -SVersion)
+
+export PYBUILD_NAME=aptly
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build
+ # Generate man page
+ (PYTHONPATH=. help2man -n "aptly-publisher - tool for easy creation of Aptly multi component publishes" --version-string=$(VER) "python aptly/publisher/__main__.py" | sed s,__main__.py,aptly-publisher,g > debian/aptly-publisher.1)
+
+override_dh_install:
+ dh_install
+ # aptly-publisher is using python3 by default
+ rm -rf debian/python-aptly/usr/bin
+ mkdir -p debian/aptly-publisher/usr
+ mv debian/python3-aptly/usr/bin debian/aptly-publisher/usr/
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..841b4c8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-aptly-$1\.tar\.gz/ \
+ https://github.com/tcpcloud/python-aptly/tags .*/v?(\d\S*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-aptly.git
More information about the Python-modules-commits
mailing list