From b4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 24 Jun 2021 14:47:38 +0100 Subject: gentoo resync : 24.06.2021 --- dev-libs/librep/Manifest | 2 +- dev-libs/librep/librep-0.92.7-r1.ebuild | 83 +++++++++++++++++++++++++++++++++ dev-libs/librep/librep-0.92.7.ebuild | 81 -------------------------------- 3 files changed, 84 insertions(+), 82 deletions(-) create mode 100644 dev-libs/librep/librep-0.92.7-r1.ebuild delete mode 100644 dev-libs/librep/librep-0.92.7.ebuild (limited to 'dev-libs/librep') diff --git a/dev-libs/librep/Manifest b/dev-libs/librep/Manifest index ec63c9d3faa8..e958235569e6 100644 --- a/dev-libs/librep/Manifest +++ b/dev-libs/librep/Manifest @@ -1,5 +1,5 @@ AUX 50librep-gentoo.el 180 BLAKE2B 7d60b7ef76c4c695eca84d2c85e1d139fc34fcaaa76189510d8fe021b05a276da9ab33f38622e04c55bee7dcd312bc20baf86383114e527b34cc8daa305b35f5 SHA512 04a4da2e38ddf04bccd28002a46f13526249f31d2e25769056e1b763e3a22f75ffc2a906b68eef0ce04b1e6505acbf858f4d7f911258461e39419ebe4b098b71 AUX librep-0.92.0-disable-elisp.patch 838 BLAKE2B ec37012dd440def1beab62335b787d7d064b416f3274bf5e563127801f0b242313fbdc5b30e43dd7e518c2a91a05532f606126645af33d45c808d570731a759b SHA512 cdbfe9f8f210869243e38e6ed4f2ea66cee4a1c626e7fcd8b9733870998e59e0a294c3cb9c491eefac8d6b89a8effc9068ea0dd9f2d2d6a86c9dc49dd838f126 DIST librep_0.92.7.tar.xz 651344 BLAKE2B 3a0e9a3eef0afa2e095537dfc307418ba87ce7a9baabdba262fd9a24b71cc6577fe1282412da495d56bf22007f1931c5b834f5bcf4c5ebe87d6b43a4975d630e SHA512 752cb2da31457200b5896f70ce24a097b261b996da25998cd78a777f982597473afce1a216f449a4a969d29b1678bf54e2f148e86de6f9548eeb5cfd530ae377 -EBUILD librep-0.92.7.ebuild 1581 BLAKE2B 907fbee7b5397dbed6be6bbbcf76f574994ec002a70097c2333ee971fa610d0b3ae1b914b9ba45857a55cd51ce91a16b82a350533971c5002b387e0b5c64ab19 SHA512 364202afcc41399a1a320e675862d2174929858b304349ebfc6ac2fd420a72b8d68aaef5c597d35f21c4ef613db156ada787ae267c15176f4c52afad1879ebf9 +EBUILD librep-0.92.7-r1.ebuild 1612 BLAKE2B 7d492e6d5cc79f5fac47e0cf137c50154cbcbcb763b7f655a8c4ad1e9f7c8ee6e8fe7c684bcfd54a1d89dcb0cad828bd967a604f42020cf532efceff64ef6840 SHA512 e4cce157261be24701fb0a1d5c931dec53f3972e72e4ccb0c8c7c1cebf99c23b9729a592ee445c0b064f6d966d55943799a3eddcfcf3f9517119b062f4ee2792 MISC metadata.xml 243 BLAKE2B 424708417b0be4fbbd98ebe053b99952e71bf62573e9c47eccd5adfa07de8ed4d9477bf5883b3ba4d4e9d1af015ff6e4f347fe1caa3fefa1ae7a1d5c9c0a82fc SHA512 6d786c0bd00b4cfc39b7705053bfda7169666513c7e7ca16f9fdcca5244b89f1e0024731214956e6cdcde8d241914c6f66b7dae153c4c48e5a41e44bd1b04411 diff --git a/dev-libs/librep/librep-0.92.7-r1.ebuild b/dev-libs/librep/librep-0.92.7-r1.ebuild new file mode 100644 index 000000000000..fd71bdbfeaa3 --- /dev/null +++ b/dev-libs/librep/librep-0.92.7-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools elisp-common flag-o-matic + +DESCRIPTION="Shared library implementing a Lisp dialect" +HOMEPAGE="https://sawfish.fandom.com/" +SRC_URI="https://download.tuxfamily.org/librep/${PN}_${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86" +IUSE="emacs gmp readline" + +RDEPEND=" + >=sys-libs/gdbm-1.8.0:= + virtual/libcrypt:= + emacs? ( >=app-editors/emacs-23.1:* ) + gmp? ( dev-libs/gmp:= ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-apps/texinfo +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.92.0-disable-elisp.patch +) + +S="${WORKDIR}/${PN}_${PV}" + +src_prepare() { + # fix #570072 by restoring pre-GCC5 inline semantics + append-cflags -std=gnu89 + default + + # The configure script is missing from this version. + eautoreconf +} + +src_configure() { + econf \ + $(use_with gmp) \ + $(use_with readline) \ + --disable-static \ + --libexecdir=/usr/$(get_libdir) \ + --without-ffi +} + +src_compile() { + default + + if use emacs; then + elisp-compile rep-debugger.el || die "elisp-compile failed" + fi +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die + + find "${D}/usr/share/man" -name '*.gz' -exec gunzip {} \; || die + + dodoc doc/* + + if use emacs; then + elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" \ + || die "elisp-site-file-install failed" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-libs/librep/librep-0.92.7.ebuild b/dev-libs/librep/librep-0.92.7.ebuild deleted file mode 100644 index b5b9249eb9fa..000000000000 --- a/dev-libs/librep/librep-0.92.7.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools elisp-common flag-o-matic - -DESCRIPTION="Shared library implementing a Lisp dialect" -HOMEPAGE="https://sawfish.fandom.com/" -SRC_URI="https://download.tuxfamily.org/librep/${PN}_${PV}.tar.xz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~ia64 ppc ppc64 sparc x86" -IUSE="emacs gmp readline" - -RDEPEND=" - >=sys-libs/gdbm-1.8.0 - emacs? ( >=app-editors/emacs-23.1:* ) - gmp? ( dev-libs/gmp:= ) - readline? ( sys-libs/readline:0= ) -" -BDEPEND=" - ${RDEPEND} - sys-apps/texinfo -" - -PATCHES=( - "${FILESDIR}"/${PN}-0.92.0-disable-elisp.patch -) - -S="${WORKDIR}/${PN}_${PV}" - -src_prepare() { - # fix #570072 by restoring pre-GCC5 inline semantics - append-cflags -std=gnu89 - default - - # The configure script is missing from this version. - eautoreconf -} - -src_configure() { - econf \ - $(use_with gmp) \ - $(use_with readline) \ - --disable-static \ - --libexecdir=/usr/$(get_libdir) \ - --without-ffi -} - -src_compile() { - default - - if use emacs; then - elisp-compile rep-debugger.el || die "elisp-compile failed" - fi -} - -src_install() { - default - - find "${D}" -name '*.la' -delete || die - - find "${D}/usr/share/man" -name '*.gz' -exec gunzip {} \; || die - - dodoc doc/* - - if use emacs; then - elisp-install ${PN} rep-debugger.{el,elc} || die "elisp-install failed" - elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" \ - || die "elisp-site-file-install failed" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} -- cgit v1.2.3