summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-06-17 01:07:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2022-06-17 01:07:47 +0200
commitf5296d73a7179526b8d737014bd8e68ece7e4aba (patch)
tree559abb24769315eb97373dd79edcb7d08d70ba07 /app-misc
parentnet-misc/ntpsec: Stabilize 1.2.1-r6 amd64, #851978 (diff)
downloadgentoo-f5296d73a7179526b8d737014bd8e68ece7e4aba.tar.gz
gentoo-f5296d73a7179526b8d737014bd8e68ece7e4aba.tar.bz2
gentoo-f5296d73a7179526b8d737014bd8e68ece7e4aba.zip
app-misc/reptyr: Bump to version 0.9.0
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/reptyr/Manifest1
-rw-r--r--app-misc/reptyr/reptyr-0.9.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/reptyr/Manifest b/app-misc/reptyr/Manifest
index c89832a0568c..86b6b31f3f6e 100644
--- a/app-misc/reptyr/Manifest
+++ b/app-misc/reptyr/Manifest
@@ -1 +1,2 @@
DIST reptyr-0.8.0.tar.gz 32239 BLAKE2B eb3d966c06df710ea27a421bceaca0c91e342cb981567eedc9125e5dd2dc937be294dc212ed9b3021d5e5d75e1011fa4a39eaf93c152c24ef7c5098f8edd9018 SHA512 880d899a2b6df3c33909dc70ce0a58f413b2e2eec2e212abc709348345d48294cf2e39f5891ab4b1fa24e69b54effe99c1b8ab03b448bfd7097e20498e7e85dc
+DIST reptyr-0.9.0.tar.gz 32589 BLAKE2B 2673128d90f302a5591466314446257b654f727efce24e2c1a68a2f876a7b385905acb5a4648945ce15e90e2419b4aee5a8a88377dd8229f3b130ba5ba858e46 SHA512 a59670449cb597657dbb244228fd4246142190615ce1a6369f11b8c99cb12d8e2bedb4efd7cdc301a4f7c18d29e8799eea8f14d062a8ad7b7c025034cba66ac7
diff --git a/app-misc/reptyr/reptyr-0.9.0.ebuild b/app-misc/reptyr/reptyr-0.9.0.ebuild
new file mode 100644
index 000000000000..d36f18cfc3bd
--- /dev/null
+++ b/app-misc/reptyr/reptyr-0.9.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 toolchain-funcs flag-o-matic vcs-snapshot
+
+DESCRIPTION="A utility to attach a running program to a new terminal"
+HOMEPAGE="https://github.com/nelhage/reptyr"
+SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ # respect CFLAGS
+ sed -i '/^override/d' Makefile || die
+}
+
+src_compile() {
+ append-cppflags -D_GNU_SOURCE
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+ dodoc ChangeLog NOTES README.md
+ newbashcomp reptyr{.bash,}
+}