diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2017-11-08 00:19:19 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-11-08 23:48:41 +0100 |
commit | ba8642c0333865f22f1c6a544793d5c488f32a57 (patch) | |
tree | bb4323f14ba028896dba2d6a0e430f9a3dd8b55b /dev-python/pymediainfo | |
parent | app-text/libstaroffice: 0.0.5 version bump (diff) | |
download | gentoo-ba8642c0333865f22f1c6a544793d5c488f32a57.tar.gz gentoo-ba8642c0333865f22f1c6a544793d5c488f32a57.tar.bz2 gentoo-ba8642c0333865f22f1c6a544793d5c488f32a57.zip |
dev-python/pymediainfo: version bump to 2.2.0
This new version supports media-libs/libmediainfo v17.10. Support for pypy and
pyp3 has been added.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Closes: https://github.com/gentoo/gentoo/pull/6147
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r-- | dev-python/pymediainfo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pymediainfo/metadata.xml | 26 | ||||
-rw-r--r-- | dev-python/pymediainfo/pymediainfo-2.2.0.ebuild | 43 |
3 files changed, 57 insertions, 13 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index a622e38343ae..e2bc890ef660 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,2 +1,3 @@ DIST pymediainfo-2.1.5.tar.gz 421120 SHA256 53616f5b87431d7fd0b4c7a2c2592c9071de923c5c0b167f1015905092a86915 SHA512 ef7891bb8e55e11e211f5d7a222176ffea013c4876b2a524ee02af6bcaa3cef272c11e7e39f12790de37f9bc95aa71af049727632092dbaa4c30ea3d149ddf70 WHIRLPOOL 6272df6e234655bc30fe8af811ad644d9062dd5a86837561885144f5a51c6ad931566b9e0fac073c89d99df6b8c82e282655fded66c056315dc10a0b4d30810a DIST pymediainfo-2.1.9.tar.gz 420111 SHA256 ca3620c3a99052a687c3b625fdddd27693512814808c7b923709bb397930eb0d SHA512 8bc3abe3146f57cb33b5a3bdd1d902a9ef82211b0755d70d9d33601c6eaeaf397b2dd2428edd72a1541cba3cad5f2a414fc1802cf2c5529ada747c9f3b8f280c WHIRLPOOL e6b220061892e064de7506be596023271c07e7d1d47fd093782123fd27e284a1cceed403b876910fca1f27a044d786c202126507d0de8df9d59ea42eef496435 +DIST pymediainfo-2.2.0.tar.gz 421683 SHA256 f5d10bc5a36ce8bf7489184205667be63e689310a62f283ed881fa9a5737ebde SHA512 70081c0d7f952433dd706296b4d564004b8c28af431871388d5fe2fafddbec9e2035d8bc50df170e3761bb258b113a42bf2dc13ce3b4663f724ee08cd4136cc9 WHIRLPOOL 4b4bbcd8f04c70f43818636b70cc64e210db8ab3c912ad580bf056839429bb45bdb0f7cd1ba4c7a456eb8d1f771931f380024e77df558240398c49260678faa2 diff --git a/dev-python/pymediainfo/metadata.xml b/dev-python/pymediainfo/metadata.xml index b60ae270951a..c724ed0a1726 100644 --- a/dev-python/pymediainfo/metadata.xml +++ b/dev-python/pymediainfo/metadata.xml @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>sautier.louis@gmail.com</email> - <name>Louis Sautier</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="pypi">pymediainfo</remote-id> - <remote-id type="github">sbraz/pymediainfo</remote-id> - <bugs-to>https://github.com/sbraz/pymediainfo/issues</bugs-to> - </upstream> + <maintainer type="person"> + <email>sautier.louis@gmail.com</email> + <name>Louis Sautier</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <remote-id type="pypi">pymediainfo</remote-id> + <remote-id type="github">sbraz/pymediainfo</remote-id> + <bugs-to>https://github.com/sbraz/pymediainfo/issues</bugs-to> + </upstream> </pkgmetadata> diff --git a/dev-python/pymediainfo/pymediainfo-2.2.0.ebuild b/dev-python/pymediainfo/pymediainfo-2.2.0.ebuild new file mode 100644 index 000000000000..9e6cc2c78e70 --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-2.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) + +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/pytest[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + use doc && esetup.py build_sphinx +} + +python_test() { + # requires network access + py.test tests/test_pymediainfo.py -k "not MediaInfoURLTest" \ + || die "tests failed with ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |