[Python-modules-commits] [parsedatetime] 03/06: Restore pytest.ini removed from upstream tarballs

Harlan Lieberman-Berg hlieberman at moszumanska.debian.org
Sat Mar 11 03:42:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

hlieberman pushed a commit to branch master
in repository parsedatetime.

commit e890c31eb6aab7ad938750a6ee4d9f87b149746b
Author: Harlan Lieberman-Berg <hlieberman at setec.io>
Date:   Fri Mar 10 22:36:58 2017 -0500

    Restore pytest.ini removed from upstream tarballs
---
 debian/patches/0001-add-pytest-ini.patch | 22 ++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0001-add-pytest-ini.patch b/debian/patches/0001-add-pytest-ini.patch
new file mode 100644
index 0000000..84df9c5
--- /dev/null
+++ b/debian/patches/0001-add-pytest-ini.patch
@@ -0,0 +1,22 @@
+Description: pull pytest.ini from upstream scm
+ It seems upstream strips the pytest.ini when it ships tarballs
+ out to pypi.  Without this pytest.ini, though, the pytest-runner
+ will not find the tests correctly.
+Forwarded: not-needed
+Origin: https://raw.githubusercontent.com/bear/parsedatetime/master/pytest.ini
+--- /dev/null
++++ b/pytest.ini
+@@ -0,0 +1,13 @@
++[pytest]
++norecursedirs = venv .tox
++verbosity = 2
++python_files=Test*.py
++
++with-coverage = true
++cover-min-percentage = 72
++cover-package = parsedatetime
++cover-html = true
++cover-html-dir = htmlcov
++cover-erase = true
++cover-inclusive = true
++cover-branches = true
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..537214a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-add-pytest-ini.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/parsedatetime.git



More information about the Python-modules-commits mailing list