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

34 lines
900 B
Bash

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
PYTHON_COMPAT=( python2_{6,7} )
inherit distutils-r1 versionator
COMMIT="8a171a28cd365e67e71856a7dfdd66d9c3bed8b8"
DESCRIPTION="Party - Customer Id Module"
HOMEPAGE="http://www.tryton.org/"
SRC_URI="https://dev.unitas-network.de/zip/?r=Tryton/trytond_party_customerid.git&h=${COMMIT}&format=gz -> trytond_${P}.tar.gz"
https://office.unitas-network.de/zip/?r=Tryton/trytond_party_customerid.git&h=${COMMIT}&format=gz
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="=app-office/trytond-$(get_version_component_range 1-2)*
=app-tryton/party-$(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
}