[Python-modules-commits] [automat] 02/02: Import Debian changes 0.5.0-1
Free Ekanayaka
freee at moszumanska.debian.org
Fri Feb 17 13:40:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
freee pushed a commit to branch master
in repository automat.
commit edc545d4d0a936369e4b131ef374ec07c761c538
Author: Free Ekanayaka <freee at debian.org>
Date: Fri Feb 17 11:27:31 2017 +0000
Import Debian changes 0.5.0-1
---
.travis.yml | 25 +++++-------------
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 39 ++++++++++++++++++++++++++++
debian/copyright | 31 ++++++++++++++++++++++
debian/patches/0001-dont-depend-on-m2r.patch | 32 +++++++++++++++++++++++
debian/patches/series | 1 +
debian/rules | 11 ++++++++
debian/source/format | 1 +
debian/source/options | 1 +
debian/tests/control | 6 +++++
debian/tests/unit-tests-2 | 4 +++
debian/tests/unit-tests-3 | 4 +++
debian/watch | 4 +++
14 files changed, 147 insertions(+), 18 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index f5ea3c1..cf2f794 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,22 +1,11 @@
-language: python
-python: 2.7
-env:
- - TOX_ENV=py27-extras
- - TOX_ENV=py27-noextras
- - TOX_ENV=pypy-extras
- - TOX_ENV=pypy-noextras
- - TOX_ENV=py33-extras
- - TOX_ENV=py33-noextras
- - TOX_ENV=py34-extras
- - TOX_ENV=py34-noextras
+sudo: required
-install:
- - sudo apt-get install graphviz
- - pip install tox coveralls
+services:
+ - docker
script:
- - tox -e $TOX_ENV
+ - wget -O- http://travis.debian.net/script.sh | sh -
-after_success:
- - tox -e coverage-report
- - coveralls
+branches:
+ except:
+ - /^debian\/\d/
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..14ed5da
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+automat (0.5.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #855386).
+
+ -- Free Ekanayaka <freee at debian.org> Fri, 17 Feb 2017 11:27:31 +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..89f8ffd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: automat
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Free Ekanayaka <freee at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all (>= 2.6.6-3),
+ python-setuptools (>= 0.6b3),
+ python-setuptools-scm,
+ python-characteristic,
+ python-six,
+ python-attr,
+ python3-all,
+ python3-setuptools (>= 0.6b3),
+ python3-setuptools-scm,
+ python3-characteristic,
+ python3-six,
+ python3-attr,
+Standards-Version: 3.9.8
+Homepage: https://github.com/freeekanayaka/systemfixtures
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/automat.git
+Vcs-Git: git://anonscm.debian.org/python-modules/packages/automat.git
+
+Package: python-automat
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Self-service finite-state machines for the programmer on the go
+ Automat is a library for concise, idiomatic Python expression of
+ finite-state automata (particularly deterministic finite-state
+ transducers).
+
+Package: python3-automat
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Self-service finite-state machines for the programmer on the go
+ Automat is a library for concise, idiomatic Python expression of
+ finite-state automata (particularly deterministic finite-state
+ transducers).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..049eba4
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+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/glyph/Automat
+
+Files: *
+Copyright: (c) 2014 Rackspace
+License: Expat
+
+Files: debian/*
+Copyright: (c) 2016 Free Ekanayaka <freee at debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/patches/0001-dont-depend-on-m2r.patch b/debian/patches/0001-dont-depend-on-m2r.patch
new file mode 100644
index 0000000..6ea857a
--- /dev/null
+++ b/debian/patches/0001-dont-depend-on-m2r.patch
@@ -0,0 +1,32 @@
+From: Free Ekanayaka <freee at debian.org>
+Date: Fri, 17 Feb 2017 11:43:16 +0000
+Subject: dont-depend-on-m2r
+
+We don't need to generate the README at setup time, so disable
+the dependency on m2r.
+---
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 5971d97..c0b221e 100644
+--- a/setup.py
++++ b/setup.py
+@@ -8,7 +8,7 @@ try:
+ from m2r import parse_from_file
+ long_description = parse_from_file('README.md')
+ except(IOError, ImportError):
+- print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n")
++ #print("\n\n!!! m2r not found, long_description is bad, don't upload this to PyPI !!!\n\n")
+ import io
+ long_description = io.open('README.md', encoding="utf-8").read()
+
+@@ -24,7 +24,7 @@ setup(
+ package_dir={'automat': 'automat'},
+ setup_requires=[
+ 'setuptools-scm',
+- 'm2r',
++# 'm2r',
+ ],
+ install_requires=[
+ "attrs",
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b18e815
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-dont-depend-on-m2r.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..295c3a4
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.8.5 at
+# Fri, 17 Feb 2017 11:27:31 +0000
+export PYBUILD_NAME=automat
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_install:
+ dh_install
+ mv debian/python3-automat/usr/bin/automat-visualize debian/python3-automat/usr/bin/automat-visualize3
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..8c41d98
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Tests: unit-tests-2 unit-tests-3
+Depends: @,
+ graphviz,
+ python-twisted-core,
+ python3-twisted,
+ python3-graphviz,
diff --git a/debian/tests/unit-tests-2 b/debian/tests/unit-tests-2
new file mode 100644
index 0000000..e8ce844
--- /dev/null
+++ b/debian/tests/unit-tests-2
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd $AUTOPKGTEST_TMP
+python -m twisted.trial automat
diff --git a/debian/tests/unit-tests-3 b/debian/tests/unit-tests-3
new file mode 100644
index 0000000..bdbc088
--- /dev/null
+++ b/debian/tests/unit-tests-3
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd $AUTOPKGTEST_TMP
+python3 -m twisted.trial automat
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f970a92
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# please also check http://pypi.debian.net/Automat/watch
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/Automat/Automat-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/automat.git
More information about the Python-modules-commits
mailing list