summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-02 16:26:30 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-02 17:14:24 +0200
commit53290a0d825914adde9d4bd1549903d7addea9e5 (patch)
treea90165e3a60086c903ca7abf7b6a637505db2cd8
parentdev-python/pymysql: Clean old versions up (diff)
downloadgentoo-53290a0d825914adde9d4bd1549903d7addea9e5.tar.gz
gentoo-53290a0d825914adde9d4bd1549903d7addea9e5.tar.bz2
gentoo-53290a0d825914adde9d4bd1549903d7addea9e5.zip
dev-python/beaker: Clean old versions up
-rw-r--r--dev-python/beaker/Manifest1
-rw-r--r--dev-python/beaker/beaker-1.7.0-r1.ebuild53
-rw-r--r--dev-python/beaker/files/beaker-1.7.0-cookie-testfix.patch40
3 files changed, 0 insertions, 94 deletions
diff --git a/dev-python/beaker/Manifest b/dev-python/beaker/Manifest
index 7cb4060c11b8..1f06c7506368 100644
--- a/dev-python/beaker/Manifest
+++ b/dev-python/beaker/Manifest
@@ -1,3 +1,2 @@
DIST Beaker-1.6.4.tar.gz 54480 SHA256 5b06dcc9f7b1921bc962235c4051aa5f3f5d3609f42faa6064dc614ace031a3a SHA512 5a6835d01d0b1bee57844525f1223d74edd26f07cc769df6a8cfa77f44dda4435eb96639175928a1caf7c4f927ac3a674c0fd0e7f50f1aea91da7880de3a6704 WHIRLPOOL 13162d6733b69966133c17171b6725e0a2e7c2f56942bbc591ff3992dee50d7a5e91cc11a6a4ae775a9ec3dab805c2ae352982f0b1670190325b11d06a2e52a9
DIST Beaker-1.8.0.tar.gz 36436 SHA256 740165bb2d86b17460ea759ae075d82b52313860357393675d765bbf67b5c3fb SHA512 1344e7f5db15ac75640f284a2f915d5e34d52988684a25bdf4b2c29ccc963a85e369462a3da7171e4cac6d2209a561ad2b75153bd6dfba6da0d0889b642ab91a WHIRLPOOL 634c4493a6462dcb19566e4ac4b77261e1aaa9e1689d2b8a0519b93a2c4a81c76a173d1daa0f67f744eada4c73c3e35969dff432447c65af8a2f59d0184718e3
-DIST beaker-1.7.0.tar.gz 73768 SHA256 ee8492fb3e218855ec51751d58d95296d029489ea4ec64af0c2f3e57bd776be2 SHA512 3e6ca976974bcc43c9291fab40192f91b16d73d11417adb4dc98d0e289e2af8658dc49905a3ab0dc08abfa92c8e0f8b58ec23425e451ef22d1f573aa8ab0c992 WHIRLPOOL 20538e7a9463ba09707148273a372a02f6c121f7d3f9cf6b0c3df65b1dd140da7e7830adb8def88bbd14e041a2ba0fa2578f977422fc45421d37d8293faf8bef
diff --git a/dev-python/beaker/beaker-1.7.0-r1.ebuild b/dev-python/beaker/beaker-1.7.0-r1.ebuild
deleted file mode 100644
index 2aad6fac756a..000000000000
--- a/dev-python/beaker/beaker-1.7.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-
-inherit distutils-r1
-
-DESCRIPTION="A Session and Caching library with WSGI Middleware"
-HOMEPAGE="https://github.com/bbangert/beaker https://pypi.python.org/pypi/Beaker"
-SRC_URI="https://github.com/bbangert/${PN}/archive/v1.7.0dev.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
-IUSE="test"
-
-# webtest-based tests are skipped when webtest is not installed
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
- test? ( dev-python/mock[${PYTHON_USEDEP}]
- dev-python/nose[${PYTHON_USEDEP}]
- dev-python/webtest[${PYTHON_USEDEP}]
- dev-python/pycrypto[${PYTHON_USEDEP}]
- dev-python/sqlalchemy[${PYTHON_USEDEP}]
- )"
-RDEPEND=""
-
-# Py2.7 fais some tests without this
-DISTUTILS_IN_SOURCE_BUILD=1
-
-S="${WORKDIR}/${P}dev"
-
-PATCHES=( "${FILESDIR}"/${P}-cookie-testfix.patch )
-
-python_prepare_all() {
- # Workaround for http://bugs.python.org/issue11276.
- sed -e "s/import anydbm/& as anydbm/;/import anydbm/a dbm = anydbm" \
- -i beaker/container.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_test() {
- # https://github.com/bbangert/beaker/issues/86; bug #557026
- cp -r -l tests "${BUILD_DIR}"/ || die
- nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}"
-}
-
-pkg_postinst() {
- elog "beaker also has optional support for packages"
- elog "pycrypto and pycryptopp"
-}
diff --git a/dev-python/beaker/files/beaker-1.7.0-cookie-testfix.patch b/dev-python/beaker/files/beaker-1.7.0-cookie-testfix.patch
deleted file mode 100644
index 364d112b45a4..000000000000
--- a/dev-python/beaker/files/beaker-1.7.0-cookie-testfix.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-https://github.com/bbangert/beaker/commit/714f464cac9d14e338cf4420163292acaab3bb49
-diff --git a/beaker/session.py b/beaker/session.py
-index 10a87f2..f1a585f 100644
---- a/beaker/session.py
-+++ b/beaker/session.py
-@@ -226,7 +226,7 @@ def _create_id(self, set_new=True):
- self.last_accessed = None
- if self.use_cookies:
- self._set_cookie_values()
-- sc = set_new == False
-+ sc = set_new is False
- self._update_cookie_out(set_cookie=sc)
-
- @property
-diff --git a/tests/test_session.py b/tests/test_session.py
-index 82ed74d..926dabb 100644
---- a/tests/test_session.py
-+++ b/tests/test_session.py
-@@ -218,7 +218,8 @@ def test_cookies_enabled():
-
- # test for secure
- session = get_session(use_cookies=True, secure=True)
-- assert 'secure' in session.request['cookie_out']
-+ cookie = session.request['cookie_out'].lower() # Python3.4.3 outputs "Secure", while previous output "secure"
-+ assert 'secure' in cookie, cookie
-
- # test for httponly
- class ShowWarning(object):
-@@ -233,7 +234,9 @@ def __call__(self, message, category, filename, lineno, file=None, line=None):
- if sys.version_info < (2, 6):
- assert sw.msg == 'Python 2.6+ is required to use httponly'
- else:
-- assert 'httponly' in session.request['cookie_out']
-+ # Python3.4.3 outputs "HttpOnly", while previous output "httponly"
-+ cookie = session.request['cookie_out'].lower()
-+ assert 'httponly' in cookie, cookie
- warnings.showwarning = orig_sw
-
- def test_cookies_disabled():
-