mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
sci-mathematics/cryptominisat: drop old 5.8.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST cryptominisat-5.11.4.tar.gz 1044845 BLAKE2B b6df4e61c5f37d24a61a5c782f08f223c413e19fc2b1625718f7d19d4df8f4d955a92ae447f6c98889927ddc7407b4790092086996a0a32879c7dcb614ca1024 SHA512 8593848c468a6b1ac3d9ae343384aa323fb6ddc17802c9b184c178b9a41314c463b1c5f02ffd19d6e844894c7998e41d6e9b808ed70dcc235aa595607f52bc76
|
||||
DIST cryptominisat-5.8.0.tar.gz 943785 BLAKE2B 534af88a8432c7e3da63989cad8fd5e1491bd69a80b44977fa681e0356e857a505a82dc860b0d04d07987e3edae2861da67ec9dd781261e03a1120dc342b9759 SHA512 3eb954f01524b189a8de57a05f6060471a083addc4b9077c1e32b769d26393ce3d33468819ba8169deedce43fc3663b0ad8bbad95c6afe5e562e438c57b75496
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9,10} )
|
||||
|
||||
inherit python-single-r1 cmake
|
||||
|
||||
DESCRIPTION="Advanced SAT solver with C++ and Python interfaces"
|
||||
HOMEPAGE="https://github.com/msoos/cryptominisat/"
|
||||
SRC_URI="https://github.com/msoos/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="GPL-2 MIT"
|
||||
IUSE="+python"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="test" # tests require many convoluted bundled (git) modules
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost:=
|
||||
sys-libs/zlib:=
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-setup.py.in-sysconfig.patch )
|
||||
|
||||
pkg_setup() {
|
||||
use python && python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DNOBREAKID=ON
|
||||
-DNOM4RI=ON
|
||||
-DENABLE_PYTHON_INTERFACE=$(usex python)
|
||||
-DFORCE_PYTHON3=$(usex python)
|
||||
-DENABLE_TESTING=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
index b3ab64af4..293eb1f80 100644
|
||||
--- a/python/setup.py.in
|
||||
+++ b/python/setup.py.in
|
||||
@@ -27,7 +27,7 @@ import sys
|
||||
import os
|
||||
import platform
|
||||
from distutils.core import setup, Extension
|
||||
-from distutils import sysconfig
|
||||
+import sysconfig
|
||||
from distutils.cmd import Command
|
||||
|
||||
__PACKAGE_VERSION__ = "0.2.0"
|
||||
@@ -59,8 +59,8 @@ def _init_posix(init):
|
||||
Forces g++ instead of gcc on most systems
|
||||
credits to eric jones (eric@enthought.com) (found at Google Groups)
|
||||
"""
|
||||
- def wrapper():
|
||||
- init()
|
||||
+ def wrapper(vars):
|
||||
+ init(vars)
|
||||
|
||||
config_vars = sysconfig.get_config_vars() # by reference
|
||||
if config_vars["MACHDEP"].startswith("sun"):
|
||||
Reference in New Issue
Block a user