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 42594158021 for ; Sat, 5 Nov 2022 17:08:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3ACFE076B; Sat, 5 Nov 2022 17:08:18 +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 8D2C0E076B for ; Sat, 5 Nov 2022 17:08:18 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C6ADB340AB6 for ; Sat, 5 Nov 2022 17:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4109162F for ; Sat, 5 Nov 2022 17:08:16 +0000 (UTC) From: "Patrick Taylor" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Taylor" Message-ID: <1667663588.e874bf810b294fe37936329e7610d0db8c84f55c.patrick.joseph.taylor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-shells/pokemon-colorscripts/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-shells/pokemon-colorscripts/metadata.xml app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild X-VCS-Directories: app-shells/pokemon-colorscripts/ X-VCS-Committer: patrick.joseph.taylor X-VCS-Committer-Name: Patrick Taylor X-VCS-Revision: e874bf810b294fe37936329e7610d0db8c84f55c X-VCS-Branch: dev Date: Sat, 5 Nov 2022 17:08:16 +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: 8d4c69f6-5815-4f4b-830e-12e254e7283a X-Archives-Hash: c071fb4259a5205434bc750956530137 commit: e874bf810b294fe37936329e7610d0db8c84f55c Author: Patrick J Taylor gmail com> AuthorDate: Sat Nov 5 15:52:41 2022 +0000 Commit: Patrick Taylor gmail com> CommitDate: Sat Nov 5 15:53:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e874bf81 app-shells/pokemon-colorscripts: new package, add 9999 Signed-off-by: Patrick J Taylor gmail.com> app-shells/pokemon-colorscripts/metadata.xml | 8 +++++ .../pokemon-colorscripts-9999.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-shells/pokemon-colorscripts/metadata.xml b/app-shells/pokemon-colorscripts/metadata.xml new file mode 100644 index 000000000..50dcf2837 --- /dev/null +++ b/app-shells/pokemon-colorscripts/metadata.xml @@ -0,0 +1,8 @@ + + + + + patrick.joseph.taylor@gmail.com + Patrick J Taylor + + diff --git a/app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild b/app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild new file mode 100644 index 000000000..7fd4da23d --- /dev/null +++ b/app-shells/pokemon-colorscripts/pokemon-colorscripts-9999.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=(python3_{8,9,10}) + +inherit git-r3 python-single-r1 + +DESCRIPTION="Pokemon unicode sprites for your terminal!" + +HOMEPAGE="https://gitlab.com/phoneybadger/pokemon-colorscripts" + +EGIT_REPO_URI="https://gitlab.com/phoneybadger/pokemon-colorscripts.git" + +LICENSE="MIT" + +SLOT="0" + +KEYWORDS="~amd64" + +RDEPEND=">=dev-lang/python-3.10.8_p1" + +src_prepare() { + default + sed -i \ + 's#PROGRAM_DIR = os.path.dirname(PROGRAM)#PROGRAM_DIR = "/opt/pokemon-colorscripts/"#g' \ + pokemon-colorscripts.py || die "sed failed." +} + +src_install() { + insinto /opt/pokemon-colorscripts + doins -r "${S}/colorscripts" + doins "${S}/pokemon.json" + + python_scriptinto /opt/pokemon-colorscripts + python_doscript "${S}/pokemon-colorscripts.py" + + dosym -r /opt/pokemon-colorscripts/pokemon-colorscripts.py /usr/bin/pokemon-colorscripts +}