[gentoo-commits] repo/gentoo:master commit in: dev-libs/stp/
commit: 05e884516faad612fa7a11f04c553d6469ec2db1 Author: Jeffrey Lin icurse nl> AuthorDate: Sat Aug 22 21:32:25 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Sep 16 08:04:11 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05e88451 dev-libs/stp: declare boost as dependency Also remove static flag as that requires (boost and) minisat with static-libs, which isn't packaged. Closes: https://bugs.gentoo.org/699630 Package-Manager: Portage-3.0.4, Repoman-3.0.0 Signed-off-by: Jeffrey Lin icurse.nl> Closes: https://github.com/gentoo/gentoo/pull/17218 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/stp/stp-2.3.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-libs/stp/stp-2.3.3.ebuild b/dev-libs/stp/stp-2.3.3.ebuild index 69e3d1b92d7..c88151911ba 100644 --- a/dev-libs/stp/stp-2.3.3.ebuild +++ b/dev-libs/stp/stp-2.3.3.ebuild @@ -11,10 +11,11 @@ SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2+ MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="python static test" +IUSE="python test" RESTRICT="!test? ( test )" DEPEND=" + dev-libs/boost:= sci-mathematics/minisat " RDEPEND="${DEPEND}" @@ -31,7 +32,6 @@ src_configure() { -DENABLE_ASSERTIONS="$(usex test)" -DENABLE_TESTING="$(usex test)" -DENABLE_PYTHON_INTERFACE="$(usex python)" - -DSTATICCOMPILE="$(usex static)" ) cmake_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stp/
commit: ad2372cfd284cad95532615720b4c659d1dcaebf Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Jan 1 10:15:52 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jan 1 10:17:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad2372cf dev-libs/stp: Switch to cmake.eclass Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/stp/stp-2.3.3.ebuild | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-libs/stp/stp-2.3.3.ebuild b/dev-libs/stp/stp-2.3.3.ebuild index a900384b217..69e3d1b92d7 100644 --- a/dev-libs/stp/stp-2.3.3.ebuild +++ b/dev-libs/stp/stp-2.3.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="Simple Theorem Prover, an efficient SMT solver for bitvectors" HOMEPAGE="https://stp.github.io/"; @@ -23,7 +23,7 @@ src_prepare() { # replace static lib with $(get_libdir) sed -i "s/set(LIBDIR lib/set(LIBDIR $(get_libdir)/" CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -33,11 +33,11 @@ src_configure() { -DENABLE_PYTHON_INTERFACE="$(usex python)" -DSTATICCOMPILE="$(usex static)" ) - cmake-utils_src_configure + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install # don't install to /usr/man doman "${D}/usr/man/man1/stp.1"
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stp/
commit: 4146e80b7fd150a9c810bcf9544ac3091c582c2b Author: Jeffrey Lin icurse nl> AuthorDate: Fri Jan 4 03:56:34 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 21 14:32:09 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4146e80b dev-libs/stp: new package Closes: https://bugs.gentoo.org/522388 Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Jeffrey Lin icurse.nl> Closes: https://github.com/gentoo/gentoo/pull/10735 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/stp/Manifest | 1 + dev-libs/stp/metadata.xml | 26 + dev-libs/stp/stp-2.3.3.ebuild | 44 +++ 3 files changed, 71 insertions(+) diff --git a/dev-libs/stp/Manifest b/dev-libs/stp/Manifest new file mode 100644 index 000..e41280980dc --- /dev/null +++ b/dev-libs/stp/Manifest @@ -0,0 +1 @@ +DIST stp-2.3.3.tar.gz 2577550 BLAKE2B 9ebedf3cb8e6b50d037cfacbc14826bd4e6505d29a53b1fcc6580749f0637fe5f96619c166babdb3a52b18fb6337e49c02f5693e233effe84d0131d0e7402381 SHA512 a0b1bf419d8230e40ce0aee90d9c8c9d814aca300831c24b3576c75623362942abf20673c419f9f0ea1e0505bfae000dc65fdd818179f5759879b0b255f1b99a diff --git a/dev-libs/stp/metadata.xml b/dev-libs/stp/metadata.xml new file mode 100644 index 000..2b1417586ce --- /dev/null +++ b/dev-libs/stp/metadata.xml @@ -0,0 +1,26 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + jeff...@icurse.nl + Jeffrey Lin + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + STP is a constraint solver (or SMT solver) aimed at solving + constraints of bitvectors and arrays. These types of + constraints can be generated by program analysis tools, theorem + provers, automated bug finders, cryptographic attack tools, + intelligent fuzzers, model checkers, and by many other + applications. + + + stp/stp + + + Enable building the Python interface + + diff --git a/dev-libs/stp/stp-2.3.3.ebuild b/dev-libs/stp/stp-2.3.3.ebuild new file mode 100644 index 000..b5f232edc1d --- /dev/null +++ b/dev-libs/stp/stp-2.3.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils + +DESCRIPTION="Simple Theorem Prover, an efficient SMT solver for bitvectors" +HOMEPAGE="https://stp.github.io/"; +SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="python static test" + +DEPEND=" + sci-mathematics/minisat +" +RDEPEND="${DEPEND}" + +src_prepare() { + # replace static lib with $(get_libdir) + sed -i "s/set(LIBDIR lib/set(LIBDIR $(get_libdir)/" CMakeLists.txt || die + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_ASSERTIONS="$(usex test)" + -DENABLE_TESTING="$(usex test)" + -DENABLE_PYTHON_INTERFACE="$(usex python)" + -DSTATICCOMPILE="$(usex static)" + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + # don't install to /usr/man + doman "${D}/usr/man/man1/stp.1" || die + rm -r "${D}/usr/man" || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/stp/
commit: 6ad928e01c7ee434a95df3d50891a57237df964d Author: Joonas Niilola gentoo org> AuthorDate: Mon Oct 21 14:31:52 2019 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Oct 21 14:32:10 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad928e0 dev-libs/stp: fix 'doman' Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/stp/stp-2.3.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/stp/stp-2.3.3.ebuild b/dev-libs/stp/stp-2.3.3.ebuild index b5f232edc1d..df1fb807e5e 100644 --- a/dev-libs/stp/stp-2.3.3.ebuild +++ b/dev-libs/stp/stp-2.3.3.ebuild @@ -39,6 +39,6 @@ src_install() { cmake-utils_src_install # don't install to /usr/man - doman "${D}/usr/man/man1/stp.1" || die + doman "${D}/usr/man/man1/stp.1" rm -r "${D}/usr/man" || die }