Skip to content

Commit 041cc19

Browse files
committed
dev-python/soxr: add 0.5.0
Signed-off-by: uis <uis9936@gmail.com>
1 parent 58aee36 commit 041cc19

2 files changed

Lines changed: 48 additions & 0 deletions

File tree

dev-python/soxr/Manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DIST soxr-0.5.0.gh.tar.gz 27175 BLAKE2B cfce267286208829e1bd2a7f990de55d931f241e81702dfa3be23fbce53b9d710a0eb75d7c0b7f7b419ea01015a0d96f520f2e2da4baee82676cbc04f73b76ad SHA512 43e4dac1cc6da24f39edcf896604077ff7863f3fcc29d08118f4f184992d0c0bfc089e0139bb8f7dd5dba4c0de95dc2c6930907c69aafcde6f9b62a63b0cf12c

dev-python/soxr/soxr-0.5.0.ebuild

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Copyright 1999-2024 Gentoo Authors
2+
# Distributed under the terms of the GNU General Public License v2
3+
4+
EAPI=8
5+
6+
DISTUTILS_EXT=1
7+
DISTUTILS_USE_PEP517=scikit-build-core
8+
PYTHON_COMPAT=( pypy3 python3_{10..13} )
9+
10+
inherit distutils-r1
11+
12+
DESCRIPTION="Fast and high quality sample-rate conversion library for Python"
13+
HOMEPAGE="
14+
https://github.com/dofuuz/python-soxr/
15+
"
16+
SRC_URI="
17+
https://github.com/dofuuz/python-soxr/archive/v${PV}.tar.gz
18+
-> ${P}.gh.tar.gz
19+
"
20+
S="${WORKDIR}/python-soxr-${PV}"
21+
22+
LICENSE="LGPL-2.1"
23+
SLOT="0"
24+
KEYWORDS="~amd64"
25+
26+
DEPEND="
27+
dev-python/typing-extensions[${PYTHON_USEDEP}]
28+
media-libs/soxr
29+
"
30+
RDEPEND="
31+
${DEPEND}
32+
dev-python/numpy[${PYTHON_USEDEP}]
33+
"
34+
BDEPEND="
35+
dev-python/setuptools-scm[${PYTHON_USEDEP}]
36+
dev-python/nanobind[${PYTHON_USEDEP}]
37+
"
38+
39+
distutils_enable_tests pytest
40+
41+
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
42+
43+
src_configure() {
44+
DISTUTILS_ARGS=(
45+
-DUSE_SYSTEM_LIBSOXR=ON
46+
)
47+
}

0 commit comments

Comments
 (0)