From ac90c73fea9343875b801d2677eb6c4c22530cc6 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sun, 2 Oct 2022 12:18:06 -0700 Subject: [PATCH] dev-python/soundfile: new package, add 0.11.0, 9999 --- dev-python/soundfile/Manifest | 4 +++ dev-python/soundfile/metadata.xml | 12 +++++++ dev-python/soundfile/soundfile-0.11.0.ebuild | 38 ++++++++++++++++++++ dev-python/soundfile/soundfile-9999.ebuild | 38 ++++++++++++++++++++ 4 files changed, 92 insertions(+) create mode 100644 dev-python/soundfile/Manifest create mode 100644 dev-python/soundfile/metadata.xml create mode 100644 dev-python/soundfile/soundfile-0.11.0.ebuild create mode 100644 dev-python/soundfile/soundfile-9999.ebuild diff --git a/dev-python/soundfile/Manifest b/dev-python/soundfile/Manifest new file mode 100644 index 0000000..b689509 --- /dev/null +++ b/dev-python/soundfile/Manifest @@ -0,0 +1,4 @@ +DIST soundfile-0.11.0.gh.tar.gz 37610 BLAKE2B c70405ecc2a7545348f909a2d77af2a39582872fc649a3bc3c459337694ec30066b215b9f00ebd07203e773307ed0611aee79f72c69af43d2d609d2e4dd71339 SHA512 3503d2facfa00c0f859a50df3cac516e4a74467755f82d84bc11dc4e4a03609bb967431215ac62ed3032a2999e4374b750c5a504bffb20d063ea1b05217ba080 +EBUILD soundfile-0.11.0.ebuild 815 BLAKE2B 3b6d81b7f82a4a0bddf0e3e7f2819e7266c14292d3586d84f28891954ffe615f54578ae004ae1c830e1891bfbc241dd864be745e7045258b2b9c49138e302e69 SHA512 76d7ae40bd82615ed1e2558d0f9764807a0601f403e28a3067ea83fa9044687a7f30fbc2f790344640569d6147216f736835ec6b87d3f1fb97b861349750baa9 +EBUILD soundfile-9999.ebuild 815 BLAKE2B 3b6d81b7f82a4a0bddf0e3e7f2819e7266c14292d3586d84f28891954ffe615f54578ae004ae1c830e1891bfbc241dd864be745e7045258b2b9c49138e302e69 SHA512 76d7ae40bd82615ed1e2558d0f9764807a0601f403e28a3067ea83fa9044687a7f30fbc2f790344640569d6147216f736835ec6b87d3f1fb97b861349750baa9 +MISC metadata.xml 378 BLAKE2B 6067210d010b655aafdd45f4501f0858468ec1d1bd9903a1d8fe4810b195b6e4c85d71105d28f36f1de745fe6d9455feb25064f4bb4c999628b578e2d07354ce SHA512 939c52e0af106fe3b33cc64d22669fd31f2ef89327e543e8a4f8a9051a7ae3b8368ce2722a6c656538c280ebbbff257d403266b31d71935f5640e4f3fdbb0bca diff --git a/dev-python/soundfile/metadata.xml b/dev-python/soundfile/metadata.xml new file mode 100644 index 0000000..fa8b3c1 --- /dev/null +++ b/dev-python/soundfile/metadata.xml @@ -0,0 +1,12 @@ + + + + + flewkey@2a03.party + Ryan Fox + + + soundfile + bastibe/python-soundfile + + diff --git a/dev-python/soundfile/soundfile-0.11.0.ebuild b/dev-python/soundfile/soundfile-0.11.0.ebuild new file mode 100644 index 0000000..c33d388 --- /dev/null +++ b/dev-python/soundfile/soundfile-0.11.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bastibe/python-soundfile.git" + EGIT_SUBMODULES=() +else + MY_PN="python-soundfile" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/bastibe/python-soundfile/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="An audio library for Python" +HOMEPAGE="https://python-soundfile.readthedocs.io/" +LICENSE="BSD" +SLOT="0" + +DEPEND=" + dev-python/cffi[${PYTHON_USEDEP}] + media-libs/libsndfile +" +RDEPEND=" + ${DEPEND} + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND="" + +distutils_enable_tests pytest diff --git a/dev-python/soundfile/soundfile-9999.ebuild b/dev-python/soundfile/soundfile-9999.ebuild new file mode 100644 index 0000000..c33d388 --- /dev/null +++ b/dev-python/soundfile/soundfile-9999.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bastibe/python-soundfile.git" + EGIT_SUBMODULES=() +else + MY_PN="python-soundfile" + MY_P="${MY_PN}-${PV}" + S="${WORKDIR}/${MY_P}" + SRC_URI="https://github.com/bastibe/python-soundfile/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="An audio library for Python" +HOMEPAGE="https://python-soundfile.readthedocs.io/" +LICENSE="BSD" +SLOT="0" + +DEPEND=" + dev-python/cffi[${PYTHON_USEDEP}] + media-libs/libsndfile +" +RDEPEND=" + ${DEPEND} + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND="" + +distutils_enable_tests pytest