commit: 896c94b83f6e346278d20061a43b2716eb87eaa8 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Tue Sep 22 02:04:07 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Tue Sep 22 02:04:19 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=896c94b8
sci-mathematics/z3: drop package present in ::gentoo Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> sci-mathematics/z3/metadata.xml | 8 ---- sci-mathematics/z3/z3-4.3.1.ebuild | 74 ----------------------------------- sci-mathematics/z3/z3-9999.ebuild | 79 -------------------------------------- 3 files changed, 161 deletions(-) diff --git a/sci-mathematics/z3/metadata.xml b/sci-mathematics/z3/metadata.xml deleted file mode 100644 index ae9640ffb..000000000 --- a/sci-mathematics/z3/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Science Project</name> - </maintainer> -</pkgmetadata> diff --git a/sci-mathematics/z3/z3-4.3.1.ebuild b/sci-mathematics/z3/z3-4.3.1.ebuild deleted file mode 100644 index 751fc10ad..000000000 --- a/sci-mathematics/z3/z3-4.3.1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic python-r1 toolchain-funcs vcs-snapshot - -DESCRIPTION="An efficient theorem prover" -HOMEPAGE="http://z3.codeplex.com/" -SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64 ~x86" -IUSE="gmp" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - gmp? ( dev-libs/gmp:0 )" -DEPEND="${RDEPEND}" - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then - ewarn "Please use an openmp compatible compiler" - ewarn "like >gcc-4.2 with USE=openmp" - die "Openmp support missing in compiler" - fi - fi -} - -src_prepare() { - sed \ - -e 's:-O3::g' \ - -e 's:-fomit-frame-pointer::' \ - -e 's:-msse2::g' \ - -e 's:-msse::g' \ - -e "/LINK_EXTRA_FLAGS/s:@LDFLAGS@:-lrt $(usex gmp -lgmp):g" \ - -e 's:t@\$:t\$:g' \ - -i scripts/*mk* || die - - append-ldflags -fopenmp - - eautoreconf -} - -src_configure() { - python_export_best - econf \ - --host="" \ - --with-python="${PYTHON}" \ - $(use_with gmp) \ - SLIBFLAGS=" -Wl,-soname,lib${PN}.so.0.1 " - ${EPYTHON} scripts/mk_make.py || die -} - -src_compile() { - emake \ - --directory="build" \ - CXX=$(tc-getCXX) \ - LINK="$(tc-getCXX) ${LDFLAGS}" \ - LINK_FLAGS="${LDFLAGS}" -} - -src_install() { - doheader src/api/z3*.h src/api/c++/z3*.h - dolib.so build/*.so - dobin build/z3 - - python_foreach_impl python_domodule src/api/python/*.py -} diff --git a/sci-mathematics/z3/z3-9999.ebuild b/sci-mathematics/z3/z3-9999.ebuild deleted file mode 100644 index 589751a60..000000000 --- a/sci-mathematics/z3/z3-9999.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit autotools flag-o-matic git-r3 python-r1 toolchain-funcs - -DESCRIPTION="An efficient theorem prover" -HOMEPAGE="http://z3.codeplex.com/" -SRC_URI="" -EGIT_REPO_URI="https://git01.codeplex.com/z3" -EGIT_MIN_CLONE_TYPE=single - -SLOT="0" -LICENSE="MIT" -KEYWORDS="" -IUSE="gmp" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - gmp? ( dev-libs/gmp:0 )" -# A new curl is needed because codeplex has a bug and early version of libcurl -# will cause a failed git clone. -DEPEND="${RDEPEND} - >=net-misc/curl-7.33" - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]]; then - if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then - ewarn "Please use an openmp compatible compiler" - ewarn "like >gcc-4.2 with USE=openmp" - die "Openmp support missing in compiler" - fi - fi -} - -src_prepare() { - sed \ - -e 's:-O3::g' \ - -e 's:-fomit-frame-pointer::' \ - -e 's:-msse2::g' \ - -e 's:-msse::g' \ - -e "/LINK_EXTRA_FLAGS/s:@LDFLAGS@:-lrt $(usex gmp -lgmp):g" \ - -e 's:t@\$:t\$:g' \ - -i scripts/*mk* || die - - append-ldflags -fopenmp - - eautoreconf -} - -src_configure() { - python_export_best - econf \ - --host="" \ - --with-python="${PYTHON}" \ - $(use_with gmp) \ - SLIBFLAGS=" -Wl,-soname,lib${PN}.so.0.1 " - ${EPYTHON} scripts/mk_make.py || die -} - -src_compile() { - emake \ - --directory="build" \ - CXX=$(tc-getCXX) \ - LINK="$(tc-getCXX) ${LDFLAGS}" \ - LINK_FLAGS="${LDFLAGS}" -} - -src_install() { - doheader src/api/z3*.h src/api/c++/z3*.h - dolib.so build/*.so - dobin build/z3 - - python_foreach_impl python_domodule src/api/python/*.py -}
