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: Tue, 03 Jan 2017 12:23:11
Message-Id: 1483446184.8a0a2796fac52a2359bfd231fecf8850d0172f8e.klausman@gentoo
1 commit: 8a0a2796fac52a2359bfd231fecf8850d0172f8e
2 Author: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 3 12:22:32 2017 +0000
4 Commit: Tobias Klausmann <klausman <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 3 12:23:04 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a0a2796
7
8 app-admin/lib_users: Add new version 0.10
9
10 This has a new dependency (dev-python/backports-unittest-mock), so drop
11 keywords until that is fixed.
12
13 Package-Manager: Portage-2.3.3, Repoman-2.3.1
14
15 app-admin/lib_users/Manifest | 1 +
16 app-admin/lib_users/lib_users-0.10.ebuild | 45 +++++++++++++++++++++++++++++++
17 2 files changed, 46 insertions(+)
18
19 diff --git a/app-admin/lib_users/Manifest b/app-admin/lib_users/Manifest
20 index c543fce..bf8c33f 100644
21 --- a/app-admin/lib_users/Manifest
22 +++ b/app-admin/lib_users/Manifest
23 @@ -1 +1,2 @@
24 +DIST lib_users-0.10.tar.gz 25636 SHA256 2ccee6967c7da935441cb7f57112f15373ddaafe2f2915744caf271c308c9c98 SHA512 dee8203457570f686df69dc91d71614b462845c848a3445fd9b9f94047fdba8171cc2555fa4299bc4c361905d488c1f17cee4ab0e99899f37995377d6011805a WHIRLPOOL 310d5c187c7c3cd6a4be5dd4282709aeeea9941dea0f2466e80156bd8577e72a0cfe2b92df43a26d2198e7dc7d6320eb34e3e86311c9db956517dc48b856b8b4
25 DIST lib_users-0.9.tar.gz 22992 SHA256 361db39b14b9512b438cf96b2b9978c6b5c88abbc2c0b7227940e7e816fdcf1c SHA512 d4c10398d69410fc3d48a151c446105ed232fdca9ef68c3f0f1df903739b798762d6bf958dc08472e90151560d8a625b4ab8b5f5d89521918369ceadf2b85b19 WHIRLPOOL 312aaa05b10681a0eff7997ea8d1e359bd757b888fe6fadb29ef3370cc482371d65d14e06dc6887cefda0aee3bd65232ffcd06477e536e4d2c82996c27f60425
26
27 diff --git a/app-admin/lib_users/lib_users-0.10.ebuild b/app-admin/lib_users/lib_users-0.10.ebuild
28 new file mode 100644
29 index 00000000..0175a8f
30 --- /dev/null
31 +++ b/app-admin/lib_users/lib_users-0.10.ebuild
32 @@ -0,0 +1,45 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
40 +
41 +inherit python-r1
42 +
43 +DESCRIPTION="Check for mapped libs and open files that are marked as deleted"
44 +HOMEPAGE="https://github.com/klausman/lib_users"
45 +SRC_URI="https://github.com/klausman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
50 +IUSE="test"
51 +
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
54 +DEPEND="${PYTHON_DEPS}
55 + test? (
56 + dev-python/nose[${PYTHON_USEDEP}]
57 + dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
58 + )"
59 +RDEPEND="${PYTHON_DEPS}"
60 +
61 +src_test() {
62 + python_foreach_impl nosetests --verbosity=2
63 +}
64 +
65 +my_install() {
66 + python_newscript lib_users.py lib_users
67 + python_newscript fd_users.py fd_users
68 + # lib_users_util/ contains a test script we don't want, so do things by hand
69 + python_moduleinto lib_users_util
70 + python_domodule lib_users_util/common.py
71 + python_domodule lib_users_util/__init__.py
72 +}
73 +
74 +src_install() {
75 + python_foreach_impl my_install
76 + dodoc README.md TODO
77 +}