diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-19 11:37:34 +0000 |
commit | b7b97785ebbb2f11d24d14dab8b81ed274f4ce6a (patch) | |
tree | 9fd110f9fc996e8a4213eeda994a8c112491b86d /dev-python/pymediainfo | |
parent | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (diff) |
gentoo resync : 19.03.2019
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r-- | dev-python/pymediainfo/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pymediainfo/pymediainfo-3.1.ebuild | 48 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index d381da4261ae..86756af52784 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,5 +1,7 @@ DIST pymediainfo-2.3.0.tar.gz 423912 BLAKE2B 2108627d7eb661a4329b46abdf6821c7f9af6d3817455edf884d3d96af534424ae434e28c061deca699e967913c40b609f72ffe38316811d4c7b09008de0bde2 SHA512 6ca616ac92f4e8ab71d8edcdd1208dc3dcf9a13f7c3dd2d401a4997c95222b4e559786678826f75b631c4c46913c9cb390126a5468714a7c417638d3a4468d32 DIST pymediainfo-3.0.tar.gz 425428 BLAKE2B b56fa94f41096aff143d57c8f4175ce251d270e1d94f8464800eea2c4a5a952a466b962c646b0449d81ce2dd394c7bab1293eb358a33742631e51aead49e893b SHA512 b6828065f8d4907e94a299e4b3d550b1aad6dfa335b5eaae73e51a9b9052a8c494960b95473b49c10bb4407d3f48db07c2457b2937464317d64997c380571bcd +DIST pymediainfo-3.1.tar.gz 430689 BLAKE2B 2abb8197ab8890617cb0cebf15001fefc5837c886c110f66852be56db6a2df851ec13b7dc76db40723cc920bf44ca87286446f451dc5c51b8998ee332a23cad8 SHA512 a2fd04977236190c18e62da9ec0110d9de9f31acaae448b40ce56f66d925d9e0e0d2015f7824d359ebbd8ec749c0ff812ee4ef776333319827759c4c4fe708ab EBUILD pymediainfo-2.3.0-r1.ebuild 1079 BLAKE2B d727c3741fdcd0f581abe20f3bfc4dff3fa47b6880ddc33dd3e64211f98dae8789b6d62d2d32772593331d8877f84c009382fb8655b7ca372de1f4d7bf9d3ca1 SHA512 534a061468a4cf27a504b54f566d37e2a8e357d54c07644c2582d94033953d88e0c5182bd2a501096b36c9f4e14fd557eb3ad81ef8b3ee265cd8a2a068787577 EBUILD pymediainfo-3.0.ebuild 1054 BLAKE2B ea26d5ce2f06d14949193dca7342a5498bee8448a5a65aa4439be2667c3e55f1369c91256ee520a3687bee29964436cc564c6eb4c00516aef3a28c253bf56527 SHA512 17d5f481f8119946d04010e298c2de2ca102e98561a6c48615531a0030385917f5cad923561ca783f8416dbbdf95d4263950c43a67a445ff9c8faf0e9e98f00d +EBUILD pymediainfo-3.1.ebuild 1054 BLAKE2B a313fbd824eb4d67c058e8b8f9a5110d80648aaa257f55f208fc9c08641ed1c89ea697a8df915e7caa77eb21b1f679b963c9b45724844af2dd45d22e8d4bb450 SHA512 88b052ddb5626b46da8c1a6f52ec5f11e686f317e5eab417bfe4812355992f16053fecf1394ffe023325f6e0048ed2fea291f7e3e808b294f8e7b522a95dff11 MISC metadata.xml 441 BLAKE2B 6dcb65038010218beb340daaab820392fa857e77a417aa8957f678983f0b56fbb878c508790f9c7f33b6acd8eeaab2320c7b0ca2d2533e112ccb984f9ec7d3c0 SHA512 a5052eb10a6672d924cd1a09505d2eccb26187cc11a16b2ab30dcf7e1ebf1e59e12e10f5b35426eebbe9c74a74611b25ea70464e661e9abaf22fee3ed361fea3 diff --git a/dev-python/pymediainfo/pymediainfo-3.1.ebuild b/dev-python/pymediainfo/pymediainfo-3.1.ebuild new file mode 100644 index 000000000000..6ea542796361 --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-3.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} ) +PYTHON_REQ_USE="xml(+)" + +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=" + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/libmediainfo +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( + dev-python/alabaster[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) + test? ( + ${RDEPEND} + dev-python/pytest[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + # Skip a test which requires network access + pytest -vv tests/test_pymediainfo.py -k "not MediaInfoURLTest" \ + || die "tests failed with ${EPYTHON}" +} |