dev-python/lap: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-04-07 12:55:37 +02:00
parent ac862df43f
commit ff6901d631
2 changed files with 0 additions and 46 deletions

View File

@@ -1,3 +1,2 @@
DIST lap-0.5.12.tar.gz 1520169 BLAKE2B ce68ddd14304b930044a94ff7362b00724ca8ce89d5fa0189437a393cff5911ac74cc45056ba152780000f7f4c691e73269cd711f20f5f693f5699918c0c4428 SHA512 a8ba1883e06b04a41cebb53999bcc7321748036958fde1ab37a2194b43104a84d0315bea89b21aaae7556cc3f573d95bf30107dc4045af301134dd10319b7d53
DIST lap-0.5.13.tar.gz 1537351 BLAKE2B 0756d52680f0b55ffea94544d9d284d74a27f24b7de4ff968acae0a021cba72a36871b2a1ff36a93c00f521afa19ea28132ed440e30bce830e2b5c4743cd0013 SHA512 66c45a6802a6edcbb7f5bf25f7ee5030acc0d5eab706666fb4ebaff3f8578af5bfc951296138ab22cf8d18d74cb0712433feca5c43c3a97cd5e8eed2abdbaee5
DIST lap-0.5.13.tar.gz.provenance 9282 BLAKE2B c8ad7ed181ad24aab1f7b14539823512dcfbdc1d4b465396c34e9c3d8118cad986a5712269e869a00ae52fbfb69587195eb2e01c803ae84d95c9621762d4c370 SHA512 6bd656b6066380b68fa37c76d9cb6c22c63eeabc90c7e8dc9ec4873bcbe92d3445e28eb18cdff1aec16751e91a7775334f441c2a1e5886aa60470c503f3b240f

View File

@@ -1,45 +0,0 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Linear Assignment Problem solver (LAPJV/LAPMOD)"
HOMEPAGE="
https://github.com/gatagat/lap
https://pypi.org/project/lap/
"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
>=dev-python/numpy-1.21.6[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
>=dev-python/numpy-1.23.0[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
python_prepare_all() {
# Don't install tests and keep them in a separate location
# https://projects.gentoo.org/python/guide/test.html#importerrors-for-c-extensions
mv lap/tests tests || die
sed -e '/tests_package =/d' \
-e '/packages =/ { s/, tests_package// }' \
-i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
rm -rf lap || die
epytest
}