From 2e194696d2af8e8cee638a1d93ce098678b59744 Mon Sep 17 00:00:00 2001 From: "Nils \"holgersson\" Freydank" Date: Wed, 29 Jun 2016 21:44:33 +0200 Subject: [PATCH] [dev-python/pysoundfile] Added ebuild for v0.8.0 and license file. new file: dev-python/pysoundfile/Manifest new file: dev-python/pysoundfile/metadata.xml new file: dev-python/pysoundfile/pysoundfile-0.8.0.ebuild new file: licenses/PySoundFile-BSD-3 --- dev-python/pysoundfile/Manifest | 1 + dev-python/pysoundfile/metadata.xml | 8 +++++ .../pysoundfile/pysoundfile-0.8.0.ebuild | 31 +++++++++++++++++++ licenses/PySoundFile-BSD-3 | 29 +++++++++++++++++ 4 files changed, 69 insertions(+) create mode 100644 dev-python/pysoundfile/Manifest create mode 100644 dev-python/pysoundfile/metadata.xml create mode 100644 dev-python/pysoundfile/pysoundfile-0.8.0.ebuild create mode 100644 licenses/PySoundFile-BSD-3 diff --git a/dev-python/pysoundfile/Manifest b/dev-python/pysoundfile/Manifest new file mode 100644 index 0000000..4ddd112 --- /dev/null +++ b/dev-python/pysoundfile/Manifest @@ -0,0 +1 @@ +DIST pysoundfile.0.8.0.tar.gz 1717737 SHA256 bee4fa0a4e991cfe3d56fe8fd5598a0bf3df82a59cb60ba9eb7832491521dd68 SHA512 efba0dd07d5c5e8a30b5c06ebd3fb344078783c800c8e01f5b72429e5f2353ac5f48470482956eec83ea948ad2e3a6b5521b48e405096f04f33144ac84776c15 WHIRLPOOL cb9da4ebccf7781ab977f200453c5d6a52b321dd288da6d4f04d5af9c703c5a4392d59afe9fff2d1c9df8892cb40728bccada621d8480e70c823c6bba768f517 diff --git a/dev-python/pysoundfile/metadata.xml b/dev-python/pysoundfile/metadata.xml new file mode 100644 index 0000000..21a0fb1 --- /dev/null +++ b/dev-python/pysoundfile/metadata.xml @@ -0,0 +1,8 @@ + + + + + nils.freydank@posteo.de + Holgersson + + diff --git a/dev-python/pysoundfile/pysoundfile-0.8.0.ebuild b/dev-python/pysoundfile/pysoundfile-0.8.0.ebuild new file mode 100644 index 0000000..7bbeaaa --- /dev/null +++ b/dev-python/pysoundfile/pysoundfile-0.8.0.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=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit distutils-r1 + +MY_PN="PySoundFile" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="PySoundFile is an audio library based on libsndfile, CFFI, and NumPy" +HOMEPAGE="https://github.com/bastibe/PySoundFile" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${PN}.${PV}.tar.gz" + +LICENSE="PySoundFile-BSD-3" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="dev-python/cffi + dev-python/numpy + media-libs/libsndfile" + +S="${WORKDIR}/${MY_P}" + +python_test() { + esetup.py test +} diff --git a/licenses/PySoundFile-BSD-3 b/licenses/PySoundFile-BSD-3 new file mode 100644 index 0000000..74d836a --- /dev/null +++ b/licenses/PySoundFile-BSD-3 @@ -0,0 +1,29 @@ +Copyright (c) 2013, Bastian Bechtold +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + * Neither the name of PySoundFile nor the names + of its contributors may be used to endorse or promote products + derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.