2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-19 00:00:25 +03:00
Files
gentoo/dev-python/primecountpy/primecountpy-0.1.1-r1.ebuild
Michael Orlitzky bc5e993ebe dev-python/primecountpy: block primecount >= 8.0
This won't build against primecount-8.0 yet, but a new release should be
coming soon.

I've dropped the old stable ebuild and stabilized the -r1 instead. We
would have needed to edit the dependencies on the stable version anyway
to prevent the package manager from thinking that a downgrade could
solve the conflict, and then the RDEPEND change would have needed a
new revision... in the end, this seems like the least bad option.

Closes: https://bugs.gentoo.org/967990
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2025-12-27 09:32:57 -05:00

25 lines
701 B
Bash

# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1
DESCRIPTION="Cython interface to sci-mathematics/primecount"
HOMEPAGE="https://pypi.org/project/primecountpy/
https://github.com/dimpase/primecountpy"
SRC_URI="https://github.com/dimpase/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
# LICENSE clarification in README.md
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~riscv"
DEPEND="<sci-mathematics/primecount-8.0:=
dev-python/cysignals[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"