net-libs/openpgm: Make compatible with py2

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=492974

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-08-24 12:29:47 +02:00
parent f7eb1c2cb7
commit 5e8438f8c6
2 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_AUTORECONF=true
PYTHON_COMPAT=( python2_7 )
inherit autotools-utils python-any-r1
DESCRIPTION="Open source implementation of the Pragmatic General Multicast specification"
HOMEPAGE="http://code.google.com/p/openpgm"
SRC_URI="http://openpgm.googlecode.com/files/libpgm-${PV}~dfsg.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
S="${WORKDIR}/libpgm-${PV}~dfsg/${PN}/pgm"
src_install() {
DOCS=( "${S}"/../doc/. "${S}"/README )
autotools-utils_src_install
}

View File

@@ -18,6 +18,8 @@ SLOT="0"
KEYWORDS="amd64 arm hppa ppc ppc64 x86 ~x86-fbsd"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="${PYTHON_DEPS}"
S="${WORKDIR}/libpgm-${PV}~dfsg/${PN}/pgm"