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 2FDD51382CD for ; Sat, 25 Jun 2016 08:26:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DC41E0AEE; Sat, 25 Jun 2016 08:26:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7E3DE0AEE for ; Sat, 25 Jun 2016 08:26:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 676E3340AF3 for ; Sat, 25 Jun 2016 08:26:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8471FFC for ; Sat, 25 Jun 2016 08:26:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1466843167.e0bb606583c700f2ed739ae22d6514e5bd8bf659.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/iguanaIR/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild X-VCS-Directories: app-misc/iguanaIR/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e0bb606583c700f2ed739ae22d6514e5bd8bf659 X-VCS-Branch: master Date: Sat, 25 Jun 2016 08:26:38 +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: b1a59d21-18a5-48c8-8d25-578d948b18d2 X-Archives-Hash: 3bf5047b54fe701413acf09658321a1e commit: e0bb606583c700f2ed739ae22d6514e5bd8bf659 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 25 07:37:59 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 25 08:26:07 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0bb6065 app-misc/iguanaIR: Convert to python-single-r1 app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild | 49 ++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild b/app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild new file mode 100644 index 0000000..debe3dc --- /dev/null +++ b/app-misc/iguanaIR/iguanaIR-1.0.1-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 user + +DESCRIPTION="library for Irman control of Unix software" +HOMEPAGE="http://iguanaworks.net/index.php" +SRC_URI="http://iguanaworks.net/downloads/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="" + +# sys-apps/lsb-release is used by the init script for detecting Gentoo +RDEPEND="dev-libs/popt + sys-apps/lsb-release + virtual/libusb:0 + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + >=dev-lang/swig-2.0.0" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +pkg_setup() { + enewgroup iguanair + enewuser iguanair -1 -1 -1 'iguanair,usb' + + python-single-r1_pkg_setup +} + +src_prepare() { + default + # Working around bug in SWIG version checking + sed -i -e 's:1.3.31:2.0.0:g' configure || die +} + +src_install() { + default + python_optimize + + dodoc WHY notes.txt protocols.txt + + rm -f docs/{Makefile,pullDocs} || die + dodoc -r docs +}