summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-04-16 21:49:17 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-04-17 10:55:49 +0000
commit43b4a3ff69cd27c98d9457719748228c55612e4b (patch)
treea94cd3a0a1796c6ab5207ce11524b9fd667e4ecb /dev-python/pymediainfo
parentdev-java/jupidator: EAPI 5 bump. (diff)
downloadgentoo-43b4a3ff69cd27c98d9457719748228c55612e4b.tar.gz
gentoo-43b4a3ff69cd27c98d9457719748228c55612e4b.tar.bz2
gentoo-43b4a3ff69cd27c98d9457719748228c55612e4b.zip
dev-python/pymediainfo: bump to 2.1, add ~x86
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1284 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-python/pymediainfo')
-rw-r--r--dev-python/pymediainfo/Manifest1
-rw-r--r--dev-python/pymediainfo/metadata.xml1
-rw-r--r--dev-python/pymediainfo/pymediainfo-2.1.ebuild31
3 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pymediainfo/Manifest b/dev-python/pymediainfo/Manifest
index 6d04258b253b..dcee184f9738 100644
--- a/dev-python/pymediainfo/Manifest
+++ b/dev-python/pymediainfo/Manifest
@@ -1,2 +1,3 @@
DIST pymediainfo-1.4.0.tar.gz 2301 SHA256 d865a79a75d5690af69d31621364ec64b7612a161dfa9b1a84d833a95c1ef19a SHA512 e1e68766340e3a452d672a3ca26d576cc47abad8fc88a4abf28a5be177ce80b8d90d177b44659f01794fbb0c50b2d6c581dbcb07363a09cb872698ec1067988c WHIRLPOOL 9d9a0c6b523253c4e161e6d7388e1e63fbc301d2bd90774fe07b1dbf9eb611acb63228337b0bd2297b99d620473aab8fd086f77354ca25c26395a2f8df37a25d
DIST pymediainfo-2.0.tar.gz 417082 SHA256 083ffd1977becd1aa6c77d333473448d287f9ebe2f95ff8fd5fdd6631c6b9bbf SHA512 0de3100cf28a752a3677c6340fcd2097b2d5e1102ffee03693184475fb1bd631568b4cf1b0c4c09461c46afb8b137ecb8d4244bf7e3fae0882d60c038d7efb45 WHIRLPOOL c1e97458282f70b6295decde27fa219f080fea5276a0f5b4afd01ec5bfe0876073cbf9f63c95d63d529c21a2e4db967bd19e6d44f81c38f20c2c0749f5dfe20c
+DIST pymediainfo-2.1.tar.gz 420280 SHA256 60598b8bb81c6ef2aa13d7b9bbc0c389d4294d89a7a1516eae27834c2fbf9dea SHA512 844353e7f526902aebaa4a4806d42e173e3d7bb0c7d42588ad5438ec7fef03f67bb2151bccf09af61478c386f5ce791cf24a2f99f8d7d6ceb22a08ab236ee70a WHIRLPOOL 8dcbfd0b6537256e511c5fbba8defc0382fcb35ee39c9fdf1b68b2b5b50a248930e71a2a2844ae280f38b70190f45c20b26e1222c37418794f55d881f7a6e9fa
diff --git a/dev-python/pymediainfo/metadata.xml b/dev-python/pymediainfo/metadata.xml
index 56360ccca444..b60ae270951a 100644
--- a/dev-python/pymediainfo/metadata.xml
+++ b/dev-python/pymediainfo/metadata.xml
@@ -12,5 +12,6 @@
<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.1.ebuild b/dev-python/pymediainfo/pymediainfo-2.1.ebuild
new file mode 100644
index 000000000000..77853704fc19
--- /dev/null
+++ b/dev-python/pymediainfo/pymediainfo-2.1.ebuild
@@ -0,0 +1,31 @@
+# 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="test"
+
+RDEPEND="media-libs/libmediainfo"
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${RDEPEND}
+ dev-python/nose[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ nosetests tests || die "tests failed with ${EPYTHON}"
+}