diff options
author | Tobias Klausmann <klausman@gentoo.org> | 2017-01-03 13:22:32 +0100 |
---|---|---|
committer | Tobias Klausmann <klausman@gentoo.org> | 2017-01-03 13:23:04 +0100 |
commit | 8a0a2796fac52a2359bfd231fecf8850d0172f8e (patch) | |
tree | 8a74e30a39f0967b4ded42a42a833035a55f1572 /app-admin | |
parent | media-sound/alsa-utils: fix out of Prefix errors by Matthias Gerstner, bug #6... (diff) | |
download | gentoo-8a0a2796fac52a2359bfd231fecf8850d0172f8e.tar.gz gentoo-8a0a2796fac52a2359bfd231fecf8850d0172f8e.tar.bz2 gentoo-8a0a2796fac52a2359bfd231fecf8850d0172f8e.zip |
app-admin/lib_users: Add new version 0.10
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
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/lib_users/Manifest | 1 | ||||
-rw-r--r-- | app-admin/lib_users/lib_users-0.10.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-admin/lib_users/Manifest b/app-admin/lib_users/Manifest index c543fce8986c..bf8c33f3e974 100644 --- a/app-admin/lib_users/Manifest +++ b/app-admin/lib_users/Manifest @@ -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 index 000000000000..0175a8f72e36 --- /dev/null +++ b/app-admin/lib_users/lib_users-0.10.ebuild @@ -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 +} |