summaryrefslogtreecommitdiff
path: root/app-text/pastebinit
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pastebinit')
-rw-r--r--app-text/pastebinit/Manifest2
-rw-r--r--app-text/pastebinit/pastebinit-1.7.0.ebuild64
2 files changed, 66 insertions, 0 deletions
diff --git a/app-text/pastebinit/Manifest b/app-text/pastebinit/Manifest
index d77fec7d2c8f..d6c11c70b4f2 100644
--- a/app-text/pastebinit/Manifest
+++ b/app-text/pastebinit/Manifest
@@ -1,6 +1,8 @@
AUX pastebinit-1.5.1-distro.patch 379 BLAKE2B c843acae6267fe2408945cabc0951f9d8cf01cbec1e472658369782a7ded31670eda5a4778df0d89597b5579cf647e47140842cc35b6c3f16eb704d3fb3eefd1 SHA512 bf75d156035e2e08752d7ecd371f5a92b4eb88ea834b4c7a23a533b6c650069d68d0069220e1f0eb04adf8e399c7cf2cf49c93047b42b6fd9d0d2e529dd1dda1
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
EBUILD pastebinit-1.5.1-r1.ebuild 1507 BLAKE2B 273d73391a9f5be527c323a539bdc3f07c222fc9bc266be82bbe4ff695c5ef9657b41cef810c9132bdcf82f6c456d5056cc76d2bbb9bf8a5c3ac84cfaa543062 SHA512 f1f769347d704bff655f0ed4285f4a439a242f8d70f0a25e14dba2cac06acb30ca2d38aa7e9199b64cabf5cffb44791db988ef7a9c7845e45741135585def50e
EBUILD pastebinit-1.6.2.ebuild 1319 BLAKE2B 21138fd01ea65555664714f9c5c5309152ee919effbcc1ba2325bc7d0fd31e0f002aa16ac1041cf46f1348f277cc31cddefba69580fc684e7e6204e08a0aa992 SHA512 f86603a6233c3e2e734626a1550fe7c16c03fad3fe2f6fccb9e092070f5fc6ef288c1f4dc0c88ed7a49a08e99589d6457eb784cf0a052c93c20702d9b8b40449
+EBUILD pastebinit-1.7.0.ebuild 1318 BLAKE2B e865ab6c4ab7ee64688f9b9b6c3ac8a1ad20110bd0a8e70851dc40b166970fc22f8013a28122a9880210b2feebb9b14284c19d106631b90c0804a679662749e6 SHA512 328decbf4a04e7f62d2357b13a32d50fb2fca48bbc8df821afed088b1e6869462a79d973a0e7b1b8a47bbf17472ffb6928cd24583ebb7dc445556be4fe1937ac
MISC metadata.xml 329 BLAKE2B 231c5095d0163f6e8d88a96db132c8d8fe6e51b8c6e4ab02103c16c777096676d7b3b2a0b304840dd7b3ebcd5498d8ea94395be1075ae70ae3e7783623a7f855 SHA512 3130c3eb7d1c11976d3f3704ea7e520d9e82c676bce2e6207482a1660c9da5b0c55cdc7df1a7b744106c3b925760df168c0b02d5475a3c406e231d058ef4079c
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
+}