public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: dev-python/flask-testing/, dev-python/flask-testing/files/
@ 2016-09-19 11:23 Tiziano Müller
  0 siblings, 0 replies; only message in thread
From: Tiziano Müller @ 2016-09-19 11:23 UTC (permalink / raw
  To: gentoo-commits

commit:     6a2de3561db6cc87c1155329cf709748c457a3a5
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 12:41:18 2016 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 12:41:18 2016 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=6a2de356

dev-python/flask-testing: changes merged to ebuild in tree

 dev-python/flask-testing/Manifest                  |  2 -
 .../files/0.4.2-test-fix-python-3.x.patch          | 13 ------
 .../flask-testing/files/0.4.2-test-fix.patch       | 17 --------
 .../flask-testing/flask-testing-0.4.2-r1.ebuild    | 46 ----------------------
 dev-python/flask-testing/metadata.xml              | 11 ------
 5 files changed, 89 deletions(-)

diff --git a/dev-python/flask-testing/Manifest b/dev-python/flask-testing/Manifest
deleted file mode 100644
index 338d697..0000000
--- a/dev-python/flask-testing/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST Flask-Testing-0.4.1.tar.gz 39879 SHA256 d8c4d97d79de517a5d6e348bcc6aaccc45832827afa25ca15cdf8a5a16e543a2 SHA512 b7b71a40545aebed2616b5867951078930bc5d2ab6bf4bc259fab4f8d127ace3830f71bdb4a654c96bf5379bce49930c84e77486c8111b0645bfc515428592b0 WHIRLPOOL e3310b41b53da9847ad3143db30359af8a3eb515da42cc4ffc3068d681abb78a8d11302fb26d085197627aae7d7408175819a108dcf25fd2c0270e02ceaef9b7
-DIST Flask-Testing-0.4.2.tar.gz 40994 SHA256 921c7c653e0d511ed87fbf70d984e27afea8dfa7e10b358689863d7a63e05321 SHA512 57f1a58f352637b6c1d4dc5aa8b3cac215eae334f355d40b6c777f9c5a769c745ce11f2a98818669ec2c29fc170fd86fe4670bb66bd4e4607174b21c5c2067e3 WHIRLPOOL a1fc0723660c25cb18ea5eb4c283c79eb379f2d8cee1bf8fda6ed8b10391cdf0080fa3e2e1ce6cdc50845548a5d9be3f4b20ef267c1350a14049adfbdcfa8e20

diff --git a/dev-python/flask-testing/files/0.4.2-test-fix-python-3.x.patch b/dev-python/flask-testing/files/0.4.2-test-fix-python-3.x.patch
deleted file mode 100644
index d5a5ed1..0000000
--- a/dev-python/flask-testing/files/0.4.2-test-fix-python-3.x.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/tests/test_utils.py b/tests/test_utils.py
-index 1b81c80..3f0bb8b 100644
---- a/tests/test_utils.py
-+++ b/tests/test_utils.py
-@@ -171,7 +171,7 @@ class TestNotRenderTemplates(TestCase):
-     def test_assert_not_process_the_template(self):
-         response = self.client.get("/template/")
- 
--        assert "" == response.data
-+        assert len(response.data) == 0
- 
-     def test_assert_template_rendered_signal_sent(self):
-         self.client.get("/template/")

diff --git a/dev-python/flask-testing/files/0.4.2-test-fix.patch b/dev-python/flask-testing/files/0.4.2-test-fix.patch
deleted file mode 100644
index a0933e4..0000000
--- a/dev-python/flask-testing/files/0.4.2-test-fix.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://github.com/jarus/flask-testing/commit/c969b41b31f60a5a8bacd44b3eb63d1642f2d8bf
-diff --git a/flask_testing/utils.py b/flask_testing/utils.py
-index add12ef..9b479df 100644
---- a/flask_testing/utils.py
-+++ b/flask_testing/utils.py
-@@ -143,8 +143,8 @@ def _post_teardown(self):
- 
-         if _is_signals:
-             template_rendered.disconnect(self._add_template)
--        if hasattr(self, '_true_render'):
--            templating._render = self._true_render
-+        if hasattr(self, '_original_template_render'):
-+            templating._render = self._original_template_render
- 
-         if self.run_gc_after_test:
-             gc.collect()
-

diff --git a/dev-python/flask-testing/flask-testing-0.4.2-r1.ebuild b/dev-python/flask-testing/flask-testing-0.4.2-r1.ebuild
deleted file mode 100644
index 2d6a5e2..0000000
--- a/dev-python/flask-testing/flask-testing-0.4.2-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
-
-inherit distutils-r1
-
-MY_PN="Flask-Testing"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Unit testing for Flask"
-HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.python.org/pypi/Flask-Testing/"
-SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
-	$(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' 'python2*')"
-DEPEND="${RDEPEND}
-	dev-python/setuptools[${PYTHON_USEDEP}]
-	test? (
-		dev-python/blinker[${PYTHON_USEDEP}]
-		dev-python/nose[${PYTHON_USEDEP}]
-	)"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-	"${FILESDIR}"/${PV}-test-fix.patch
-	"${FILESDIR}"/${PV}-test-fix-python-3.x.patch
-)
-
-python_test() {
-	local exclude
-	if $(python_is_python3); then
-		# Twill is not available on python-3
-		exclude="-e twill"
-	fi
-	# test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy
-	nosetests ${exclude} || die "Testing failed with ${EPYTHON}"
-}

diff --git a/dev-python/flask-testing/metadata.xml b/dev-python/flask-testing/metadata.xml
deleted file mode 100644
index d2f55a2..0000000
--- a/dev-python/flask-testing/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>python@gentoo.org</email>
-		<name>Python</name>
-	</maintainer>
-	<upstream>
-		<remote-id type="pypi">Flask-Testing</remote-id>
-	</upstream>
-</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-19 11:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-19 11:23 [gentoo-commits] dev/dev-zero:master commit in: dev-python/flask-testing/, dev-python/flask-testing/files/ Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox