dev-lang/swi-prolog: version bump
authorKeri Harris <keri@gentoo.org>
Fri, 5 Jul 2019 19:23:30 +0000 (21:23 +0200)
committerKeri Harris <keri@gentoo.org>
Fri, 5 Jul 2019 19:23:30 +0000 (21:23 +0200)
Signed-off-by: Keri Harris <keri@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-lang/swi-prolog/Manifest
dev-lang/swi-prolog/swi-prolog-8.0.3.ebuild [new file with mode: 0644]

index a412a61a809a6e8066417152cef3a8c97f46f87e..bef93c92ab642aa01096c8f3f1059f6740a20b3b 100644 (file)
@@ -8,6 +8,7 @@ DIST swipl-7.6.4.tar.gz 16777875 BLAKE2B 94409966362e649f4748b94b4ec25415bb827c7
 DIST swipl-8.0.0.tar.gz 10352830 BLAKE2B f5ce1c5d0d48b4904a09b16c0b84b3a0c7385d087aeaa5fb1d673014e10a82e89d477ffb193a37f5b1a8db70cc46b8531cb2358ee8927f8f46b7321edc9c6754 SHA512 1a569793c5cbc7c02a81f94ad73f29459bf085d01162b74b1b72c2a52090d882ae0aee0de6363d143c3fac20f2bbb0e74c2f035d3f3114395048fb4a8073ed5a
 DIST swipl-8.0.1.tar.gz 10364104 BLAKE2B 638ce216c361fe0a85d691989894c113714511628cb305ac990a60cc376a3c5d4f373461e0f2ee66df9954913c6fe7c45d4ef2660dd6fed5bca9339c692a9882 SHA512 40ffb9ecf213ae49b397e5a37d6fb90b83fc353a8408662e193e289c87de9e851427f6523061f067050b258ddad1ded157caf8124149c0335203b9bf08e7baf6
 DIST swipl-8.0.2.tar.gz 10413446 BLAKE2B 72214b86cb7276ce528b2791ed08273d568952d5a7109882a1a485c183252f5e9eb90ae18e3712e2adf9f0521c447b06daa455ee637298a64e476e675211c0bc SHA512 88b42846edefa45d67cf016f2d8bca5dfbf153667dcec36785dc441208e09c1e45cf979a7b6862de2bdf3dce4947f2d8c2e445714798de84f5e1841df57dbe96
+DIST swipl-8.0.3.tar.gz 10418553 BLAKE2B d7d381a3070384164f9788060e1c431cc4658dd3e2144fc4c186c9f5395fb7356593766dcaff3ff424f19f917c8a4b56da31b019bd2206a7f794ece549043b76 SHA512 e3a0788befb5499be6f70524ef398dc3282a38891f20519dd23ec92f216fc1919a76656e4b648c3dc9d94e578dc2663439ff976eb52ca0dba5a6594f8d4d3037
 DIST swipl-8.1.5.tar.gz 10547299 BLAKE2B 2fd158ed21da8ca20cbd6a593f384e4ba362b493e338012c6e6c410dfdc64861fa8613fba33e6553cc26ef360d910ce708c45df6c020bebca756b3df5a0a777e SHA512 992f3d8deacce5bf9b5277ec30f79bff0c8d765ff891b126d9f30a7c2c0a3dca7448c58083007a677f162d371143a6936e08e8395b72f6ddc2efecd16b56fcef
 DIST swipl-8.1.6.tar.gz 10638490 BLAKE2B bf64c8968971720ebba0eacf73a14b1f4ae3c84550ac2ef001f609e4a0793e1fb1bb9fbe2b5f9c6d7e54bf8f815eb81508fd42e6745a04c736d76ba03d6c6fac SHA512 809526860aa7d93403637856b8705806a0604e3feb96774c712549ad3b385e708c87de6e11fce1456fb278fe5815fbbca12247fe8725ba167c9151e236ec3485
 DIST swipl-8.1.7.tar.gz 10650684 BLAKE2B 2a8c008997801bb9a7b074975c8d12ad86c3061373acf2c586db9b32a3feb3add945981ac24612e5076adc1e1f29eb3a1b1dca2299ac326552c61de364847520 SHA512 670d38b88ca8366186cc7be64170b6da6ed64ef41e7865bb1a4acc631fb8676f3a15dc04da2ca9521b4742d6693fa450539e0576c5db5f76a03a1bdd4eec45a6
