1
0

dev-python/soxr: drop 0.3.4, 0.3.5

This commit is contained in:
Ryan Fox 2023-10-28 15:45:55 -07:00
parent 63ab500584
commit 7d65a99b92
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 0 additions and 106 deletions

View File

@ -1,3 +1 @@
DIST soxr-0.3.4.gh.tar.gz 22664 BLAKE2B 0b8715ac0ff5e65302c773137d2e9e83dd0a7c5ac12a6d12d13168e639aae1d4f35a3dd5f1fb8d584ff1f285fed4f2bd10e2f26eb0b22c81209a91c13e7531ec SHA512 5ea3f5eb5c9a012987d070a97a83bc0077aea5056e5a0b0fc08bebedb07233bb144c2ac496c4df2468d60ad5d399f90b42c9318bd7ca89d6bd9eaaa67f780b76
DIST soxr-0.3.5.gh.tar.gz 22771 BLAKE2B 5a516ef1738130c736b88b1eb27ed855fd65916061d2b6c3ea0f5285e2c82fd37b527bed2dfb557c303e495a5e0f9f6351f7e706cd8daf938e5cd8b7b4e824b4 SHA512 400bf1b79f8177627acef19751d52c890e2352b1bb65b05514a17e356753b268610a670adc7ec52afaaac10befa4ed9d5a28bbf2561075ed0f22abacc3cf48f3
DIST soxr-0.3.7.gh.tar.gz 24012 BLAKE2B b06a14e63becb537b0eb150a326b1457dbb1cd7d4c87b62c14610bb0a442cbb6dddca54160627ef288fb6994e884982a180c0a478f08b329053a6e8dfd4474bd SHA512 da9cc246d20c904e18fa01dfc94b0af8b430bb3d9235ab42a042ef120ec789e960a63f8e15dd79f80e9a3107ea20ebbad22f4861011ddca77ec6179fa3e6d363

View File

@ -1,52 +0,0 @@
# 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} )
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}]
dev-python/setuptools-scm[${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

View File

@ -1,52 +0,0 @@
# 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} )
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}]
dev-python/setuptools-scm[${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