diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-02-06 03:39:35 +0100 |
---|---|---|
committer | Louis Sautier <sautier.louis@gmail.com> | 2016-02-06 03:40:39 +0100 |
commit | 084d3921f0e2d35933d8d3f7bf01ea9bdf69d318 (patch) | |
tree | d32129d61c070faadccf821788698c930b3e0ade /dev-python/pymediainfo | |
parent | net-misc/asterisk: AST-2016-001 BEAST vulnerability in built-in HTTP server, ... (diff) | |
download | gentoo-084d3921f0e2d35933d8d3f7bf01ea9bdf69d318.tar.gz gentoo-084d3921f0e2d35933d8d3f7bf01ea9bdf69d318.tar.bz2 gentoo-084d3921f0e2d35933d8d3f7bf01ea9bdf69d318.zip |
dev-python/pymediainfo: bump to 2.0, add tests, update home page
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r-- | dev-python/pymediainfo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymediainfo/metadata.xml | 2 | ||||
-rw-r--r-- | dev-python/pymediainfo/pymediainfo-2.0.ebuild | 31 |
3 files changed, 33 insertions, 1 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index 043aba6d827a..6d04258b253b 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1 +1,2 @@ DIST pymediainfo-1.4.0.tar.gz 2301 SHA256 d865a79a75d5690af69d31621364ec64b7612a161dfa9b1a84d833a95c1ef19a SHA512 e1e68766340e3a452d672a3ca26d576cc47abad8fc88a4abf28a5be177ce80b8d90d177b44659f01794fbb0c50b2d6c581dbcb07363a09cb872698ec1067988c WHIRLPOOL 9d9a0c6b523253c4e161e6d7388e1e63fbc301d2bd90774fe07b1dbf9eb611acb63228337b0bd2297b99d620473aab8fd086f77354ca25c26395a2f8df37a25d +DIST pymediainfo-2.0.tar.gz 417082 SHA256 083ffd1977becd1aa6c77d333473448d287f9ebe2f95ff8fd5fdd6631c6b9bbf SHA512 0de3100cf28a752a3677c6340fcd2097b2d5e1102ffee03693184475fb1bd631568b4cf1b0c4c09461c46afb8b137ecb8d4244bf7e3fae0882d60c038d7efb45 WHIRLPOOL c1e97458282f70b6295decde27fa219f080fea5276a0f5b4afd01ec5bfe0876073cbf9f63c95d63d529c21a2e4db967bd19e6d44f81c38f20c2c0749f5dfe20c diff --git a/dev-python/pymediainfo/metadata.xml b/dev-python/pymediainfo/metadata.xml index d438808221e3..56360ccca444 100644 --- a/dev-python/pymediainfo/metadata.xml +++ b/dev-python/pymediainfo/metadata.xml @@ -11,6 +11,6 @@ </maintainer> <upstream> <remote-id type="pypi">pymediainfo</remote-id> - <remote-id type="github">paltman/pymediainfo</remote-id> + <remote-id type="github">sbraz/pymediainfo</remote-id> </upstream> </pkgmetadata> diff --git a/dev-python/pymediainfo/pymediainfo-2.0.ebuild b/dev-python/pymediainfo/pymediainfo-2.0.ebuild new file mode 100644 index 000000000000..f687fbdc1f6e --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="A wrapper around the mediainfo command" +HOMEPAGE="https://github.com/sbraz/pymediainfo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="media-video/mediainfo" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +python_test() { + nosetests tests || die "tests failed with ${EPYTHON}" +} |