diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2016-07-21 12:29:36 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-07-21 17:56:47 +0200 |
commit | 825cf073872972090e4d000c1dc72878d4c8b903 (patch) | |
tree | 1da1b6b72a9bb3882c5996945d5a5b5089784008 /dev-python/pymediainfo | |
parent | sys-kernel/hardened-sources: version bump to 4.6.4-r2 (diff) | |
download | gentoo-825cf073872972090e4d000c1dc72878d4c8b903.tar.gz gentoo-825cf073872972090e4d000c1dc72878d4c8b903.tar.bz2 gentoo-825cf073872972090e4d000c1dc72878d4c8b903.zip |
dev-python/pymediainfo: bump to 2.1.5
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/1931
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r-- | dev-python/pymediainfo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymediainfo/pymediainfo-2.1.5.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index 1961735c9867..3037591cd884 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,2 +1,3 @@ DIST pymediainfo-2.1.3.tar.gz 420494 SHA256 da97c7c000b8b5b641ad56ac3c4458ac05aaced41ad9ac421e78496ca77800df SHA512 b3af87c415fcab12937055cd20cd44779ac49c8f0879af3bd24e541c34f6c2d6160e3c54c315841ade11468dfe64c587d3d66aa67abace3db308bc18ca9121d5 WHIRLPOOL a9799474723b8805bf292fa80ba79cb4e6f4a54b7ffe9c187d27d8403af6b788ddbfef0725d5ecb9474fd9796967868e2ef28db73637beae034444621541a540 DIST pymediainfo-2.1.4.tar.gz 420642 SHA256 b4ce090a5bfa24bf5f54a0a16c41ef0c3a0e12d4dae97bdb8b237788664c0136 SHA512 a82bb910ec76e11fb5120c224a804f6db1cef2cd4c6be0e3a5f5905d44594d35bf0abee629ea5092de2dbd7506a8c876735e53b0e2fd837dcadfabe2e8535dbb WHIRLPOOL be3617b6f2b03e404bab89a3d829a7f882bec2e2c61b7dcf00c01d809ca192da07aaed5e0f54723dd3169fb9ad17b76be61ceabc2e06ae1b9f63736254d319a1 +DIST pymediainfo-2.1.5.tar.gz 421120 SHA256 53616f5b87431d7fd0b4c7a2c2592c9071de923c5c0b167f1015905092a86915 SHA512 ef7891bb8e55e11e211f5d7a222176ffea013c4876b2a524ee02af6bcaa3cef272c11e7e39f12790de37f9bc95aa71af049727632092dbaa4c30ea3d149ddf70 WHIRLPOOL 6272df6e234655bc30fe8af811ad644d9062dd5a86837561885144f5a51c6ad931566b9e0fac073c89d99df6b8c82e282655fded66c056315dc10a0b4d30810a diff --git a/dev-python/pymediainfo/pymediainfo-2.1.5.ebuild b/dev-python/pymediainfo/pymediainfo-2.1.5.ebuild new file mode 100644 index 000000000000..a810b9b92938 --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-2.1.5.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="A wrapper around the mediainfo library" +HOMEPAGE="https://github.com/sbraz/pymediainfo" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="media-libs/libmediainfo" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + nosetests tests || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |