Gentoo Archives: gentoo-commits

From: Tobias Klausmann <klausman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/lib_users/
Date: Wed, 11 Jul 2018 08:27:54
Message-Id: 1531297663.8f9880fc5514b9e4af205c5a4906c1170f4ecce5.klausman@gentoo
1 commit: 8f9880fc5514b9e4af205c5a4906c1170f4ecce5
2 Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 11 08:27:01 2018 +0000
4 Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 11 08:27:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f9880fc
7
8 app-admin/lib_users: Add v0.11
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 app-admin/lib_users/Manifest | 1 +
13 app-admin/lib_users/lib_users-0.11.ebuild | 44 +++++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/app-admin/lib_users/Manifest b/app-admin/lib_users/Manifest
17 index 4ba224f3127..d2bcc06986c 100644
18 --- a/app-admin/lib_users/Manifest
19 +++ b/app-admin/lib_users/Manifest
20 @@ -1 +1,2 @@
21 DIST lib_users-0.10.tar.gz 25636 BLAKE2B 6e660b80ef75f71d47f4783dc741e8b0c17f3cfe31296c5624adcfed5836a0b86964f042eafb5b34e259a824c79efb537558d625bc16d07fb388d61ece7c6329 SHA512 dee8203457570f686df69dc91d71614b462845c848a3445fd9b9f94047fdba8171cc2555fa4299bc4c361905d488c1f17cee4ab0e99899f37995377d6011805a
22 +DIST lib_users-0.11.tar.gz 25660 BLAKE2B 8f5a827840d4074a0e8abd77e43f60eb09f199f58a2bde0c2bce7613d6ba1d9b12dd46adffa528ff351f54933c304f274abef9c35550d7af3519101dcec69d0a SHA512 a54fc8f57cffcd08e77e86eaf50ec6e68e45e1e9458e25e035af90e14be13980a400c4d264f70ef67e141e1d54581b0487b2b70dd084dc5840424221b46f644a
23
24 diff --git a/app-admin/lib_users/lib_users-0.11.ebuild b/app-admin/lib_users/lib_users-0.11.ebuild
25 new file mode 100644
26 index 00000000000..32a7d7827f3
27 --- /dev/null
28 +++ b/app-admin/lib_users/lib_users-0.11.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +
35 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
36 +
37 +inherit python-r1
38 +
39 +DESCRIPTION="Check for mapped libs and open files that are marked as deleted"
40 +HOMEPAGE="https://github.com/klausman/lib_users"
41 +SRC_URI="https://github.com/klausman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
46 +IUSE="test"
47 +
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +DEPEND="${PYTHON_DEPS}
51 + test? (
52 + dev-python/nose[${PYTHON_USEDEP}]
53 + dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
54 + )"
55 +RDEPEND="${PYTHON_DEPS}"
56 +
57 +src_test() {
58 + python_foreach_impl nosetests --verbosity=2
59 +}
60 +
61 +my_install() {
62 + python_newscript lib_users.py lib_users
63 + python_newscript fd_users.py fd_users
64 + # lib_users_util/ contains a test script we don't want, so do things by hand
65 + python_moduleinto lib_users_util
66 + python_domodule lib_users_util/common.py
67 + python_domodule lib_users_util/__init__.py
68 +}
69 +
70 +src_install() {
71 + python_foreach_impl my_install
72 + dodoc README.md TODO
73 +}