From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id ECE2B1384B4 for ; Fri, 1 Jan 2016 19:09:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D243E084C; Fri, 1 Jan 2016 19:09:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0F64BE084C for ; Fri, 1 Jan 2016 19:09:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A858934067D for ; Fri, 1 Jan 2016 19:09:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FA5C74F for ; Fri, 1 Jan 2016 19:09:45 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1451675380.3f1eca2bad3105fa709323298a683a9f55f9e627.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/nsscache/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-nds/nsscache/nsscache-0.23-r1.ebuild X-VCS-Directories: net-nds/nsscache/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 3f1eca2bad3105fa709323298a683a9f55f9e627 X-VCS-Branch: master Date: Fri, 1 Jan 2016 19:09:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cda21111-ee8a-4e32-ab8a-ec003fb0cadf X-Archives-Hash: 71e2fd7571ba4318bbbf414dae51e58a commit: 3f1eca2bad3105fa709323298a683a9f55f9e627 Author: Robin H. Johnson gentoo org> AuthorDate: Fri Jan 1 19:09:18 2016 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Fri Jan 1 19:09:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f1eca2b net-nds/nsscache: dev-python/bsddb3 port, also newer python eclass usage Package-Manager: portage-2.2.24 net-nds/nsscache/nsscache-0.23-r1.ebuild | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/net-nds/nsscache/nsscache-0.23-r1.ebuild b/net-nds/nsscache/nsscache-0.23-r1.ebuild new file mode 100644 index 0000000..aaa5aad --- /dev/null +++ b/net-nds/nsscache/nsscache-0.23-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils distutils-r1 + +DESCRIPTION="commandline tool to sync directory services to local cache" +HOMEPAGE="https://github.com/google/nsscache" +SRC_URI="https://nsscache.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +IUSE="nssdb nsscache" + +DEPEND="${PYTHON_DEPS} + dev-python/python-ldap[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + nssdb? ( dev-python/bsddb3[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND} + nssdb? ( sys-libs/nss-db ) + nsscache? ( >=sys-auth/libnss-cache-0.10 )" +RESTRICT="test" + +src_prepare() { + find "${S}" -name '*.py' -exec \ + sed -i '/^import bsddb$/s,bsddb,bsddb3 as bsddb,g' \ + {} \+ + distutils-r1_src_prepare +} + +src_install() { + distutils-r1_src_install + + doman nsscache.1 nsscache.conf.5 + dodoc THANKS nsscache.cron + + keepdir /var/lib/nsscache +}