summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2021-04-09 01:44:19 +0100
committerMike Auty <ikelos@gentoo.org>2021-04-09 01:44:29 +0100
commit3a3930d69d01be8e89aa6131804c923c5ec65878 (patch)
tree1ca1ed10bd8afbe93ef1a1b13c1d510f2fcaf46c
parentRemove pythonnet (diff)
downloadikelos-3a3930d69d01be8e89aa6131804c923c5ec65878.tar.gz
ikelos-3a3930d69d01be8e89aa6131804c923c5ec65878.tar.bz2
ikelos-3a3930d69d01be8e89aa6131804c923c5ec65878.zip
Update repoze ebuilds and remove ancient ones
Signed-off-by: Mike Auty <ikelos@gentoo.org>
-rw-r--r--dev-python/repoze-debug/Manifest2
-rw-r--r--dev-python/repoze-debug/repoze-debug-1.1.ebuild (renamed from dev-python/repoze-debug/repoze-debug-1.0.2.ebuild)2
-rw-r--r--dev-python/repoze-debug/repoze-debug-9999.ebuild37
-rw-r--r--dev-python/repoze-who-plugins-digestauth/ChangeLog21
-rw-r--r--dev-python/repoze-who-plugins-digestauth/Manifest1
-rw-r--r--dev-python/repoze-who-plugins-digestauth/files/repoze-who-plugins-digestauth-python3.patch121
-rw-r--r--dev-python/repoze-who-plugins-digestauth/metadata.xml15
-rw-r--r--dev-python/repoze-who-plugins-digestauth/repoze-who-plugins-digestauth-0.1.1.ebuild43
-rw-r--r--dev-python/repoze-who/Manifest2
-rw-r--r--dev-python/repoze-who/repoze-who-2.4.ebuild (renamed from dev-python/repoze-who/repoze-who-2.3.ebuild)4
10 files changed, 5 insertions, 243 deletions
diff --git a/dev-python/repoze-debug/Manifest b/dev-python/repoze-debug/Manifest
index 9304f61..49f2f27 100644
--- a/dev-python/repoze-debug/Manifest
+++ b/dev-python/repoze-debug/Manifest
@@ -1 +1 @@
-DIST repoze.debug-1.0.2.tar.gz 220032 SHA256 67a211638f7719977fda6d1442ef2f1aa14599e4da098db4fdfe23bdc98dde11 SHA512 13ca318e941b4bc48c1227ddc86eae0bdedd34af152ed93c71aa505f13866c2efd38b82158b594c7ee00d420a66f302e9dc2297dd2f583193c28a28918b6550d WHIRLPOOL d67ae7b5da324bda8ca3ef20158d558e306042f573f3935667fa9940ff6d29f41b6362abb85b44489fa6dc0a48dfeddd41d06270b707e2e21aa004271c1229d4
+DIST repoze.debug-1.1.tar.gz 224673 SHA256 f897fbb3a09499b0cee3fe2c5e4579ff04e5b0b87b1aad6098d242cbbf573000 SHA512 12d01a55ebf65b989d74923ff7d76b731f77e88b078a904b96a2094e8baa61db22e9747120576d3ffbecda0b216cf58f82d517c0f36855f1eb5f9159e08b6d4c WHIRLPOOL cbe86d09f093182072e7d3d64b988b748cbe86b2abdfe7783a9300967fa3edcaa7f2909cf0f5750ee47310f08de274bc5c43c7d4ec1154311abf815045589a72
diff --git a/dev-python/repoze-debug/repoze-debug-1.0.2.ebuild b/dev-python/repoze-debug/repoze-debug-1.1.ebuild
index 1272274..47e10d2 100644
--- a/dev-python/repoze-debug/repoze-debug-1.0.2.ebuild
+++ b/dev-python/repoze-debug/repoze-debug-1.1.ebuild
@@ -3,7 +3,7 @@
# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-who/repoze-who-2.2.ebuild,v 1.4 2015/07/08 20:55:35 zlogene Exp $
EAPI=6
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1 git-r3
diff --git a/dev-python/repoze-debug/repoze-debug-9999.ebuild b/dev-python/repoze-debug/repoze-debug-9999.ebuild
deleted file mode 100644
index 2c6dfa4..0000000
--- a/dev-python/repoze-debug/repoze-debug-9999.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-who/repoze-who-2.2.ebuild,v 1.4 2015/07/08 20:55:35 zlogene Exp $
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5,3_6} )
-
-inherit distutils-r1 git-r3
-
-DESCRIPTION="repoze.debug is an debugging framework for WSGI."
-HOMEPAGE="http://www.repoze.org"
-S="${WORKDIR}/repoze.debug-${PV}"
-if [ "${PV}" == 9999 ]; then
- SRC_URI=""
- EGIT_REPO_URI="https://github.com/repoze/repoze.debug/"
- EGIT_CHECKOUT_DIR="${S}"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/repoze.debug/repoze.debug-${PV}.tar.gz"
-fi
-
-LICENSE="repoze"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-RDEPEND="
- dev-python/webob[${PYTHON_USEDEP}]
- dev-python/zope-interface[${PYTHON_USEDEP}]
-"
-
-python_install_all() {
- distutils-r1_python_install_all
- find "${ED}" -name '*.pth' -delete || die
-}
diff --git a/dev-python/repoze-who-plugins-digestauth/ChangeLog b/dev-python/repoze-who-plugins-digestauth/ChangeLog
deleted file mode 100644
index 28b6331..0000000
--- a/dev-python/repoze-who-plugins-digestauth/ChangeLog
+++ /dev/null
@@ -1,21 +0,0 @@
-# ChangeLog for dev-python/repoze-who
-# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/repoze-who/ChangeLog,v 1.5 2015/07/08 20:55:35 zlogene Exp $
-
- 08 Jul 2015; Mikle Kolyada <zlogene@gentoo.org> repoze-who-2.2.ebuild:
- x86 stable wrt bug #554114
-
- 07 Jul 2015; Mikle Kolyada <zlogene@gentoo.org> repoze-who-2.2.ebuild:
- amd64 stable wrt bug #554114
-
- 03 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
- Add pypi to remote-id in metadata.xml
-
- 12 Dec 2014; Michał Górny <mgorny@gentoo.org> repoze-who-2.2.ebuild:
- Rename net-zope/zope-interface to dev-python/zope-interface.
-
-*repoze-who-2.2 (10 Nov 2014)
-
- 10 Nov 2014; Matthew Thode <prometheanfire@gentoo.org> +metadata.xml,
- +repoze-who-2.2.ebuild:
- needed as a dep of a dep of openstack
diff --git a/dev-python/repoze-who-plugins-digestauth/Manifest b/dev-python/repoze-who-plugins-digestauth/Manifest
deleted file mode 100644
index af20757..0000000
--- a/dev-python/repoze-who-plugins-digestauth/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST repoze.who.plugins.digestauth-0.1.1.tar.gz 16479 SHA256 4594155a1d4171d3935176c49b8b87048a03199e1cde83c2bff4e72e96b20a81 SHA512 48da3d18a6415a78c84f715f2fda45627d0b2104e0b52a6849dc1893499501941987f602d6e52bda73985293416d41f19887a0f79d5b1a64673a95dc2ca95813 WHIRLPOOL c0d7fe76830837bcf52d802295c2e0bbcf1aac9a0375d0818516628c860b435fbf676c169a57a16a11d22950711a366ea4124bffa8d775d3d9470d00aa7e71b6
diff --git a/dev-python/repoze-who-plugins-digestauth/files/repoze-who-plugins-digestauth-python3.patch b/dev-python/repoze-who-plugins-digestauth/files/repoze-who-plugins-digestauth-python3.patch
deleted file mode 100644
index 225bafd..0000000
--- a/dev-python/repoze-who-plugins-digestauth/files/repoze-who-plugins-digestauth-python3.patch
+++ /dev/null
@@ -1,121 +0,0 @@
-diff --git a/repoze/who/plugins/digestauth/__init__.py b/repoze/who/plugins/digestauth/__init__.py
-index 849361c..6e3414e 100644
---- a/repoze/who/plugins/digestauth/__init__.py
-+++ b/repoze/who/plugins/digestauth/__init__.py
-@@ -18,7 +18,7 @@ __ver_tuple__ = (__ver_major__, __ver_minor__, __ver_patch__, __ver_sub__)
- __version__ = "%d.%d.%d%s" % __ver_tuple__
-
-
--from zope.interface import implements
-+from zope.interface import implementer
-
- from repoze.who.interfaces import IIdentifier, IChallenger, IAuthenticator
- from repoze.who.utils import resolveDotted
-@@ -33,6 +33,7 @@ from repoze.who.plugins.digestauth.utils import (extract_digest_credentials,
- _ENVKEY_STALE_NONCE = "repoze.who.plugins.digestauth.stale_nonce"
-
-
-+@implementer(IIdentifier, IChallenger, IAuthenticator)
- class DigestAuthPlugin(object):
- """A repoze.who plugin for authentication via HTTP-Digest-Auth.
-
-@@ -76,8 +77,6 @@ class DigestAuthPlugin(object):
- suitable for most purposes.
- """
-
-- implements(IIdentifier, IChallenger, IAuthenticator)
--
- def __init__(self, realm, nonce_manager=None, domain=None, qop=None,
- get_password=None, get_pwdhash=None):
- if nonce_manager is None:
-@@ -244,7 +243,7 @@ class DigestAuthPlugin(object):
- # Escape any special characters in those values, so we can send
- # them as quoted-strings. The extra values added below are under
- # our control so we know they don't contain quotes.
-- for key, value in params.iteritems():
-+ for key, value in iter(params.items()):
- params[key] = value.replace('"', '\\"')
- # Mark the nonce as stale if told so by the environment.
- # NOTE: The RFC says the server "should only set stale to TRUE if
-@@ -255,7 +254,7 @@ class DigestAuthPlugin(object):
- params["stale"] = "TRUE"
- params["algorithm"] = "MD5"
- # Construct the final header as quoted-string k/v pairs.
-- value = ", ".join('%s="%s"' % itm for itm in params.iteritems())
-+ value = ", ".join('%s="%s"' % itm for itm in iter(params.items()))
- value = "Digest " + value
- return [("WWW-Authenticate", value)]
-
-diff --git a/repoze/who/plugins/digestauth/noncemanager.py b/repoze/who/plugins/digestauth/noncemanager.py
-index b819532..9bb44f8 100644
---- a/repoze/who/plugins/digestauth/noncemanager.py
-+++ b/repoze/who/plugins/digestauth/noncemanager.py
-@@ -13,6 +13,7 @@ import hmac
- import base64
- import heapq
- import threading
-+import binascii
- from hashlib import md5
-
- from repoze.who.plugins.digestauth.utils import strings_differ
-@@ -150,7 +151,7 @@ class SignedNonceManager(object):
- timestamp = timestamp[:-1]
- # Add some random bytes to avoid repeating nonces when several are
- # generated very close together.
-- data = "%s:%s" % (timestamp, os.urandom(3).encode("hex"))
-+ data = "%s:%s" % (timestamp, binascii.hexlify(os.urandom(3)))
- # Append the signature.
- sig = self._get_signature(data, environ)
- return "%s:%s" % (data, sig)
-@@ -243,8 +244,8 @@ class SignedNonceManager(object):
- """
- # We're using md5 for the digest; using something stronger
- # for the HMAC probably won't win us much.
-- sig = hmac.new(self.secret, value, md5)
-+ sig = hmac.new(self.secret, value.encode("ascii"), md5)
- for header in self.sign_headers:
-- sig.update("\x00")
-- sig.update(environ.get(header, ""))
-+ sig.update(b"\x00")
-+ sig.update(environ.get(header, "").encode("ascii"))
- return base64.b64encode(sig.digest())
-diff --git a/repoze/who/plugins/digestauth/tests.py b/repoze/who/plugins/digestauth/tests.py
-index bb5714f..c02340d 100644
---- a/repoze/who/plugins/digestauth/tests.py
-+++ b/repoze/who/plugins/digestauth/tests.py
-@@ -82,7 +82,7 @@ def build_response(environ, params, username, password, **kwds):
- params.setdefault("nc", "0000001")
- resp = calculate_digest_response(params, password=password)
- params["response"] = resp
-- authz = ",".join('%s="%s"' % v for v in params.iteritems())
-+ authz = ",".join('%s="%s"' % v for v in iter(params.items()))
- environ["HTTP_AUTHORIZATION"] = "Digest " + authz
- return params
-
-@@ -218,7 +218,7 @@ class TestDigestAuthPlugin(unittest.TestCase):
- self.assertEquals(resp, "6629fae49393a05397450978507c4ef1")
- # Check that we can auth using it.
- params["response"] = resp
-- authz = ",".join('%s="%s"' % v for v in params.iteritems())
-+ authz = ",".join('%s="%s"' % v for v in iter(params.items()))
- environ = make_environ(REQUEST_METHOD="GET",
- PATH_INFO="/dir/index.html",
- HTTP_AUTHORIZATION="Digest " + authz)
-diff --git a/repoze/who/plugins/digestauth/utils.py b/repoze/who/plugins/digestauth/utils.py
-index 767b54b..dee6290 100644
---- a/repoze/who/plugins/digestauth/utils.py
-+++ b/repoze/who/plugins/digestauth/utils.py
-@@ -10,9 +10,12 @@ Helper functions for repoze.who.plugins.digestauth.
- import re
- import base64
- import wsgiref.util
--from urlparse import urlparse
- from hashlib import md5
-
-+try:
-+ from urlparse import urlparse
-+except ImportError:
-+ from urllib.parse import urlparse
-
- # Regular expression matching a single param in the HTTP_AUTHORIZATION header.
- # This is basically <name>=<value> where <value> can be an unquoted token,
diff --git a/dev-python/repoze-who-plugins-digestauth/metadata.xml b/dev-python/repoze-who-plugins-digestauth/metadata.xml
deleted file mode 100644
index a61ca15..0000000
--- a/dev-python/repoze-who-plugins-digestauth/metadata.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>openstack</herd>
- <maintainer>
- <email>prometheanfire@gentoo.org</email>
- <name>Matthew Thode</name>
- </maintainer>
- <longdescription lang="en">
- an identification and authentication framework for WSGI.
- </longdescription>
- <upstream>
- <remote-id type="pypi">repoze.who</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/repoze-who-plugins-digestauth/repoze-who-plugins-digestauth-0.1.1.ebuild b/dev-python/repoze-who-plugins-digestauth/repoze-who-plugins-digestauth-0.1.1.ebuild
deleted file mode 100644
index 2bed07e..0000000
--- a/dev-python/repoze-who-plugins-digestauth/repoze-who-plugins-digestauth-0.1.1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
-
-inherit eutils distutils-r1
-
-MY_PN="${PN//-/.}"
-
-DESCRIPTION="repoze.who is an identification and authentication framework for WSGI"
-HOMEPAGE="http://www.repoze.org"
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="repoze"
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-IUSE=""
-
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
-"
-RDEPEND="
- dev-python/namespace-repoze[${PYTHON_USEDEP}]
- dev-python/webob[${PYTHON_USEDEP}]
- dev-python/zope-interface[${PYTHON_USEDEP}]
-"
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-python3.patch"
- default
-}
-
-python_test() {
- esetup.py test
-}
-
-python_install_all() {
- distutils-r1_python_install_all
-
- find "${D}" -name '*.pth' -delete || die
-}
diff --git a/dev-python/repoze-who/Manifest b/dev-python/repoze-who/Manifest
index 2e096dc..f358bbd 100644
--- a/dev-python/repoze-who/Manifest
+++ b/dev-python/repoze-who/Manifest
@@ -1 +1 @@
-DIST repoze.who-2.3.tar.gz 313128 SHA256 b95dadc1242acc55950115a629cfb1352669774b46d22def51400ca683efea28 SHA512 678823faa51761ef54116df7da3a2d8603bde56498ae906ffc7c53078fe4064c7bbaa7e31f1a1be46e8870846debcee518a5ddbfc6e06457d25f9dda3e303298 WHIRLPOOL 8b42653bb5e7251ba5b13c272fb72863d1fa03693e1b7f4bca90727415aa45f7466c2ed881133f9efccbe1f40658643a0957854f09a7f86c504434e89d9084d0
+DIST repoze.who-2.4.tar.gz 313408 SHA256 cf97450de3c8eb5c03b4037be75b018db91befab1094204e452a0b1c0f7a94a6 SHA512 0d27c5220fba9968a0b4685a4e7b03e9e55629ab8be6cb9795ee08d8effe13bc02d96d8df88634e82fcad5d87d010b3f1f0b5b6d5441edcfffa5298bfc28ec7f WHIRLPOOL b391df15dd2397179ecb7d962bbb89160dd5a4f45441752876b32370120454875dc62d88b8c2c3c77b038d5795a9a54b7314f3051eb85d0cd591818a5b53e776
diff --git a/dev-python/repoze-who/repoze-who-2.3.ebuild b/dev-python/repoze-who/repoze-who-2.4.ebuild
index fb3636b..0f7a9f3 100644
--- a/dev-python/repoze-who/repoze-who-2.3.ebuild
+++ b/dev-python/repoze-who/repoze-who-2.4.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1