From ca553a26ebf8caf78b369aaa5fbb6ad26f511f49 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Sun, 26 Mar 2023 21:32:21 -0700 Subject: [PATCH] dev-python/soundfile: add 0.12.1, disable py3.8 --- dev-python/soundfile/Manifest | 4 +-- dev-python/soundfile/soundfile-0.12.1.ebuild | 38 ++++++++++++++++++++ dev-python/soundfile/soundfile-9999.ebuild | 4 +-- 3 files changed, 41 insertions(+), 5 deletions(-) create mode 100644 dev-python/soundfile/soundfile-0.12.1.ebuild diff --git a/dev-python/soundfile/Manifest b/dev-python/soundfile/Manifest index b689509..24dc588 100644 --- a/dev-python/soundfile/Manifest +++ b/dev-python/soundfile/Manifest @@ -1,4 +1,2 @@ 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 +DIST soundfile-0.12.1.gh.tar.gz 38409 BLAKE2B b6428f2d904c6cd5123e54c22c0a6313e419ca0c19f645efc1efb81c0b9fa8c6317e9490de2634700a1857b3185798035380ef31aeec41ef517b52b10d8ca398 SHA512 91bac4ffee849c9d322494fa411f027571282ce5ea0fbd7dd41f54afa3ef3d86d8aeb674e2a33ac50abb5828de3694863ee7c40fda38860c678260dd614f607b diff --git a/dev-python/soundfile/soundfile-0.12.1.ebuild b/dev-python/soundfile/soundfile-0.12.1.ebuild new file mode 100644 index 0000000..c843496 --- /dev/null +++ b/dev-python/soundfile/soundfile-0.12.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..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 index c33d388..c843496 100644 --- a/dev-python/soundfile/soundfile-9999.ebuild +++ b/dev-python/soundfile/soundfile-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_COMPAT=( python3_{9..11} ) inherit distutils-r1