diff options
-rw-r--r-- | dev-python/pymediainfo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymediainfo/pymediainfo-2.1.4.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index b1b73365d102..ca2ffab765e6 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,2 +1,3 @@ DIST pymediainfo-2.1.2.tar.gz 420339 SHA256 257d2cd2de1b2da81b2eaf9cda58d40cfcb04704c013d3c38b5edc988996f92f SHA512 51d81289ae9037fc850c58953e5139d4c0cc57dbfa3ecd8daf60b3487bfef2fbb2d2cecefe80b8e8dcad3418e964c8967f27a6f4efcc320d2002b18bcaa9c180 WHIRLPOOL 56ad97804262e30355f453597cae7e0c295db7e3dc656ee33bccd6cdf51bd6aa1a043071f6993c636496c12ae0ad65089c87cec8bdfa32c713c8f02532c00797 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 diff --git a/dev-python/pymediainfo/pymediainfo-2.1.4.ebuild b/dev-python/pymediainfo/pymediainfo-2.1.4.ebuild new file mode 100644 index 000000000000..a810b9b92938 --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-2.1.4.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 +} |