unitas/app-tryton/locale_unitas/locale_unitas-4.2.0.ebuild

37 lines
1019 B
Bash
Raw Normal View History

2017-04-10 14:53:45 +02:00
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="6"
PYTHON_COMPAT=( python2_{6,7} )
inherit distutils-r1 versionator
COMMIT="24dc04e955563cbbe94d1bbccfa8a2267d982980"
DESCRIPTION="Locale Unitas Module"
HOMEPAGE="http://www.tryton.org/"
SRC_URI="https://dev.unitas-network.de/zip/?r=Tryton/trytond_${PN}.git&h=${COMMIT}&format=gz -> trytond_${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="=app-office/trytond-$(get_version_component_range 1-2)*
=app-tryton/account_invoice-$(get_version_component_range 1-2)*
=app-tryton/company-$(get_version_component_range 1-2)*
=app-tryton/purchase-$(get_version_component_range 1-2)*
=app-tryton/sale-$(get_version_component_range 1-2)*
=app-tryton/stock-$(get_version_component_range 1-2)*"
DEPEND="${RDEPEND}
dev-python/setuptools
test? ( dev-lang/python[sqlite] )"
S=${WORKDIR}
DOCS="CHANGELOG COPYRIGHT README"
python_test() {
esetup.py test || die
}