Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/ssh-ldap-pubkey/
Date: Mon, 14 Jun 2021 09:20:05
Message-Id: 1623662361.80f2c3f0a5afc8ec16545f6f8d1db5efc2e52c73.soap@gentoo
1 commit: 80f2c3f0a5afc8ec16545f6f8d1db5efc2e52c73
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 09:19:21 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 09:19:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80f2c3f0
7
8 sys-auth/ssh-ldap-pubkey: drop 1.3.2
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 sys-auth/ssh-ldap-pubkey/Manifest | 1 -
13 .../ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.2.ebuild | 71 ----------------------
14 2 files changed, 72 deletions(-)
15
16 diff --git a/sys-auth/ssh-ldap-pubkey/Manifest b/sys-auth/ssh-ldap-pubkey/Manifest
17 index e7fba398136..2316da6720b 100644
18 --- a/sys-auth/ssh-ldap-pubkey/Manifest
19 +++ b/sys-auth/ssh-ldap-pubkey/Manifest
20 @@ -1,2 +1 @@
21 -DIST ssh-ldap-pubkey-1.3.2.tar.gz 15311 BLAKE2B a8119b9808de556184c7f88c86b657d5d342e476b27cf53d92f37b8e9d3db69182b55c62a636bec6624c5d1aa2a90e3a04a22ce5ee8020ada27582b1ac6eefa3 SHA512 8475715151f331017850c094a50bd285574533fa6266341effc83f758ca30af9b9c24b54fce8c3eac5441c5cf18b0d7aa91bb04829b71efc4b8dcacba3642415
22 DIST ssh-ldap-pubkey-1.3.3.tar.gz 15389 BLAKE2B 24c741646e33cf7af400053eff17efa35b96ec418d1c2b8c370a371dde51fdbbb3af3423f0cc4374f61b302f9836601444ee72613388fa2d4445957f918d64f9 SHA512 b52d4de3e0704817e8ea0fb316c21646da1bac74ed226812c03f9ee5ae449a86e5ef4c679633d212db05382e216b254a185e29d4a2244318ad5de288b909254a
23
24 diff --git a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.2.ebuild b/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.2.ebuild
25 deleted file mode 100644
26 index 8b28be2a5b7..00000000000
27 --- a/sys-auth/ssh-ldap-pubkey/ssh-ldap-pubkey-1.3.2.ebuild
28 +++ /dev/null
29 @@ -1,71 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="7"
34 -
35 -PYTHON_COMPAT=( python3_{7,8} )
36 -inherit distutils-r1
37 -
38 -DESCRIPTION="Utility to manage SSH public keys stored in LDAP"
39 -HOMEPAGE="https://github.com/jirutka/ssh-ldap-pubkey"
40 -
41 -if [[ ${PV} == "9999" ]]; then
42 - EGIT_REPO_URI="https://github.com/jirutka/${PN}/${PN}.git"
43 -
44 - inherit git-r3
45 -else
46 - SRC_URI="https://github.com/jirutka/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
48 -fi
49 -
50 -LICENSE="MIT"
51 -SLOT="0"
52 -IUSE="schema test"
53 -RESTRICT="!test? ( test )"
54 -
55 -MY_CDEPEND="
56 - dev-python/docopt[${PYTHON_USEDEP}]
57 - >=dev-python/python-ldap-3.0[${PYTHON_USEDEP}]
58 - virtual/logger"
59 -
60 -DEPEND="
61 - ${MY_CDEPEND}
62 - dev-python/setuptools[${PYTHON_USEDEP}]
63 - test? (
64 - dev-python/pytest[${PYTHON_USEDEP}]
65 - dev-python/pytest-describe[${PYTHON_USEDEP}]
66 - dev-python/pytest-mock[${PYTHON_USEDEP}]
67 - )"
68 -
69 -# We need to block previous net-misc/openssh packages
70 -# to avoid file collision on "/etc/openldap/schema/openssh-lpk.schema"
71 -RDEPEND="${MY_CDEPEND}
72 - schema? ( !net-misc/openssh[ldap] )"
73 -
74 -DOCS=( README.md CHANGELOG.adoc )
75 -
76 -src_prepare() {
77 - sed -i -e 's/pyldap/python-ldap >= 3.0/' setup.py || die
78 - distutils-r1_src_prepare
79 -}
80 -
81 -python_test() {
82 - pytest -vv || die "Tests failed under ${EPYTHON}"
83 -}
84 -
85 -python_install_all() {
86 - distutils-r1_python_install_all
87 -
88 - if use schema; then
89 - insinto /etc/openldap/schema
90 - doins etc/openssh-lpk.schema
91 - fi
92 -
93 - local MY_DOCDIR="/usr/share/doc/${PF}/examples"
94 - insinto "${MY_DOCDIR}"
95 - doins etc/ldap.conf
96 -
97 - # We don't want to compress this small file to allow user
98 - # to diff configuration against upstream's default
99 - docompress -x "${MY_DOCDIR}"
100 -}