mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
31 lines
772 B
Bash
31 lines
772 B
Bash
# Copyright 2020-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{9..13} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
DISTUTILS_EXT=1
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="Python bindings for sci-mathematics/lrcalc"
|
|
HOMEPAGE="https://bitbucket.org/asbuch/lrcalc"
|
|
# Avoid a name clash with the sci-mathematics/lrcalc tarball
|
|
SRC_URI="$(pypi_sdist_url) -> ${PN}_python-${PV}.tar.gz"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~riscv"
|
|
|
|
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
|
|
DEPEND="~sci-mathematics/lrcalc-${PV}"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
# Fix this typo in setup.py to avoid a QA warning
|
|
sed -i setup.py \
|
|
-e 's/long_description_type/long_description_content_type/' \
|
|
|| die
|
|
default
|
|
}
|