From 95a97e2e4c8c8d95c5a598e32af999d0296ec9cd Mon Sep 17 00:00:00 2001 From: Ben Carrillo Date: Mon, 7 Jul 2014 11:31:34 -0500 Subject: Initial debianization --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 20 ++++++++++++++++++++ debian/copyright | 27 +++++++++++++++++++++++++++ debian/rules | 21 +++++++++++++++++++++ debian/source/format | 1 + debian/source/options | 1 + debian/watch | 3 +++ 8 files changed, 79 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..36ffa80 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-taskthread (1.4-1) unstable; urgency=low + + * Initial package. (Closes: #754118) + + -- Ben Carrillo Mon, 07 Jul 2014 11:12:14 -0500 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..83f4585 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: python-taskthread +Maintainer: Ben Carrillo +Uploaders: Micah Anderson +Homepage: http://hpcloud.com +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9.0.0) +Standards-Version: 3.9.5 + +Package: python-taskthread +Architecture: any +Depends: ${misc:Depends}, ${python:Depends} +Description: Simple thread module to repetitively perform a task. + Python thread module to repeat an predefined task on a thread mulitple times. + . + A TaskThread is useful when a task needs to be repeated several times on + a separate thread. Normal usage of the threading.Thread class would call for + creation of a new thread each time the same task needs to be run. This module + allows for repetitive tasks to be run multiple times on the same thread by + having the thread wait until the task needs to be executed again. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c89bfc1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,27 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: taskthread +Source: https://github.com/tkuhlman/taskthread/ + +Files: * +Copyright: Copyright 2013 Hewlett-Packard Development Company, L.P. +License: Apache 2.0 + + +License: Apache 2.0 + 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. + . + On Debian systems, the full text of the Apache Software License version 2 can + be found in the file `/usr/share/common-licenses/Apache-2.0'. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4bf8712 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Uncomment this to turn on verbose mode. +#DH_VERBOSE=1 +DEB_BUILD_OPTIONS=nocheck +package=python-taskthread + +PYTHON2=$(shell pyversions -vr) + +%: + dh $@ --with python2 --buildsystem=python_distutils + +override_dh_installchangelogs: + dh_installchangelogs README.rst + 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..4d82e22 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info" \ No newline at end of file diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..508567b --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +https://pypi.python.org/packages/source/t/taskthread/taskthread-(.*)\.tar\.gz -- cgit v1.2.3