summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog31
-rw-r--r--debian/compat1
-rw-r--r--debian/control52
-rw-r--r--debian/copyright27
-rw-r--r--debian/files2
-rw-r--r--debian/gbp.conf9
-rwxr-xr-xdebian/rules36
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/options1
-rw-r--r--debian/watch3
10 files changed, 163 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f66b5a8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,31 @@
+python-monotonic (0.6-2) unstable; urgency=medium
+
+ * Uploading to unstable.
+
+ -- Thomas Goirand <zigo@debian.org> Mon, 04 Apr 2016 08:30:46 +0000
+
+python-monotonic (0.6-1) experimental; urgency=medium
+
+ [ Corey Bryant ]
+ * New upstream release.
+
+ [ Ondřej Nový ]
+ * Fixed VCS URLs (https).
+
+ [ Thomas Goirand ]
+ * Fixed debian/copyright ordering.
+ * Standards-Version: 3.9.7 (no change).
+
+ -- Thomas Goirand <zigo@debian.org> Wed, 02 Mar 2016 10:12:20 +0000
+
+python-monotonic (0.3-1) unstable; urgency=medium
+
+ * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org> Wed, 02 Sep 2015 21:35:29 +0000
+
+python-monotonic (0.2-1) unstable; urgency=medium
+
+ * Initial release. (Closes: #789918)
+
+ -- Thomas Goirand <zigo@debian.org> Thu, 25 Jun 2015 10:28:31 +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..60cf71c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: python-monotonic
+Section: python
+Priority: optional
+Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
+Uploaders: Thomas Goirand <zigo@debian.org>,
+Build-Depends: debhelper (>= 9),
+ openstack-pkg-tools,
+ dh-python,
+ python-all,
+ python-setuptools,
+ python3-all,
+ python3-setuptools,
+Standards-Version: 3.9.7
+Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-monotonic.git/
+Vcs-Git: https://anonscm.debian.org/git/openstack/python-monotonic.git
+Homepage: https://github.com/atdt/monotonic
+
+Package: python-monotonic
+Architecture: all
+Depends: ${misc:Depends},
+ ${python:Depends},
+Description: implementation of time.monotonic() - Python 2.x
+ This module provides a monotonic() function which returns the value (in
+ fractional seconds) of a clock which never goes backwards. On Python 3.3 or
+ newer, monotonic will be an alias of time.monotonic from the standard library.
+ On older versions, it will fall back to an equivalent implementation:
+ GetTickCount64 on Windows, mach_absolute_time on OS X, and clock_gettime(3)
+ on Linux/BSD.
+ .
+ If no suitable implementation exists for the current platform, attempting to
+ import this module (or to import from it) will cause a RuntimeError exception
+ to be raised.
+ .
+ This package contains the Python 2.x module.
+
+Package: python3-monotonic
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends},
+Description: implementation of time.monotonic() - Python 3.x
+ This module provides a monotonic() function which returns the value (in
+ fractional seconds) of a clock which never goes backwards. On Python 3.3 or
+ newer, monotonic will be an alias of time.monotonic from the standard library.
+ On older versions, it will fall back to an equivalent implementation:
+ GetTickCount64 on Windows, mach_absolute_time on OS X, and clock_gettime(3)
+ on Linux/BSD.
+ .
+ If no suitable implementation exists for the current platform, attempting to
+ import this module (or to import from it) will cause a RuntimeError exception
+ to be raised.
+ .
+ This package contains the Python 3.x module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..05466d5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,27 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: monotonic
+Source: https://github.com/atdt/monotonic
+
+Files: *
+Copyright: (c) 2014-2016, Ori Livneh <ori@wikimedia.org>
+License: Apache-2
+
+Files: debian/*
+Copyright: (c) 2015-2016, Thomas Goirand <zigo@debian.org>
+License: Apache-2
+
+License: Apache-2
+ Licensed 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.
+ .
+ On Debian-based systems the full text of the Apache version 2.0 license
+ can be found in /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/files b/debian/files
new file mode 100644
index 0000000..e0cdbc6
--- /dev/null
+++ b/debian/files
@@ -0,0 +1,2 @@
+python-monotonic_0.6-2_all.deb python optional
+python3-monotonic_0.6-2_all.deb python optional
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..10f9500
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,9 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/unstable
+upstream-tag = %(version)s
+compression = xz
+
+[buildpackage]
+export-dir = ../build-area/
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c7dc9ae
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
+
+UPSTREAM_GIT = git://github.com/atdt/monotonic.git
+include /usr/share/openstack-pkg-tools/pkgos.make
+
+%:
+ dh $@ --buildsystem=python_distutils --with python2,python3
+
+override_dh_install:
+ set -e ; for pyvers in $(PYTHONS); do \
+ python$$pyvers setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/python-monotonic; \
+ done
+ set -e ; for pyvers in $(PYTHON3S); do \
+ python$$pyvers setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/python3-monotonic; \
+ done
+ rm -rf $(CURDIR)/debian/python*-monotonic/usr/lib/python*/dist-packages/*.pth
+
+override_dh_clean:
+ dh_clean -O--buildsystem=python_distutils
+ rm -rf build
+
+# Commands not to run
+override_dh_installcatalogs:
+override_dh_installemacsen override_dh_installifupdown:
+override_dh_installinfo override_dh_installmenu override_dh_installmime:
+override_dh_installmodules override_dh_installlogcheck:
+override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
+override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
+override_dh_installcron override_dh_installdebconf:
+override_dh_installlogrotate override_dh_installgsettings:
+ \ No newline at end of file
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/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..84cfebe
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/\.(b|rc)/~$1/" \
+https://github.com/atdt/monotonic/tags .*/(\d[\d\.]+)\.tar\.gz