diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-01-06 23:07:24 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-01-06 23:07:24 +0000 |
commit | acaa55e4926a6bb42f091cf84e584d4b8da40ed9 (patch) | |
tree | 63554e28af9739e725b54b89f9792ff222aabbce /dev-python/hgtools | |
parent | Obsessing over the DESCRIPTION (diff) | |
download | gentoo-2-acaa55e4926a6bb42f091cf84e584d4b8da40ed9.tar.gz gentoo-2-acaa55e4926a6bb42f091cf84e584d4b8da40ed9.tar.bz2 gentoo-2-acaa55e4926a6bb42f091cf84e584d4b8da40ed9.zip |
Clean up the ebuild. Add a dep on mercurial, and use-deps on other Python packages. Enable more implementations. Fix running tests. Add Python team as a co-maintainer.
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/hgtools')
-rw-r--r-- | dev-python/hgtools/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/hgtools/hgtools-2.0.2.ebuild | 20 | ||||
-rw-r--r-- | dev-python/hgtools/metadata.xml | 23 |
3 files changed, 30 insertions, 21 deletions
diff --git a/dev-python/hgtools/ChangeLog b/dev-python/hgtools/ChangeLog index 4e235766816a..690d623b081f 100644 --- a/dev-python/hgtools/ChangeLog +++ b/dev-python/hgtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/hgtools # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/hgtools/ChangeLog,v 1.4 2013/01/01 08:12:01 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/hgtools/ChangeLog,v 1.5 2013/01/06 23:07:24 mgorny Exp $ + + 06 Jan 2013; Michał Górny <mgorny@gentoo.org> hgtools-2.0.2.ebuild, + metadata.xml: + Clean up the ebuild. Add a dep on mercurial, and use-deps on other Python + packages. Enable more implementations. Fix running tests. Add Python team as a + co-maintainer. 01 Jan 2013; Matthew Thode <prometheanfire@gentoo.org> hgtools-2.0.2.ebuild: update to eapi5 and distutils-r1 diff --git a/dev-python/hgtools/hgtools-2.0.2.ebuild b/dev-python/hgtools/hgtools-2.0.2.ebuild index 0e05094ad10c..3dfd06aad782 100644 --- a/dev-python/hgtools/hgtools-2.0.2.ebuild +++ b/dev-python/hgtools/hgtools-2.0.2.ebuild @@ -1,25 +1,27 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/hgtools/hgtools-2.0.2.ebuild,v 1.4 2013/01/01 08:12:01 prometheanfire Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/hgtools/hgtools-2.0.2.ebuild,v 1.5 2013/01/06 23:07:24 mgorny Exp $ EAPI=5 -PYTHON_COMPAT=( python2_5 python2_6 python2_7 ) +# python3.2+: bug #450666 (doctest failure) +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_9,2_0} ) inherit distutils-r1 -MY_PN=${PN#python-} -S="${WORKDIR}/${MY_PN}-${PV}" DESCRIPTION="Classes and setuptools plugin for Mercurial repositories" HOMEPAGE="https://bitbucket.org/jaraco/hgtools/" -SRC_URI="mirror://pypi/h/${MY_PN}/${MY_PN}-${PV}.zip" +SRC_URI="mirror://pypi/h/${PN}/${P}.zip" + LICENSE="GPL-2" KEYWORDS="~amd64 ~x86" SLOT="0" IUSE="test" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - test? ( dev-python/py )" -RDEPEND="" + +DEPEND="app-arch/unzip + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND="dev-vcs/mercurial" python_test() { - "${PYTHON}" setup.py test + py.test "${BUILD_DIR}"/lib test || die } diff --git a/dev-python/hgtools/metadata.xml b/dev-python/hgtools/metadata.xml index 0ced3d080139..81ed6741376e 100644 --- a/dev-python/hgtools/metadata.xml +++ b/dev-python/hgtools/metadata.xml @@ -1,11 +1,12 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>prometheanfire@gentoo.org</email> - <name>Matthew Thode</name> - </maintainer> - <longdescription lang="en"> - Classes and setuptools plugin for Mercurial repositories - </longdescription> -</pkgmetadata> +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <maintainer> + <email>prometheanfire@gentoo.org</email> + <name>Matthew Thode</name> + </maintainer> + <longdescription lang="en"> + Classes and setuptools plugin for Mercurial repositories + </longdescription> +</pkgmetadata> |