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 83566138359 for ; Mon, 6 Jul 2020 17:51:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C30F9E0936; Mon, 6 Jul 2020 17:51:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 9EF63E0936 for ; Mon, 6 Jul 2020 17:51:20 +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 78F3434EF60 for ; Mon, 6 Jul 2020 17:51:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F3752D0 for ; Mon, 6 Jul 2020 17:51:14 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1594033483.6b9be781833a643046161e9aefde63e703ede5e0.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-misc/castor/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-misc/castor/Manifest net-misc/castor/castor-0.8.16.ebuild X-VCS-Directories: net-misc/castor/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 6b9be781833a643046161e9aefde63e703ede5e0 X-VCS-Branch: master Date: Mon, 6 Jul 2020 17:51:14 +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: 1180d8b0-abab-482f-98ae-8846a51309cc X-Archives-Hash: 1e952122ee9166bdf910aa9ba2112a36 commit: 6b9be781833a643046161e9aefde63e703ede5e0 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Mon Jul 6 11:04:43 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Jul 6 11:04:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b9be781 net-misc/castor: Version bump 0.8.16. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> net-misc/castor/Manifest | 1 + net-misc/castor/castor-0.8.16.ebuild | 148 +++++++++++++++++++++++++++++++++++ 2 files changed, 149 insertions(+) diff --git a/net-misc/castor/Manifest b/net-misc/castor/Manifest index 9de3dbe..5d22f3f 100644 --- a/net-misc/castor/Manifest +++ b/net-misc/castor/Manifest @@ -13,6 +13,7 @@ DIST cairo-rs-0.8.1.crate 46018 BLAKE2B f3879b08d404495a401df205a4e51c67caa36722 DIST cairo-sys-rs-0.9.2.crate 11650 BLAKE2B ac664b7976de57907ae543c1afc2fd8fe166b2a147e1be31d6f60aec0b08949bb53b9f59c16e02f33a299a225f8e8202c5d7ad744c6aa8c5f03ec421a773ff33 SHA512 cab877b76951212710c7e668093fda218ac9c7e1e26fcffc448d759a3f968a7faeeea347025189a1aee7579b15916c141d0d727f986bb7061183a695b52bf39b DIST castor-0.8.14.tar.gz 92134 BLAKE2B 616e0e50fae5258352093cc01bdd0e24d25cc0d31849890b8926df111c4d64f339986946c9bb00689b8425b6a8e471136c0525085e4fb1ad3d8551364ca6e1e4 SHA512 bb3e8d4fb62c9d15a56919cfcffb1dc27657d15e813f360544b8418f7e237b6dd82f591892146c806ce600cfc64dfc1f3a593944b2dbf40af3bc8e63eecb8db7 DIST castor-0.8.15.tar.gz 91971 BLAKE2B c66c5cb3a3453ea669b78a74d99c7310a3f7de4ba3493d9d1eef1c98f9139d36beff715ad3fdedd2bfc4cba692e6adf982a5ecf6290c489040c32d536d06d1cf SHA512 4534f263992c1c000719e44ab6172eba0e6333bcb955b7073b98f8b32a0a1a283648fe14bb498a2afecead23a01808ca5abdacf4ee3707e21bfb0fbb03c70165 +DIST castor-0.8.16.tar.gz 92128 BLAKE2B 6307ae98a23413fe758e0c9d25c8aa7ebbd2830b0e33f795c599b332ec35af293c994036d9b55c7ac4062101a6ecca5a967bf96942a0d604214cd11462f20bd2 SHA512 a26c56fc6258f67d7f97cb0b2ec264ebede7a20b0ac167e0aaee35cc02d7326da84febf881d3473a93cd441a372d9466d5bf816fd662fe0ad09f008c566a8c2a DIST cc-1.0.54.crate 51972 BLAKE2B f3760987ea93e71254939a42bc795cfd68b994494c2d5820fbd6bda29e31b3a28d55ed9aaddb35f720b26b1bfc01f3369af81990b68da06a7c46c17eb014636c SHA512 4562c89b52786cd16a66c1970a4005485299ff0c21c61fd22a08fada933e5ecf3fcc1686f6e4f5a8ec4827ac00ed24c1c4ab4931ec5e9a12d2e5c283f6096b77 DIST cc-1.0.55.crate 52090 BLAKE2B 1ace1ad556b030d3d81dd9af06767acf6e31d00f3eabf5d72a41a537e4e984defdac4ab0d802cbf83dee3f726a9aefd9c87ed702fec08a0cc9ed1e1410544b40 SHA512 a20aa18cfba9ee0d9fa0bbf3117be6d37c4420ef45e1b01f5505b138ffb2b2052c9464f964c5c2881f93fd4c903cb3b78b4c15ed14ea27585351313f189d1725 DIST cfg-if-0.1.10.crate 7933 BLAKE2B 063a96ed176f34f788666b40adc483d147fc011dee941ab60569ddd0e57502b5dd06ed71090f4e14ce005d06e240500a286f74652615e9d068fba649610d8cf8 SHA512 9d22616bfb4a75770a828a0a3cddac6787297a5fdc53eb17e25811cc94de717f2de8bd66d53c5d65ba1c83d8892aefee5ae758cf56a1ef0a0c3120f70b244339 diff --git a/net-misc/castor/castor-0.8.16.ebuild b/net-misc/castor/castor-0.8.16.ebuild new file mode 100644 index 0000000..49466f3 --- /dev/null +++ b/net-misc/castor/castor-0.8.16.ebuild @@ -0,0 +1,148 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# NOTE: Generate new list with `cargo-ebuild ebuild` on every bump. +CRATES=" + aho-corasick-0.7.13 + ansi-parser-0.6.5 + arrayref-0.3.6 + arrayvec-0.5.1 + atk-0.8.0 + atk-sys-0.9.1 + autocfg-1.0.0 + base64-0.11.0 + bitflags-1.2.1 + blake2b_simd-0.5.10 + cairo-rs-0.8.1 + cairo-sys-rs-0.9.2 + cc-1.0.55 + cfg-if-0.1.10 + constant_time_eq-0.1.5 + core-foundation-0.7.0 + core-foundation-sys-0.7.0 + crossbeam-utils-0.7.2 + dirs-2.0.2 + dirs-sys-0.3.5 + foreign-types-0.3.2 + foreign-types-shared-0.1.1 + futures-channel-0.3.5 + futures-core-0.3.5 + futures-executor-0.3.5 + futures-io-0.3.5 + futures-macro-0.3.5 + futures-task-0.3.5 + futures-util-0.3.5 + gdk-0.12.1 + gdk-pixbuf-0.8.0 + gdk-pixbuf-sys-0.9.1 + gdk-sys-0.9.1 + getrandom-0.1.14 + gio-0.8.1 + gio-sys-0.9.1 + glib-0.9.3 + glib-sys-0.9.1 + gobject-sys-0.9.1 + gtk-0.8.1 + gtk-sys-0.9.2 + idna-0.2.0 + lazy_static-1.4.0 + libc-0.2.71 + linkify-0.4.0 + log-0.4.8 + matches-0.1.8 + memchr-2.3.3 + native-tls-0.2.4 + nom-4.2.3 + once_cell-1.4.0 + open-1.4.0 + openssl-0.10.30 + openssl-probe-0.1.2 + openssl-sys-0.9.58 + pango-0.8.0 + pango-sys-0.9.1 + percent-encoding-2.1.0 + pin-project-0.4.22 + pin-project-internal-0.4.22 + pin-utils-0.1.0 + pkg-config-0.3.17 + ppv-lite86-0.2.8 + proc-macro-hack-0.5.16 + proc-macro-nested-0.1.6 + proc-macro2-1.0.18 + quote-1.0.7 + rand-0.7.3 + rand_chacha-0.2.2 + rand_core-0.5.1 + rand_hc-0.2.0 + redox_syscall-0.1.56 + redox_users-0.3.4 + regex-1.3.9 + regex-syntax-0.6.18 + remove_dir_all-0.5.3 + rust-argon2-0.7.0 + schannel-0.1.19 + security-framework-0.4.4 + security-framework-sys-0.4.3 + serde-1.0.114 + serde_derive-1.0.114 + slab-0.4.2 + syn-1.0.33 + tempfile-3.1.0 + textwrap-0.11.0 + thread_local-1.0.1 + tinyvec-0.3.3 + toml-0.5.6 + unicode-bidi-0.3.4 + unicode-normalization-0.1.13 + unicode-width-0.1.7 + unicode-xid-0.2.1 + url-2.1.1 + vcpkg-0.2.10 + version_check-0.1.5 + wasi-0.9.0+wasi-snapshot-preview1 + winapi-0.3.9 + winapi-i686-pc-windows-gnu-0.4.0 + winapi-x86_64-pc-windows-gnu-0.4.0 +" + +inherit cargo desktop xdg + +DESCRIPTION="A graphical browser for plain-text protocols" +HOMEPAGE="https://git.sr.ht/~julienxx/castor" +SRC_URI=" + https://git.sr.ht/~julienxx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES}) +" + +# NOTE: Update after every dependency change (cargo-license helps). +LICENSE="Apache-2.0 BSD-2 CC0-1.0 MIT MPL-2.0 ZLIB" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/openssl + x11-libs/gtk+:3 +" +DEPEND="${RDEPEND}" + +src_test() { + # FIXME: test absolute_url::test_make_absolute_just_path fails without this, + # but I couldn't reproduce it. + RUST_BACKTRACE=1 cargo_src_test +} + +src_install() { + cargo_src_install + + einstalldocs + newdoc data/castor_settings.toml.example settings.toml.example + + doicon data/org.typed-hole.castor.svg + for icon in data/org.typed-hole.castor-*.png; do + local size=$(grep -Eo '[0-9]{2,3}' <<<${icon}) + newicon --size ${size} ${icon} $(basename ${icon/-${size}/}) + done + domenu data/Castor.desktop +}