1
0

dev-python/soxr: drop 0.3.2

This commit is contained in:
Ryan Fox 2023-03-26 21:41:36 -07:00
parent 615bbee610
commit f1ea620cdc
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 0 additions and 50 deletions

View File

@ -1,2 +1 @@
DIST soxr-0.3.2.gh.tar.gz 22550 BLAKE2B 2ed2ab4be23d42551a7bf47dd21b354b8a7a5ebfb118dddb2b93de3b9f18791e227119e92a560cf9cb4726138221be6f1819cc87aa58d6ea39c87548de3d4b9f SHA512 7e9fd8c8885717abe7fe5f6705c2ffc61bd38a3eadd1fd1a189b1bae0e13122765679a198a9fb0bece188b0cccb387a2c647c8fca832bfac6a91547dbd0eb198
DIST soxr-0.3.4.gh.tar.gz 22664 BLAKE2B 0b8715ac0ff5e65302c773137d2e9e83dd0a7c5ac12a6d12d13168e639aae1d4f35a3dd5f1fb8d584ff1f285fed4f2bd10e2f26eb0b22c81209a91c13e7531ec SHA512 5ea3f5eb5c9a012987d070a97a83bc0077aea5056e5a0b0fc08bebedb07233bb144c2ac496c4df2468d60ad5d399f90b42c9318bd7ca89d6bd9eaaa67f780b76

View File

@ -1,49 +0,0 @@
# 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/dofuuz/python-soxr.git"
EGIT_SUBMODULES=()
else
MY_PN="python-soxr"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
SRC_URI="https://github.com/dofuuz/python-soxr/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Resampling library for Python"
HOMEPAGE="https://github.com/dofuuz/python-soxr"
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="media-libs/soxr"
RDEPEND="
${DEPEND}
dev-python/numpy[${PYTHON_USEDEP}]
"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
src_configure() {
DISTUTILS_ARGS=( --use-system-libsoxr )
}
python_prepare_all() {
# https://github.com/cython/cython/issues/3783
sed -i 's/const datatype_t/datatype_t/g' "${S}/src/soxr/cysoxr.pyx"
distutils-r1_python_prepare_all
}
python_compile() {
SETUPTOOLS_SCM_PRETEND_VERSION="${PV}" distutils-r1_python_compile
}
distutils_enable_tests pytest