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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 646A6138359 for ; Tue, 7 Jul 2020 14:05:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 858ACE0864; Tue, 7 Jul 2020 14:05:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B995E0864 for ; Tue, 7 Jul 2020 14:05:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28FA734F02B for ; Tue, 7 Jul 2020 14:05:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1633C2C8 for ; Tue, 7 Jul 2020 14:05:13 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1594130671.6d1d74990c9e30b4e25322f5f367b7611c2bc038.epsilon-0@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/purritobin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/purritobin/Manifest net-misc/purritobin/purritobin-0.2.3.ebuild X-VCS-Directories: net-misc/purritobin/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 6d1d74990c9e30b4e25322f5f367b7611c2bc038 X-VCS-Branch: dev Date: Tue, 7 Jul 2020 14:05:13 +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: 860278bf-17d5-40c4-a8d3-f0366640c10d X-Archives-Hash: c7f718a1de8f9be1af0db83c33e31b69 commit: 6d1d74990c9e30b4e25322f5f367b7611c2bc038 Author: Aisha Tammy aisha cc> AuthorDate: Tue Jul 7 14:04:31 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Tue Jul 7 14:04:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d1d7499 net-misc/purritobin: version bump to 0.2.3 Package-Manager: Portage-2.3.103, Repoman-2.3.22 Signed-off-by: Aisha Tammy aisha.cc> net-misc/purritobin/Manifest | 1 + net-misc/purritobin/purritobin-0.2.3.ebuild | 50 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest index bc91a79..c4aa47f 100644 --- a/net-misc/purritobin/Manifest +++ b/net-misc/purritobin/Manifest @@ -1 +1,2 @@ DIST purritobin-0.2.2.tar.gz 11223 BLAKE2B da28aab88578a076f3fb795264d8dc35fb279c9ce6ed170187b9269cd80c135e9f03b06bf5668f55272b6bc479aefedfe389a0b58eb52eac7d6a9c9129f42de4 SHA512 5bf64e62333f72a98c5e00b45885012212df6d88a609c7b71aecccb89b87ea6370567efa7a5b6c9ed0f09fb6b5ba15cb2769f67509fa6ee49a00ce19e5968f18 +DIST purritobin-0.2.3.tar.gz 11243 BLAKE2B 0859500ff4bc818d2beeccd445118e3f5c20e88c486a63bd4ab75ce74f7bcf681f7d56f02cd995285784dc2951d29547f616637c076cb0bdf2fc9eca4f3eecce SHA512 f0642cac76ef4f27658be6b9fb89f4518b4a2edef9ad26d292c05f70f4d2b842cfad0ea26acf569e43e70dfca19d94f11e28ec09b161139ae5bddc63f0ac6af5 diff --git a/net-misc/purritobin/purritobin-0.2.3.ebuild b/net-misc/purritobin/purritobin-0.2.3.ebuild new file mode 100644 index 0000000..301a1af --- /dev/null +++ b/net-misc/purritobin/purritobin-0.2.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="minimalistic commandline pastebin" +HOMEPAGE="https://bsd.ac" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git" + KEYWORDS="" +else + SRC_URI="https://github.com/PurritoBin/PurritoBin/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}/PurritoBin-${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="libuv static-libs" + +RDEPEND="net-libs/usockets[libuv=,static-libs?] + libuv? ( >=dev-libs/libuv-1.35.0[static-libs?] ) +" +DEPEND="${RDEPEND} + www-apps/uwebsockets +" + +src_prepare() { + sed -i -e "s:.ifdef:ifdef:g" \ + -e "s:.else:else:g" \ + -e "s:.endif:endif:g" \ + Makefile + default +} + +src_compile() { + env LDFLAGS="-L/usr/$(get_libdir)" \ + emake $(usex libuv USE_DLIBUV=1 '') \ + $(usex static-libs USE_STATIC=1 '') \ + all +} + +src_install() { + emake prefix="/usr" \ + DESTDIR="${D}" \ + install + einstalldocs +}