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 269F115802E for ; Sun, 23 Jun 2024 19:49:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDCFEE2A00; Sun, 23 Jun 2024 19:49:35 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id C2DAFE29F4 for ; Sun, 23 Jun 2024 19:49:35 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C313342F94 for ; Sun, 23 Jun 2024 19:49:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41CAA1D34 for ; Sun, 23 Jun 2024 19:49:33 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1719171963.902f56e5a42f5866d951b3f4d6c8e40ab316f4fa.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/pastebinit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/pastebinit/Manifest app-text/pastebinit/pastebinit-1.7.0.ebuild X-VCS-Directories: app-text/pastebinit/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 902f56e5a42f5866d951b3f4d6c8e40ab316f4fa X-VCS-Branch: master Date: Sun, 23 Jun 2024 19:49:33 +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: b2889afe-41c5-4ca6-8552-189f221bdba1 X-Archives-Hash: f653a1776aebaa35e39b549f32d9a073 commit: 902f56e5a42f5866d951b3f4d6c8e40ab316f4fa Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Jun 21 13:42:25 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jun 23 19:46:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902f56e5 app-text/pastebinit: add 1.7.0 Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/37241 Signed-off-by: Conrad Kostecki gentoo.org> app-text/pastebinit/Manifest | 1 + app-text/pastebinit/pastebinit-1.7.0.ebuild | 64 +++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) diff --git a/app-text/pastebinit/Manifest b/app-text/pastebinit/Manifest index c55b6cc6d875..51ac900fba76 100644 --- a/app-text/pastebinit/Manifest +++ b/app-text/pastebinit/Manifest @@ -1,2 +1,3 @@ DIST pastebinit-1.6.2.tar.gz 53444 BLAKE2B 1e8853f0f37ac98eb1537dcc01f7c2ee33a3cf72fb5b10fc18b3f6b1662f3e15acf29c1674c2a34e234c6636ac70f59b265862a48c0860d1ff3725eabe11d7c4 SHA512 a04863bc748340bd8bc9d6170dedb2b234b53996cbaf5d1fdd0a078d0d6f03c4c558d2a5029359eb95d25c1339af25d74dbf247af1de0ae278a7664869e8841d +DIST pastebinit-1.7.0.tar.gz 54026 BLAKE2B 11d049333cd08866765ccd22292d1c13e13248ace2e713b69a30a0100d65ff16554368e0c875752d07050de2728ff5ad327f0f8fdbbaa6b53bd7fa98a7286cde SHA512 01f65eb91803926bc401d01781d29ff5e409e1caf0aa593744a6e137571db6308893ce327b954131d55b2a5f764d4598fcfbfbab40cdc74a3fdb776566ab4488 DIST pastebinit_1.5.1.orig.tar.gz 51448 BLAKE2B a5cfa13c770e234d6e08d4f0b662c09398a5f20ac4e3f7c10ab086261923851239a3e6c1bda78ba6ba810f95cd90e6517b74aa41c5b5e3d50bca5b8c100aa594 SHA512 02b7faa54862d240eac3a8edaae2edb895cbb476cbf89dc71514a5a0a42aa2b0d26f07e5485627d1deb61f62e37018459e4d072bd4aacc886f259fced35e352c diff --git a/app-text/pastebinit/pastebinit-1.7.0.ebuild b/app-text/pastebinit/pastebinit-1.7.0.ebuild new file mode 100644 index 000000000000..6c79a36cb184 --- /dev/null +++ b/app-text/pastebinit/pastebinit-1.7.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +inherit optfeature python-single-r1 + +DESCRIPTION="Software that lets you send anything you want directly to a pastebin" +HOMEPAGE="https://github.com/pastebinit/pastebinit" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" +IUSE="man" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +BDEPEND=" + sys-devel/gettext + man? ( + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + ) +" + +src_prepare() { + default + python_fix_shebang "${S}"/${PN} +} + +src_compile() { + emake -C po + + if use man; then + ebegin "Generating a manpage with xsltproc" + xsltproc --nonet \ + "${BROOT}"/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl \ + pastebinit.xml + eend $? || die + fi +} + +src_install() { + dobin pastebinit utils/pbput + dosym pbput /usr/bin/pbget + dosym pbput /usr/bin/pbputs + + einstalldocs + doman utils/*.1 + use man && doman pastebinit.1 + + insinto /usr/share/locale + doins -r po/mo/* + + insinto /usr/share + doins -r pastebin.d +} + +pkg_postinst() { + optfeature "pbput and pbputs scripts" app-arch/xz-utils + optfeature "pbget and pbputs scripts" app-crypt/gnupg +}