/[gentoo-x86]/dev-python/hgtools/hgtools-6.0.ebuild
Gentoo

Contents of /dev-python/hgtools/hgtools-6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Apr 8 08:05:08 2015 UTC (5 years, 2 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/hgtools/hgtools-6.0.ebuild,v 1.3 2015/03/08 23:50:15 pacho Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
7
8 inherit distutils-r1 eutils
9
10 DESCRIPTION="Classes and setuptools plugin for Mercurial repositories"
11 HOMEPAGE="https://bitbucket.org/jaraco/hgtools/"
12 SRC_URI="mirror://pypi/h/${PN}/${P}.zip"
13
14 LICENSE="GPL-2"
15 KEYWORDS="amd64 x86"
16 SLOT="0"
17 IUSE="test"
18
19 DEPEND="app-arch/unzip
20 dev-python/setuptools[${PYTHON_USEDEP}]
21 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
22 RDEPEND="dev-vcs/mercurial"
23 DISTUTILS_IN_SOURCE_BUILD=1
24
25 python_test() {
26 pushd "${BUILD_DIR}"/../ > /dev/null
27 py.test "${PN}"/tests || die
28 }

  ViewVC Help
Powered by ViewVC 1.1.20