app-admin/lib_users: Add new version 0.10
authorTobias Klausmann <klausman@gentoo.org>
Tue, 3 Jan 2017 12:22:32 +0000 (13:22 +0100)
committerTobias Klausmann <klausman@gentoo.org>
Tue, 3 Jan 2017 12:23:04 +0000 (13:23 +0100)
This has a new dependency (dev-python/backports-unittest-mock), so drop
keywords until that is fixed.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-admin/lib_users/Manifest
app-admin/lib_users/lib_users-0.10.ebuild [new file with mode: 0644]

index c543fce8986c22edd6ac82eb5eec6437130b1c3e..bf8c33f3e974333470a5e51dbec0a808fe5e6155 100644 (file)
@@ -1 +1,2 @@
+DIST lib_users-0.10.tar.gz 25636 SHA256 2ccee6967c7da935441cb7f57112f15373ddaafe2f2915744caf271c308c9c98 SHA512 dee8203457570f686df69dc91d71614b462845c848a3445fd9b9f94047fdba8171cc2555fa4299bc4c361905d488c1f17cee4ab0e99899f37995377d6011805a WHIRLPOOL 310d5c187c7c3cd6a4be5dd4282709aeeea9941dea0f2466e80156bd8577e72a0cfe2b92df43a26d2198e7dc7d6320eb34e3e86311c9db956517dc48b856b8b4
 DIST lib_users-0.9.tar.gz 22992 SHA256 361db39b14b9512b438cf96b2b9978c6b5c88abbc2c0b7227940e7e816fdcf1c SHA512 d4c10398d69410fc3d48a151c446105ed232fdca9ef68c3f0f1df903739b798762d6bf958dc08472e90151560d8a625b4ab8b5f5d89521918369ceadf2b85b19 WHIRLPOOL 312aaa05b10681a0eff7997ea8d1e359bd757b888fe6fadb29ef3370cc482371d65d14e06dc6887cefda0aee3bd65232ffcd06477e536e4d2c82996c27f60425
diff --git a/app-admin/lib_users/lib_users-0.10.ebuild b/app-admin/lib_users/lib_users-0.10.ebuild
new file mode 100644 (file)
index 0000000..0175a8f
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+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="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+       test? (
+               dev-python/nose[${PYTHON_USEDEP}]
+               dev-python/backports-unittest-mock[${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
+}