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>
This commit is contained in:
Michael Orlitzky
2025-12-26 21:30:39 -05:00
parent ad2fadb324
commit bc5e993ebe
2 changed files with 3 additions and 27 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
inherit distutils-r1
@@ -16,9 +16,9 @@ SRC_URI="https://github.com/dimpase/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
# LICENSE clarification in README.md
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~riscv"
KEYWORDS="amd64 ~riscv"
DEPEND="sci-mathematics/primecount:=
DEPEND="<sci-mathematics/primecount-8.0:=
dev-python/cysignals[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"

View File

@@ -1,24 +0,0 @@
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..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
dev-python/cysignals[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"