You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/sys-apps/calculate-lib/calculate-lib-2.1.12-r7.ebuild

38 lines
1.0 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
PYTHON_COMPAT=( python2_7 )
DISTUTILS_USE_SETUPTOOLS=manual
inherit distutils2 eutils
SRC_URI="ftp://ftp.calculate-linux.org/calculate/source/calculate2/${PN}/${P}.tar.bz2
http://mirror.yandex.ru/calculate/source/calculate2/${PN}/${P}.tar.bz2"
DESCRIPTION="The library for Calculate 2"
HOMEPAGE="http://www.calculate-linux.org/main/en/calculate2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND="!<sys-apps/calculate-client-2.1.12
!<sys-apps/calculate-server-2.1.11
>=dev-python/python2-ldap-2.0[ssl]
dev-python/setuptools-python2[${PYTHON_USEDEP}]
>=dev-python/pyxml-0.8"
RDEPEND="${DEPEND}"
src_unpack() {
unpack "${A}"
cd "${S}"
# fix work with calculate.env
epatch "${FILESDIR}/calculate-lib-2.1.12-fix_env.patch"
# fix dhcp format
epatch "${FILESDIR}/calculate-lib-2.1.12-fix_dhcp.patch"
# fix net interfaces detect
epatch "${FILESDIR}/calculate-lib-2.1.12-fix_bond.patch"
}