From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E87B1382C5 for ; Tue, 15 May 2018 19:20:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EAA48E07AE; Tue, 15 May 2018 19:20:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2D0AE07AE for ; Tue, 15 May 2018 19:20:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3D146335C63 for ; Tue, 15 May 2018 19:20:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BEE742 for ; Tue, 15 May 2018 19:20:20 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1526412018.7338098140f00d22d236f3ac412545fc9f7f9976.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pymediainfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pymediainfo/Manifest dev-python/pymediainfo/pymediainfo-2.3.0.ebuild X-VCS-Directories: dev-python/pymediainfo/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7338098140f00d22d236f3ac412545fc9f7f9976 X-VCS-Branch: master Date: Tue, 15 May 2018 19:20:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2ea12cc9-c37b-4a0f-8b7f-a4087931b625 X-Archives-Hash: 0c09af168596fdc1c69a17fe6e132d4f commit: 7338098140f00d22d236f3ac412545fc9f7f9976 Author: Louis Sautier gmail com> AuthorDate: Tue May 15 09:47:05 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 15 19:20:18 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73380981 dev-python/pymediainfo: bump to 2.3.0, update dependencies dev-python/setuptools_scm is now required at build time and dev-python/setuptools at runtime to obtain the package version. Package-Manager: Portage-2.3.31, Repoman-2.3.9 dev-python/pymediainfo/Manifest | 1 + dev-python/pymediainfo/pymediainfo-2.3.0.ebuild | 46 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest index 3f89d88c726..ab4b301918d 100644 --- a/dev-python/pymediainfo/Manifest +++ b/dev-python/pymediainfo/Manifest @@ -1,2 +1,3 @@ DIST pymediainfo-2.1.9.tar.gz 420111 BLAKE2B 2ead4bc682f38c08b25df0cfed7cb0f9d93e30b0aa94a94e1bd58bb686000b647eb1d1b7d5f5469d715e673e7a02550e010d66cc7cd869422840d469dfdb029a SHA512 8bc3abe3146f57cb33b5a3bdd1d902a9ef82211b0755d70d9d33601c6eaeaf397b2dd2428edd72a1541cba3cad5f2a414fc1802cf2c5529ada747c9f3b8f280c DIST pymediainfo-2.2.0.tar.gz 421683 BLAKE2B da7145bc0ccb4dbd227ae1b28691d6b7c85bcfa604568624b233e7aa219429b1678c7247e142b72fc1bbe99eefada929f8ccc50984fab033e179f2d97bf86839 SHA512 70081c0d7f952433dd706296b4d564004b8c28af431871388d5fe2fafddbec9e2035d8bc50df170e3761bb258b113a42bf2dc13ce3b4663f724ee08cd4136cc9 +DIST pymediainfo-2.3.0.tar.gz 423912 BLAKE2B 2108627d7eb661a4329b46abdf6821c7f9af6d3817455edf884d3d96af534424ae434e28c061deca699e967913c40b609f72ffe38316811d4c7b09008de0bde2 SHA512 6ca616ac92f4e8ab71d8edcdd1208dc3dcf9a13f7c3dd2d401a4997c95222b4e559786678826f75b631c4c46913c9cb390126a5468714a7c417638d3a4468d32 diff --git a/dev-python/pymediainfo/pymediainfo-2.3.0.ebuild b/dev-python/pymediainfo/pymediainfo-2.3.0.ebuild new file mode 100644 index 00000000000..cc3c9dec382 --- /dev/null +++ b/dev-python/pymediainfo/pymediainfo-2.3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 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=" + dev-python/setuptools[${PYTHON_USEDEP}] + media-libs/libmediainfo +" +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/pytest[${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 +}