commit:     cb2d1abbfa326dd7db33ff35da6124bda26ab809
Author:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  6 10:07:10 2020 +0000
Commit:     Tobias Klausmann <klausman <AT> gentoo <DOT> org>
CommitDate: Thu Feb  6 10:07:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb2d1abb

app-admin/lib_users: Add v0.14, drop Python 2 support

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Tobias Klausmann <klausman <AT> gentoo.org>

 app-admin/lib_users/Manifest              |  1 +
 app-admin/lib_users/lib_users-0.14.ebuild | 44 +++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/app-admin/lib_users/Manifest b/app-admin/lib_users/Manifest
index d6d01f2b949..8df6cc014b4 100644
--- a/app-admin/lib_users/Manifest
+++ b/app-admin/lib_users/Manifest
@@ -1 +1,2 @@
 DIST lib_users-0.13.tar.gz 25704 BLAKE2B 
895f8b721216339fe4306158bf6282353d79584573091cc4e7c63c8096a9f9cfe380a8bce7229f168e44fe5d3641ceb8c91bd751316a6c6a467ace4ec0dce723
 SHA512 
588af7068728810832bcf4d1526f271e255d07c75d152fb41844c66f3598a71e9a96bee3426b31b58cd26af889bc42c0a7248731fdfe3623fd4567d2b6b7275e
+DIST lib_users-0.14.tar.gz 25746 BLAKE2B 
4aa2dbbd7c53be13f79988a62c7997f0787ea9b773fc57681a021ff75ba9ff0988ac3032b21150c4e4958849a6195df09d388b6341e1ac139f34ce9555786233
 SHA512 
533c6e8f486e58d0fd22aea9a30adf91c3a8340a8a3719f6374ddfa8120d402c8202ab8ceb0e78aedd46e3e5875795392ed40497a66d51de5c2ca6a275a1a777

diff --git a/app-admin/lib_users/lib_users-0.14.ebuild 
b/app-admin/lib_users/lib_users-0.14.ebuild
new file mode 100644
index 00000000000..d60d1389843
--- /dev/null
+++ b/app-admin/lib_users/lib_users-0.14.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_6,3_7} )
+
+inherit python-r1
+
+DESCRIPTION="Check for mapped libs and open files that are marked as deleted"
+HOMEPAGE="https://github.com/klausman/lib_users";
+SRC_URI="https://github.com/klausman/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+       )"
+RDEPEND="${PYTHON_DEPS}"
+
+src_test() {
+       python_foreach_impl nosetests --verbosity=2
+}
+
+my_install() {
+       python_newscript lib_users.py lib_users
+       python_newscript fd_users.py fd_users
+       # lib_users_util/ contains a test script we don't want, so do things by 
hand
+       python_moduleinto lib_users_util
+       python_domodule lib_users_util/common.py
+       python_domodule lib_users_util/__init__.py
+}
+
+src_install() {
+       python_foreach_impl my_install
+       dodoc README.md TODO
+}

Reply via email to