diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-06-03 00:07:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-06-03 00:07:26 +0100 |
commit | a3bb28551df94028000fb72308a9e9baa01458b0 (patch) | |
tree | 33b14c7bf0dffbd5bb04dbd5b395514ebdda4896 /app-text/pastebinit | |
parent | 6657c680376cedf378fcf328e5fa03ed3b41d580 (diff) |
gentoo auto-resync : 03:06:2024 - 00:07:25
Diffstat (limited to 'app-text/pastebinit')
-rw-r--r-- | app-text/pastebinit/Manifest | 4 | ||||
-rw-r--r-- | app-text/pastebinit/metadata.xml | 1 | ||||
-rw-r--r-- | app-text/pastebinit/pastebinit-1.6.2.ebuild | 64 |
3 files changed, 68 insertions, 1 deletions
diff --git a/app-text/pastebinit/Manifest b/app-text/pastebinit/Manifest index f7987db64771..d77fec7d2c8f 100644 --- a/app-text/pastebinit/Manifest +++ b/app-text/pastebinit/Manifest @@ -1,4 +1,6 @@ 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.5.1.orig.tar.gz 51448 BLAKE2B a5cfa13c770e234d6e08d4f0b662c09398a5f20ac4e3f7c10ab086261923851239a3e6c1bda78ba6ba810f95cd90e6517b74aa41c5b5e3d50bca5b8c100aa594 SHA512 02b7faa54862d240eac3a8edaae2edb895cbb476cbf89dc71514a5a0a42aa2b0d26f07e5485627d1deb61f62e37018459e4d072bd4aacc886f259fced35e352c EBUILD pastebinit-1.5.1-r1.ebuild 1507 BLAKE2B 273d73391a9f5be527c323a539bdc3f07c222fc9bc266be82bbe4ff695c5ef9657b41cef810c9132bdcf82f6c456d5056cc76d2bbb9bf8a5c3ac84cfaa543062 SHA512 f1f769347d704bff655f0ed4285f4a439a242f8d70f0a25e14dba2cac06acb30ca2d38aa7e9199b64cabf5cffb44791db988ef7a9c7845e45741135585def50e -MISC metadata.xml 268 BLAKE2B 30d2caaa23f9dcdf03db51ba606d174f25821f83a68e7f83a91d9ce89b4b94b5d635f90cc9c7a4f8497eea4699bbf98dc0e488b82e7277b99eba7331f752a0e2 SHA512 79de8c690c5e7ff5b228bc59e098859599a79d1d2abf8709d6623decc385b95444125c60122f69c0a6a3d6b5940b1eb929e872010887bf70dbd99b12598ca1e2 +EBUILD pastebinit-1.6.2.ebuild 1319 BLAKE2B 21138fd01ea65555664714f9c5c5309152ee919effbcc1ba2325bc7d0fd31e0f002aa16ac1041cf46f1348f277cc31cddefba69580fc684e7e6204e08a0aa992 SHA512 f86603a6233c3e2e734626a1550fe7c16c03fad3fe2f6fccb9e092070f5fc6ef288c1f4dc0c88ed7a49a08e99589d6457eb784cf0a052c93c20702d9b8b40449 +MISC metadata.xml 329 BLAKE2B 231c5095d0163f6e8d88a96db132c8d8fe6e51b8c6e4ab02103c16c777096676d7b3b2a0b304840dd7b3ebcd5498d8ea94395be1075ae70ae3e7783623a7f855 SHA512 3130c3eb7d1c11976d3f3704ea7e520d9e82c676bce2e6207482a1660c9da5b0c55cdc7df1a7b744106c3b925760df168c0b02d5475a3c406e231d058ef4079c diff --git a/app-text/pastebinit/metadata.xml b/app-text/pastebinit/metadata.xml index 946d7034d93b..dcc7ed11569a 100644 --- a/app-text/pastebinit/metadata.xml +++ b/app-text/pastebinit/metadata.xml @@ -5,5 +5,6 @@ <stabilize-allarches/> <upstream> <remote-id type="launchpad">pastebinit</remote-id> + <remote-id type="github">pastebinit/pastebinit</remote-id> </upstream> </pkgmetadata> diff --git a/app-text/pastebinit/pastebinit-1.6.2.ebuild b/app-text/pastebinit/pastebinit-1.6.2.ebuild new file mode 100644 index 000000000000..9ea08d834305 --- /dev/null +++ b/app-text/pastebinit/pastebinit-1.6.2.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..12} ) +inherit optfeature python-single-r1 + +DESCRIPTION="A 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 +} |