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

34 lines
814 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="dc109359ba812fca6e1e2cf96941aee70e3b7415"
DESCRIPTION="Party - Customer Id Module"
HOMEPAGE="http://www.tryton.org/"
SRC_URI="https://office.unitas-network.de/gitblit/zip/?r=tryton/trytond_party_customerid.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/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
}