From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0545615800F for ; Sat, 21 Jan 2023 18:00:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0494DE0729; Sat, 21 Jan 2023 18:00:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DC935E0729 for ; Sat, 21 Jan 2023 18:00:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D927533BEAC for ; Sat, 21 Jan 2023 18:00:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6213779 for ; Sat, 21 Jan 2023 18:00:38 +0000 (UTC) From: "Arsen Arsenović" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arsen Arsenović" Message-ID: <1674323953.6c53b9198753dfd894ebfb7f03bd0b2cb1b11f93.arsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/poke/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/poke/Manifest dev-util/poke/poke-2.90.0.ebuild X-VCS-Directories: dev-util/poke/ X-VCS-Committer: arsen X-VCS-Committer-Name: Arsen Arsenović X-VCS-Revision: 6c53b9198753dfd894ebfb7f03bd0b2cb1b11f93 X-VCS-Branch: master Date: Sat, 21 Jan 2023 18:00:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b3b25b70-21af-4532-8b13-2278935b4d69 X-Archives-Hash: 899d69e1dc7e670fdef5e66843fe6a4a commit: 6c53b9198753dfd894ebfb7f03bd0b2cb1b11f93 Author: Arsen Arsenović gentoo org> AuthorDate: Sat Jan 21 17:32:05 2023 +0000 Commit: Arsen Arsenović gentoo org> CommitDate: Sat Jan 21 17:59:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c53b919 dev-util/poke: add 2.90.0 Signed-off-by: Arsen Arsenović gentoo.org> dev-util/poke/Manifest | 1 + dev-util/poke/poke-2.90.0.ebuild | 119 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/dev-util/poke/Manifest b/dev-util/poke/Manifest index a06cf7ce9469..06df80592dde 100644 --- a/dev-util/poke/Manifest +++ b/dev-util/poke/Manifest @@ -1,2 +1,3 @@ DIST poke-2.3.tar.gz 7369945 BLAKE2B fe9274099a9ddacf1f46b7cec1f98cc6c442b24f149efbf4320a74a270dc8bad7cf3f87df817c9968a13ece763573b36f0ec99699cb9c7742b7be9023a4fca39 SHA512 101ef0009676c02f72ffb4889a02c9a161f29f412685249c7166f69077b0cd1b19d940567ebb86894bacf2278a2e138354fd49456f12b05a4c1957f437ff1d86 DIST poke-2.4.tar.gz 7372092 BLAKE2B 64b8b22713bb581c30b624200c0a283a8de548895db2c21d83babbb18a93f3a8975dd7af752bd7ea856242f90035add249fbb62462ac632bec351598bcca0fe5 SHA512 6fa1097a5cbbd4171b6a390934c5648b4c382b8b8c8dd4955bba82cb57107f67e23b39f2df2081904a02f457e6c5b2d10baed710da3ed4b9b9eab3f4127e12bc +DIST poke-2.90.0.tar.gz 7503533 BLAKE2B d5ceb3ae95025d34ba6efb14b437d9bb4c24c2bbdd782a551ca58ef45044c6059f073816a95a5eafe6d2e44eed5cb32b006a6bdbd74143d1b2ae0f885c131be8 SHA512 44e48988b20ddfebc988be9027455e9dda5a59aef09822967f275645b07155971b6de2e4554560c825df19625e01fc565469488826d6f687c92865f45ab35065 diff --git a/dev-util/poke/poke-2.90.0.ebuild b/dev-util/poke/poke-2.90.0.ebuild new file mode 100644 index 000000000000..77f62ea257d8 --- /dev/null +++ b/dev-util/poke/poke-2.90.0.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp-common flag-o-matic + +DESCRIPTION="Extensible editor for structured binary data" +HOMEPAGE="https://www.jemarch.net/poke" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.savannah.gnu.org/git/poke.git" + REGEN_BDEPEND=" + >=sys-devel/autoconf-2.62 + >=sys-devel/automake-1.16 + sys-apps/gawk + sys-apps/help2man + sys-apps/texinfo + sys-devel/bison + sys-devel/flex + " +elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) ]]; then + SRC_URI="https://alpha.gnu.org/gnu/poke/${P}.tar.gz" + REGEN_BDEPEND="" +else + SRC_URI="mirror://gnu/poke/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + REGEN_BDEPEND="" +fi + +LICENSE="GPL-3+" +SLOT="0" +IUSE="emacs pvm-profiling nbd nls test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/boehm-gc:= + dev-libs/libatomic_ops + sys-devel/gettext + sys-libs/readline:= + emacs? ( >=app-editors/emacs-23.1:* ) + nbd? ( sys-libs/libnbd ) +" +DEPEND=" + ${RDEPEND} + test? ( nbd? ( sys-libs/libnbd[uri-support] ) ) +" +BDEPEND=" + ${REGEN_BDEPEND} + virtual/pkgconfig + emacs? ( >=app-editors/emacs-23.1:* ) + test? ( + dev-util/dejagnu + nbd? ( sys-block/nbdkit ) + ) +" + +SITEFILE="50${PN}-gentoo.el" + +pkg_setup() { + use emacs && elisp-check-emacs-version +} + +src_prepare() { + default + + if [[ ${PV} == 9999 ]]; then + ./bootstrap || die + fi +} + +src_configure() { + # See bug 858461. + # Upstream support might happen one day. For context, only one file needs + # LTO to be disabled (since it's an autogenerated bytecode interpreter), + # others do not. The build system will handle this at some point in the + # future. Until then, just filter out LTO. + filter-lto + + local myconf=( + --with-lispdir="${EPREFIX}/${SITELISP}/${PN}" + --enable-hserver + $(use_enable nbd libnbd) + $(use_enable pvm-profiling) + $(use_enable nls) + ) + + econf "${myconf[@]}" +} + +src_compile() { + default + + if use emacs; then + cd etc || die + elisp-compile *.el + fi +} + +src_install() { + default + + if use emacs; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + cd etc || die + elisp-install "${PN}" *.el *.elc + fi + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +}