diff options
author | Mike Gilbert <floppym@gentoo.org> | 2015-04-19 16:18:02 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2015-04-19 16:18:02 +0000 |
commit | c54d3a7ceb18d721dd8db5ed7405ff791b6366a7 (patch) | |
tree | 4051770d976eb45394fd476d19a934afc86cfa74 /dev-python/python-debian | |
parent | Add important patches from upstream, including a fix for a DoS vulnerability ... (diff) | |
download | gentoo-2-c54d3a7ceb18d721dd8db5ed7405ff791b6366a7.tar.gz gentoo-2-c54d3a7ceb18d721dd8db5ed7405ff791b6366a7.tar.bz2 gentoo-2-c54d3a7ceb18d721dd8db5ed7405ff791b6366a7.zip |
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/python-debian')
-rw-r--r-- | dev-python/python-debian/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/python-debian/python-debian-0.1.27.ebuild | 45 |
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-python/python-debian/ChangeLog b/dev-python/python-debian/ChangeLog index 3698498c8c68..88ff0ab58ad1 100644 --- a/dev-python/python-debian/ChangeLog +++ b/dev-python/python-debian/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/python-debian # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-debian/ChangeLog,v 1.11 2015/04/19 15:59:46 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-debian/ChangeLog,v 1.12 2015/04/19 16:18:02 floppym Exp $ + +*python-debian-0.1.27 (19 Apr 2015) + + 19 Apr 2015; Mike Gilbert <floppym@gentoo.org> +python-debian-0.1.27.ebuild: + Version bump. 19 Apr 2015; Mike Gilbert <floppym@gentoo.org> python-debian-0.1.26.ebuild: Simplify python_test function. diff --git a/dev-python/python-debian/python-debian-0.1.27.ebuild b/dev-python/python-debian/python-debian-0.1.27.ebuild new file mode 100644 index 000000000000..3c6e3cdb9d07 --- /dev/null +++ b/dev-python/python-debian/python-debian-0.1.27.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-debian/python-debian-0.1.27.ebuild,v 1.1 2015/04/19 16:18:02 floppym Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python modules to work with Debian-related data formats" +HOMEPAGE="http://packages.debian.org/sid/python-debian" +SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND=" + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( app-arch/dpkg )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.1.26-fix-tests.patch + ) + +python_compile_all() { + "${PYTHON}" lib/debian/doc-debtags > README.debtags || die +} + +python_test() { + # Tests currently fail with >=app-crypt/gnupg-2.1 + pushd tests > /dev/null || die + "${PYTHON}" -m unittest discover || die "Testing failed with ${EPYTHON}" + popd > /dev/null || die +} + +python_install_all() { + use examples && local EXAMPLES=( examples/ ) + distutils-r1_python_install_all +} |