diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-04-12 03:41:30 +0100 |
commit | 623ee73d661e5ed8475cb264511f683407d87365 (patch) | |
tree | 993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/mockldap | |
parent | ceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff) |
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/mockldap')
-rw-r--r-- | dev-python/mockldap/Manifest | 5 | ||||
-rw-r--r-- | dev-python/mockldap/files/mapping.patch | 12 | ||||
-rw-r--r-- | dev-python/mockldap/files/python-ldap-3.patch | 47 | ||||
-rw-r--r-- | dev-python/mockldap/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/mockldap/mockldap-0.3.0.ebuild | 50 |
5 files changed, 0 insertions, 126 deletions
diff --git a/dev-python/mockldap/Manifest b/dev-python/mockldap/Manifest deleted file mode 100644 index 2974bd85c449..000000000000 --- a/dev-python/mockldap/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX mapping.patch 444 BLAKE2B 5d7da6146cb68d71d367900da68e7b1d18cf789c5df7ba4c614e32f6b8c18e17fe0c03c1bbb599438d052ed241590634c6011497adbe0128544b93294ab464af SHA512 09836864043b8f9d7e8eee7ed9bb2613d3ec34b90a1af3fc30239c54ea901a13b7ab89bdd3dc49a42873de783d1f622cc8b691b02f48b04947dd3667b4dc4fda -AUX python-ldap-3.patch 1541 BLAKE2B 28a7ee4636c00a78ebcbbeaa86a33fe3e962d0fe8457a2e48817da48fcc2f6d3b1fc7dbdab785795f2a42e735f969fc63b3858634ee8e6ea63bfe754c44ce973 SHA512 ff112f3f0b5646d745c88319ed66bedf97b8c3b8b80ac84ea836f2fc6cc9427fcc600980bc3fc5c31f0ec8de73e23ca60bb9ff4b9ba6a11b2dae8382867fc2d7 -DIST mockldap-0.3.0.tar.gz 18973 BLAKE2B d13665afb0fbbb8095036ab7576ff5a8c77f5711a0c6ec96032924191ff8b86f16031895ec7c1d8a0c67993121a70b2d62d645e5a2a4df713e48d82e2fe0e1e7 SHA512 0af4cf1762e280024525e8fbf897493925b91393311b36beec83dfb152c1dda5b8c7e45ddd10c02ea329a62b25133a4113a0a12292dcc669416ed4cebcabbaa8 -EBUILD mockldap-0.3.0.ebuild 1234 BLAKE2B ca18ba1971e7d9eff54e89bbdd3363718d8763a6d93bc0e77a5e52988b6882dd0e64030e7c815ff205d859d6c95242e6ce131ec236d01b9a6a7dcd2bb5c417ce SHA512 20efdfb1f5b9634afdf0f2cb84c167797cebc28fd06bd787ce602c0248d0b729307706cc8040da3b66748a0d241f560463d45f5933e984839519fb61bf7de30b -MISC metadata.xml 382 BLAKE2B ad5c85cdb04b4f63756abdfbeda8c5f7b5a03a763c0249119a8d8bd2cc72d4283217731b4abe0dd8b90d607ec9309c42d82b8292f75b1884c41a439331df263c SHA512 2b137abc6da4c0782249954a50bdf8d6ba9dd0254e04afdc5e0d7f5406a0451c78c2ed8b8fbc0c2214eb04a3ad842b250dc1910327cdab58fa5aa43f0de296da diff --git a/dev-python/mockldap/files/mapping.patch b/dev-python/mockldap/files/mapping.patch deleted file mode 100644 index b8c25eca5833..000000000000 --- a/dev-python/mockldap/files/mapping.patch +++ /dev/null @@ -1,12 +0,0 @@ -Disable un-needed d'loading during doc build -diff -ur mockldap-0.1.7.orig/docs/source/conf.py mockldap-0.1.7/docs/source/conf.py ---- a/docs/source/conf.py 2014-03-08 00:51:00.000000000 +0800 -+++ b/docs/source/conf.py 2014-04-12 16:04:52.113446583 +0800 -@@ -28,7 +28,6 @@ - # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. - extensions = [ - 'sphinx.ext.autodoc', -- 'sphinx.ext.intersphinx', - 'sphinx.ext.viewcode', - ] - diff --git a/dev-python/mockldap/files/python-ldap-3.patch b/dev-python/mockldap/files/python-ldap-3.patch deleted file mode 100644 index e047032ed56c..000000000000 --- a/dev-python/mockldap/files/python-ldap-3.patch +++ /dev/null @@ -1,47 +0,0 @@ -# HG changeset patch -# User Jon Dufresne <jon.dufresne@gmail.com> -# Date 1521133853 25200 -# Node ID c938f5b558833dd290bbdcbde26c97a6bbfea623 -# Parent 8784bdea1cb29b2a5b5d21045b024880ab84c05d -Unify Python 2 and 3 dependency on python-ldap >= 3.0 - -python-ldap now supports both Python 2 and 3. The pyldap package is -deprecated. The project recommends switching to python-ldap instead. -From the github page: - -https://github.com/pyldap/pyldap - -> THIS FORK IS DEPRECATED -> -> The pyldap fork was merged back into python-ldap, and released as -> python-ldap 3.0.0b1. - -diff --git a/README b/README ---- a/README -+++ b/README -@@ -1,6 +1,6 @@ --This project provides a mock replacement for python-ldap (pyldap on Python --3). It's useful for any project that would like to write unit tests against --LDAP code without relying on a running LDAP server. -+This project provides a mock replacement for python-ldap. It's useful for any -+project that would like to write unit tests against LDAP code without relying -+on a running LDAP server. - - * Repository: https://bitbucket.org/psagers/mockldap - * Documentation: https://mockldap.readthedocs.io/ -diff --git a/setup.py b/setup.py ---- a/setup.py -+++ b/setup.py -@@ -40,11 +40,8 @@ - keywords=['mock', 'ldap'], - install_requires=[ - 'funcparserlib == 0.3.6', -- -- 'pyldap; python_version >= "3.0"', -- 'python-ldap >= 2.0; python_version < "3.0"', -- - 'mock; python_version < "3.0"', -+ 'python-ldap >= 3.0', - ], - setup_requires=[ - 'setuptools >= 0.6c11', diff --git a/dev-python/mockldap/metadata.xml b/dev-python/mockldap/metadata.xml deleted file mode 100644 index 210ea1c3b2e4..000000000000 --- a/dev-python/mockldap/metadata.xml +++ /dev/null @@ -1,12 +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">mockldap</remote-id> - <remote-id type="bitbucket">psagers/mockldap</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/mockldap/mockldap-0.3.0.ebuild b/dev-python/mockldap/mockldap-0.3.0.ebuild deleted file mode 100644 index 32a86dee39e4..000000000000 --- a/dev-python/mockldap/mockldap-0.3.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_6 ) - -inherit distutils-r1 eutils - -DESCRIPTION="A simple mock implementation of python-ldap" -HOMEPAGE="https://bitbucket.org/psagers/mockldap/ https://pypi.org/project/mockldap/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc" - -RDEPEND=" - ~dev-python/funcparserlib-0.3.6[${PYTHON_USEDEP}] - virtual/python-unittest-mock[${PYTHON_USEDEP}] - >=dev-python/python-ldap-3.0[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-python/setuptools[${PYTHON_USEDEP}] - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -# Tests are not distributed as part of the release -RESTRICT="test" - -# Disable un-needed d'loading during doc build -# Import python-ldap 3.0 instead as a requirement from upstream -PATCHES=( "${FILESDIR}"/mapping.patch "${FILESDIR}"/python-ldap-3.patch ) - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/build/html/. ) - distutils-r1_python_install_all -} - -pkg_postinst() { - optfeature "hashed password support" dev-python/passlib -} |