summaryrefslogtreecommitdiff
path: root/dev-python/pymtp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/pymtp
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/pymtp')
-rw-r--r--dev-python/pymtp/Manifest3
-rw-r--r--dev-python/pymtp/metadata.xml15
-rw-r--r--dev-python/pymtp/pymtp-0.0.6.ebuild28
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pymtp/Manifest b/dev-python/pymtp/Manifest
new file mode 100644
index 000000000000..97c644305dcc
--- /dev/null
+++ b/dev-python/pymtp/Manifest
@@ -0,0 +1,3 @@
+DIST pymtp_0.0.6.orig.tar.gz 22431 BLAKE2B 11f8b83e79af42906a33fca8dc6752c67994b635aafb926769a2271fd1411b7d5e5e9daf1f81783fc219e3044b8ca239dfb180076b7d2e64b3152b3540be3880 SHA512 f50249c6b2acfe2c86da5e5f8a24e1392d47e0ddd02d10891763a3150f9985ecdb8a0b7c7ce8bc36f53f2bf62073a26dd3a72b6c3f95d59cd447bb55684811b0
+EBUILD pymtp-0.0.6.ebuild 663 BLAKE2B 7b55488dfd9130eb066b1a63dc10035a5c5277a430fae70d121792f1b4d6b316c50b5c808fb79bcd0f6f2b4c5296109de293a8030842e9e038bffabd3667b2fa SHA512 b43e7e797838d1159a2ddf83e92d77b55e1982f57f592c3802a72a99a2fa2763ff5ea1cde11ee0a065b4df56f0bca8dc5e1dc2737ef0651827042a6df34140ce
+MISC metadata.xml 446 BLAKE2B 8ad671cc6eb45f9e3b944b7d5b7b2fe2634fbd98775622b4375038094700eda07d8233710ab304a74fc84bb2a64a44f97ccffea19e4e1cfa8f050f63fc2e19c7 SHA512 f6bdc3515407187d158c02ddf793cc5798025d6fab0d20e912ab12f877a1a5ed7b27534b9dfcd8630cc37fea56513818020dcbadb687e92743b85d9102c36e76
diff --git a/dev-python/pymtp/metadata.xml b/dev-python/pymtp/metadata.xml
new file mode 100644
index 000000000000..dd9304d2c7dd
--- /dev/null
+++ b/dev-python/pymtp/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">libmtp</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pymtp/pymtp-0.0.6.ebuild b/dev-python/pymtp/pymtp-0.0.6.ebuild
new file mode 100644
index 000000000000..c35ea061d065
--- /dev/null
+++ b/dev-python/pymtp/pymtp-0.0.6.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="LibMTP bindings for Python"
+HOMEPAGE="http://packages.debian.org/libmtp http://libmtp.sourceforge.net/ https://pypi.org/project/PyMTP/"
+DEB_URI="mirror://debian/pool/main/${PN:0:1}/${PN}"
+SRC_URI="${DEB_URI}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE=GPL-3
+SLOT=0
+KEYWORDS="amd64 ppc x86"
+IUSE="examples"
+
+RDEPEND="media-libs/libmtp"
+DEPEND=${RDEPEND}
+
+S="${WORKDIR}"/PyMTP-${PV}
+
+python_install_all() {
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}