diff --git a/dev-lang/swi-prolog/swi-prolog-8.0.3.ebuild b/dev-lang/swi-prolog/swi-prolog-8.0.3.ebuild
new file mode 100644 (file)
index 0000000..e290240
--- /dev/null
@@ -0,0 +1,99 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils eutils flag-o-matic multilib
+
+PATCHSET_VER="0"
+
+DESCRIPTION="versatile implementation of the Prolog programming language"
+HOMEPAGE="http://www.swi-prolog.org/"
+SRC_URI="http://www.swi-prolog.org/download/stable/src/swipl-${PV}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="archive berkdb debug doc +gmp java +libedit libressl minimal odbc pcre qt5 readline ssl test uuid X yaml"
+
+RDEPEND="sys-libs/ncurses:=
+       sys-libs/zlib
+       archive? ( app-arch/libarchive )
+       berkdb? ( >=sys-libs/db-4:= )
+       odbc? ( dev-db/unixODBC )
+       pcre? ( dev-libs/libpcre )
+       readline? ( sys-libs/readline:= )
+       libedit? ( dev-libs/libedit )
+       gmp? ( dev-libs/gmp:0 )
+       ssl? (
+               !libressl? ( dev-libs/openssl:0 )
+               libressl? ( dev-libs/libressl )
+       )
+       java? ( >=virtual/jdk-1.7:= )
+       uuid? ( dev-libs/ossp-uuid )
+       qt5? (
+               dev-qt/qtwidgets:5
+               dev-qt/qtgui:5
+       )
+       X? (
+               virtual/jpeg:0
+               x11-libs/libX11
+               x11-libs/libXft
+               x11-libs/libXinerama
+               x11-libs/libXpm
+               x11-libs/libXt
+               x11-libs/libICE
+               x11-libs/libSM )
+       yaml? ( dev-libs/libyaml )"
+
+DEPEND="${RDEPEND}
+       X? ( x11-base/xorg-proto )
+       java? ( test? ( =dev-java/junit-3.8* ) )"
+
+S="${WORKDIR}/swipl-${PV}"
+BUILD_DIR="${S}/build"
+CMAKE_USE_DIR="${S}"
+
+src_prepare() {
+       EPATCH_FORCE=yes
+       EPATCH_SUFFIX=patch
+       if [[ -d "${WORKDIR}"/${PV} ]] ; then
+               epatch "${WORKDIR}"/${PV}
+       fi
+
+       sed -i -e "s|\(SWIPL_INSTALL_PREFIX\)   lib/.*)|\1   $(get_libdir)/swipl)|" CMakeLists.txt || die
+
+       eapply_user
+
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       append-flags -fno-strict-aliasing
+       use debug && append-flags -DO_DEBUG
+
+       mycmakeargs=(
+               -DSWIPL_INSTALL_PREFIX=$(get_libdir)/swipl
+               -DUSE_GMP=$(usex gmp)
+               -DINSTALL_DOCUMENTATION=$(use doc && usex archive)
+               -DSWIPL_PACKAGES_BASIC=$(usex !minimal)
+               -DSWIPL_PACKAGES_ARCHIVE=$(usex archive)
+               -DSWIPL_PACKAGES_ODBC=$(usex odbc)
+               -DSWIPL_PACKAGES_BDB=$(usex berkdb)
+               -DSWIPL_PACKAGES_PCRE=$(usex pcre)
+               -DSWIPL_PACKAGES_YAML=$(usex yaml)
+               -DSWIPL_PACKAGES_SSL=$(usex ssl)
+               -DSWIPL_PACKAGES_JAVA=$(usex java)
+               -DSWIPL_PACKAGES_QT=$(usex qt5)
+               -DSWIPL_PACKAGES_X=$(usex X)
+               -DSWIPL_PACKAGES_TERM=$(if use libedit || use readline; then echo yes; else echo no; fi)
+               )
+
+       cmake-utils_src_configure
+}
+
+src_test() {
+       USE_PUBLIC_NETWORK_TESTS=false \
+       USE_ODBC_TESTS=false \
+               cmake-utils_src_test -V
+}