summaryrefslogtreecommitdiff
path: root/dev-python/pyifp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/pyifp
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/pyifp')
-rw-r--r--dev-python/pyifp/Manifest6
-rw-r--r--dev-python/pyifp/files/pyifp-0.2.2-setup-fix.patch11
-rw-r--r--dev-python/pyifp/metadata.xml15
-rw-r--r--dev-python/pyifp/pyifp-0.2.2-r1.ebuild28
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/pyifp/Manifest b/dev-python/pyifp/Manifest
new file mode 100644
index 000000000000..9ba22a3ae773
--- /dev/null
+++ b/dev-python/pyifp/Manifest
@@ -0,0 +1,6 @@
+AUX pyifp-0.2.2-setup-fix.patch 513 SHA256 2ccbafb38a6965340f378d73316a3ef5400e668d6adec42fb43122aa1f1fb5e1 SHA512 c3c30b89c33e1eebc7bbb8302dcbaeaff0305920695fd526fc6c3838313de4f290564c3d5d4dbb59eb2eb6a2736e9bad718da5009703a4f08db7d4f0f42c6810 WHIRLPOOL 71662526dd9b2347c8774897aefc26be2c16a50315e0baf89bdbfa5f8523d7bcd91f2a1b30066aceff536be1d76666040b3c24442a694ea337f263b08d571ecc
+DIST pyifp-0.2.2.tar.gz 21378 SHA256 df283d037ee206ede1de7e058022a7cd13d55c4d935323c3ae3af923b39f8ff3 SHA512 9d4b2fc41406c784e8fe9bb650760d750fdf9390b2c69baee1032cc33ffc726ec1a688faa043196a0d075f4e10530dac6637e76b4440b92142f69683cd65a281 WHIRLPOOL 666157875f7c2bd4f0b0c479c1ee25ab2aeafd8900f4b25ee31cdfe4153275307e182d6ed068f2cd8c90a7ccc90c5706d0226f8b8be2056f56058f441bf4d2d5
+EBUILD pyifp-0.2.2-r1.ebuild 601 SHA256 dc37ccd08f6cf0cba7de336aed1a7cb1c70697a1201b56e6751e25900c9c2795 SHA512 a22a88c881d81246a03d7ccd7a719cd828dfd8463fc7fa0cd10a3d80f704cfedccf7eac022111625046f7e6cf300ce0b4155ace7acdae693bb287c6910b86481 WHIRLPOOL ff70f380752448145c831dde8eb419e4e0ec62c5b9a8a1973667c6589fc121def118b73d35a32795739d7da1746ebae4b675c81f1c2d9fa1f6f951275ae58263
+MISC ChangeLog 2465 SHA256 7dcb02a9a7a95bb09468f52a516bf096b85e3a8d78ebf4aa8e6d6852006fdca5 SHA512 25ef1e7456f4da24a71cd9a7b70de6b41821f5afa81f70a43098f05f546cf782228b354f9141f095111e00367b45bc2ac5fdf7b649082f206b8f4cba73dfc6a4 WHIRLPOOL 97c943d3bc67fb8624fe6f31763f08cc29b39f2b7974955f142e1e98ddd91fbd1931d89b519792532e6d2d282d4904adfd950de5cb1aebef262d242e8317a9b5
+MISC ChangeLog-2015 1378 SHA256 fc493ee712291fb177a84d49702e41f3f043671bc0e6291e53834f5bf8c81009 SHA512 f462135df17ed11688f9e908a71da27ae8610cab77f9270665669e2711487817827dc0d612aa0424e02b99e9274094c5ca26b98dc43262d0338744bdcc483aa7 WHIRLPOOL d9430b8b86b46182def4d2e35147fedd56dccbfe17ae164f90f2d71eae672adc34b29407226762304873a296b2f20edd4f7e6daf6a3603a681d2bb79b254dfac
+MISC metadata.xml 433 SHA256 f2e90bac915c724a3a21494f2845f1f137d8e684c7e567b4095114e5f0b185b2 SHA512 d747fe4f9127678f0245f2a35d3c8244086a05439c40eaa0e8f6444c6605bbb7c1ee241cd9b22feb06454a972244465e615b5f14e0d158d67c17a0c8ddb3d61c WHIRLPOOL 6cf5f4171ea0616f5799982fdcf2941f268e7bbdff23198e29ece500925af3b31beb24612c63e4d073df95884af51d170d8e18add7418d5a2d953ba32a06eea8
diff --git a/dev-python/pyifp/files/pyifp-0.2.2-setup-fix.patch b/dev-python/pyifp/files/pyifp-0.2.2-setup-fix.patch
new file mode 100644
index 000000000000..2582e0fd8841
--- /dev/null
+++ b/dev-python/pyifp/files/pyifp-0.2.2-setup-fix.patch
@@ -0,0 +1,11 @@
+--- pyifp-0.2.2/setup.py 2005-02-21 01:36:05.000000000 -0500
++++ pyifp-0.2.2-fixed/setup.py 2005-10-15 13:29:26.000000000 -0400
+@@ -54,7 +54,7 @@
+ self.swig_inc = 'SWIG'
+ self.swig_shadow = None
+
+- def swig_sources(self, sources):
++ def swig_sources(self, sources, extension=None):
+ """Override the definition of 'swig_sources' in build_ext. This
+ is essentially the same function but with better swig support.
+ I will now quote the original docstring:
diff --git a/dev-python/pyifp/metadata.xml b/dev-python/pyifp/metadata.xml
new file mode 100644
index 000000000000..e3560c535fc1
--- /dev/null
+++ b/dev-python/pyifp/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>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sound@gentoo.org</email>
+ <name>Gentoo Sound project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">ifp-gnome</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pyifp/pyifp-0.2.2-r1.ebuild b/dev-python/pyifp/pyifp-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..e5adcfa496b5
--- /dev/null
+++ b/dev-python/pyifp/pyifp-0.2.2-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1
+
+DESCRIPTION="Python bindings for libifp library for accessing iRiver iFP devices"
+HOMEPAGE="http://ifp-gnome.sourceforge.net"
+SRC_URI="mirror://sourceforge/ifp-gnome/${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-libs/libifp-1.0.0.2"
+DEPEND="${RDEPEND}
+ dev-lang/swig"
+
+pkg_setup() {
+ python-single-r1_pkg_setup
+}
+
+PATCHES=( "${FILESDIR}"/${P}-setup-fix.patch )