sci-mathematics/qepcad: new package, add 1.72b_p20220501

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-01 06:14:10 +02:00
parent 412b5118c5
commit c8f24b753f
3 changed files with 73 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST qepcad-1.72b_p20220501.tar.gz 178489856 BLAKE2B 79277f484c0011b3c871fc06b20ce344e770591bd74204d20c9c844933140d14c72663660ea29aaf21de7fe920a5e4bd6a0b94d95e1b28279e7b4fc36ae46228 SHA512 9210bd519bf6e61d746e4a582c48ca6b337b415ad3996af008702dec362e885905c8eda6db3b88f8befb464bc30fcdfa2b5dc3c6e16bd19e3ef3bba054e5846c

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<maintainer>
<email>wcbrown@usna.edu</email>
<name>Chris Brown</name>
</maintainer>
</upstream>
<longdescription lang="en">
The Program
QEPCAD is an implementation of quantifier elimination by partial cylindrical algebraic decomposition due orginally to Hoon Hong, and subsequently added on to by many others. It is an interactive command-line program written in C/C++, and based on the SACLIB library. Presented here is QEPCAD B version 1.x, the "B" designating a substantial departure from the original QEPCAD and distinguishing it from any development of the original that may proceed in a different direction. QEPCAD and the SACLIB library are the result of a program of research by George Collins and his PhD students that has spanned several decades ... and continues still!
I extended and improved QEPCAD for several years. Improvements that didn't involve changes to the way the program interacted with the user I'd just go ahead and make. However, changes that affected the interaction of QEPCAD and the user, or changes that added new features were "tacked on" to the program, requiring the user to know about extra commands. Moreover, there was no cannonical source for QEPCAD distribution or documentation, and no internet accessible source at all. This branch of QEPCAD, QEPCAD "B", was introduced to address those problems - to make QEPCAD easily accessable through the internet, to provide good documentation, and to incorporate many improvements and extensions in a way that makes them most accessible to the user.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,52 @@
# Copyright 1999-2028 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="3c01c088e6b54e89f382bce56d49733a9969ef09"
inherit cmake optfeature
DESCRIPTION="Quantifier Elimination by Partial Cylindrical Algebraic Decomposition"
HOMEPAGE="
https://www.usna.edu/Users/cs/wcbrown/qepcad/B/QEPCAD.html
https://github.com/Alessandro-Barbieri/qepcad
"
SRC_URI="https://github.com/Alessandro-Barbieri/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}/qesource"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
media-libs/freeglut
media-libs/glu
media-libs/libglvnd
sci-libs/saclib:=
sys-libs/readline
"
DEPEND="${RDEPEND}"
DOCS=( README LOG )
src_configure() {
export qe="${S}"
local mycmakeargs=(
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
)
cmake_src_configure
}
src_install() {
einstalldocs
cmake_src_install
docinto cad2d
dodoc cad2d/README
echo "qe=/" > 99-qepcad || die
doenvd 99-qepcad
}
pkg_postinst() {
optfeature "allowing qepcad to use singular" sci-mathematics/singular
}