commit:     81e10053150aca133fe9dc84c8278c768e8559d8
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 13 12:48:06 2016 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Tue Sep 13 12:48:06 2016 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=81e10053

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

 dev-python/flask-login/Manifest                    |  1 -
 .../flask-login-0.3.2-fix-tests-python2.patch      | 29 ------------------
 dev-python/flask-login/flask-login-0.3.2-r1.ebuild | 34 ----------------------
 dev-python/flask-login/metadata.xml                | 11 -------
 4 files changed, 75 deletions(-)

diff --git a/dev-python/flask-login/Manifest b/dev-python/flask-login/Manifest
deleted file mode 100644
index 3ede420..0000000
--- a/dev-python/flask-login/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST flask-login-0.3.2.tar.gz 38626 SHA256 
e7c021eba4f9fb9805e08403a6ee36ce5c7e747e799cc56212bf6c14fce72911 SHA512 
c42af6ed7902145cc4778815f247ed88de6df7c929abe0a1f22aca0515495a54d298b2af2b74ba7d5e0ce9b453eee4c4ce03802a3e9ab531137e117e9dcdfc1b
 WHIRLPOOL 
60dacd8c4bec1f96dd934109ecf6517350d5722e2ad1e98524f83d3ac15db4d4329eb05e91f5d78c6664fd54fce8288f70e1157cb53d770816142f7278788675

diff --git 
a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch 
b/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch
deleted file mode 100644
index 33811ab..0000000
--- a/dev-python/flask-login/files/flask-login-0.3.2-fix-tests-python2.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/test_login.py b/test_login.py
-index 3f110e0..0c060f5 100644
---- a/test_login.py
-+++ b/test_login.py
-@@ -39,6 +39,7 @@ from flask.ext.login import (LoginManager, UserMixin, 
AnonymousUserMixin,
- if str is not bytes:
-     unicode = str
- 
-+werkzeug_version = tuple(int(i) for i in werkzeug_version.split('.'))
- 
- @contextmanager
- def listen_to(signal):
-@@ -1073,14 +1074,14 @@ class LoginTestCase(unittest.TestCase):
-     #
-     # Misc
-     #
--    @unittest.skipIf(werkzeug_version.startswith("0.9"),
-+    @unittest.skipIf(werkzeug_version >= (0, 9),
-                      "wait for upstream implementing RFC 5987")
-     def test_chinese_user_agent(self):
-         with self.app.test_client() as c:
-             result = c.get('/', headers=[('User-Agent', u'中文')])
-             self.assertEqual(u'Welcome!', result.data.decode('utf-8'))
- 
--    @unittest.skipIf(werkzeug_version.startswith("0.9"),
-+    @unittest.skipIf(werkzeug_version >= (0, 9),
-                      "wait for upstream implementing RFC 5987")
-     def test_russian_cp1251_user_agent(self):
-         with self.app.test_client() as c:

diff --git a/dev-python/flask-login/flask-login-0.3.2-r1.ebuild 
b/dev-python/flask-login/flask-login-0.3.2-r1.ebuild
deleted file mode 100644
index f4e19cc..0000000
--- a/dev-python/flask-login/flask-login-0.3.2-r1.ebuild
+++ /dev/null
@@ -1,34 +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
-
-DESCRIPTION="Login session support for Flask"
-HOMEPAGE="https://pypi.python.org/pypi/Flask-Login";
-SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-# pypi tarball is missing tests
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND=">=dev-python/flask-0.10[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? (
-               dev-python/nose[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/blinker[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' 
'python2*' pypy)
-       )"
-
-PATCHES=( "${FILESDIR}/${P}-fix-tests-python2.patch" )
-
-python_test() {
-       nosetests -v || die "Tests fail with ${EPYTHON}"
-}

diff --git a/dev-python/flask-login/metadata.xml 
b/dev-python/flask-login/metadata.xml
deleted file mode 100644
index d14744a..0000000
--- a/dev-python/flask-login/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>pyt...@gentoo.org</email>
-               <name>Python</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="pypi">Flask-Login</remote-id>
-       </upstream>
-</pkgmetadata>

Reply via email to