[Python-modules-commits] [obsub] 02/02: Initial release
Free Ekanayaka
freee at moszumanska.debian.org
Tue Nov 15 18:14:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
freee pushed a commit to branch master
in repository obsub.
commit 4f286abd29e2e577a6007e10109e1d4c9a818631
Author: Free Ekanayaka <freee at debian.org>
Date: Tue Nov 15 18:06:17 2016 +0000
Initial release
---
.travis.yml | 11 +++++++++++
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 36 ++++++++++++++++++++++++++++++++++++
debian/copyright | 33 +++++++++++++++++++++++++++++++++
debian/gbp.conf | 2 ++
debian/rules | 6 ++++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/tests/control | 4 ++++
debian/tests/unit-tests-2 | 4 ++++
debian/tests/unit-tests-3 | 4 ++++
debian/watch | 3 +++
13 files changed, 111 insertions(+)
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..cf2f794
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,11 @@
+sudo: required
+
+services:
+ - docker
+
+script:
+ - wget -O- http://travis.debian.net/script.sh | sh -
+
+branches:
+ except:
+ - /^debian\/\d/
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e176659
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+obsub (0.2-1) unstable; urgency=medium
+
+ * Initial release (Closes: #844436)
+
+ -- Free Ekanayaka <freee at debian.org> Tue, 15 Nov 2016 21:17:59 +0000
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..fb624bc
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,36 @@
+Source: obsub
+Maintainer: Free Ekanayaka <freee at debian.org>
+Section: python
+Priority: optional
+Build-Depends: dh-python,
+ debhelper (>= 9),
+ python-all (>= 2.6.6-3),
+ python-setuptools (>= 0.6b3),
+ python-nose,
+ python3-all,
+ python3-setuptools,
+ python3-nose,
+Standards-Version: 3.9.8
+Homepage: https://github.com/aepsil0n/obsub
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/obsub.git
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/obsub.git
+
+Package: python-obsub
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Python module that implements the observer pattern via a decorator
+ The @event decorator makes functions or methods "observable". Consuming code
+ can subscribe callbacks to these decorated callables, and the callbacks will be
+ triggered everytime the callables are invoked.
+ .
+ This package sports the Python 2 module.
+
+Package: python3-obsub
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Test fixtures providing fake versions of various system resources
+ The @event decorator makes functions or methods "observable". Consuming code
+ can subscribe callbacks to these decorated callables, and the callbacks will be
+ triggered everytime the callables are invoked.
+ .
+ This package sports the Python 3 module.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5deced9
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: systemfixtures
+Upstream-Contact: Free Ekanayaka <free at ekanayaka.io>
+Source: https://github.com/freeekanayaka/systemfixtures
+
+Files: *
+Copyright: (c) 2013-2014 Eduard Bopp <eduard.bopp at aepsil0n.de>
+License: CC0
+
+Files: debian/*
+Copyright: (c) 2016 Free Ekanayaka <freee at debian.org>
+License: CC0
+Comment: Debian packaging is licensed under the same terms as upstream
+
+License: CC0
+ The person who associated a work with this deed has dedicated the work to the
+ public domain by waiving all of his or her rights to the work worldwide under
+ copyright law, including all related and neighboring rights, to the extent
+ allowed by law.
+ .
+ You can copy, modify, distribute and perform the work, even for commercial
+ purposes, all without asking permission.
+ .
+ In no way are the patent or trademark rights of any person affected by CC0,
+ nor are the rights that other persons may have in the work or in how the work
+ is used, such as publicity or privacy rights.
+ .
+ Unless expressly stated otherwise, the person who associated a work with this
+ deed makes no warranties about the work, and disclaims liability for all uses
+ of the work, to the fullest extent permitted by applicable law.
+ .
+ When using or citing the work, you should not imply endorsement by the author
+ or the affirmer.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..924d347
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=obsub
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
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..aa96de8
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^\.travis\.yml$"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..cc4877f
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,4 @@
+Tests: unit-tests-2 unit-tests-3
+Depends: @,
+ python-twisted-core,
+ python3-twisted,
diff --git a/debian/tests/unit-tests-2 b/debian/tests/unit-tests-2
new file mode 100644
index 0000000..dd1516f
--- /dev/null
+++ b/debian/tests/unit-tests-2
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd $AUTOPKGTEST_TMP
+trial obsub
diff --git a/debian/tests/unit-tests-3 b/debian/tests/unit-tests-3
new file mode 100644
index 0000000..d3e9ed0
--- /dev/null
+++ b/debian/tests/unit-tests-3
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd $AUTOPKGTEST_TMP
+trial3 obsub
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..8a6c242
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+# please also check http://pypi.debian.net/obsub/watch
+version=3
+https://pypi.debian.net/systemfixtures/obsub-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/obsub.git
More information about the Python-modules-commits
mailing list