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 685AE1382C5 for ; Mon, 17 May 2021 22:08:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2066E01E4; Mon, 17 May 2021 22:08:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 8024CE01E4 for ; Mon, 17 May 2021 22:08:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 EE70C340DC0 for ; Mon, 17 May 2021 22:08:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C970632 for ; Mon, 17 May 2021 22:08:44 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1621289260.366bc628682ac4b2c34d3ae43686a0baca5112ca.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-misc/gitea2rss/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-misc/gitea2rss/Manifest www-misc/gitea2rss/gitea2rss-0.7.0.ebuild www-misc/gitea2rss/metadata.xml X-VCS-Directories: www-misc/gitea2rss/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 366bc628682ac4b2c34d3ae43686a0baca5112ca X-VCS-Branch: dev Date: Mon, 17 May 2021 22:08:44 +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: 68ecd20e-10d7-4bcc-a375-083d61140f26 X-Archives-Hash: a833efa938a40ad2f738f38186e6681b commit: 366bc628682ac4b2c34d3ae43686a0baca5112ca Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Mon May 17 21:54:17 2021 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Mon May 17 22:07:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=366bc628 www-misc/gitea2rss: New package. Generates RSS feeds from Gitea releases, tags and commits. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> www-misc/gitea2rss/Manifest | 1 + www-misc/gitea2rss/gitea2rss-0.7.0.ebuild | 59 +++++++++++++++++++++++++++++++ www-misc/gitea2rss/metadata.xml | 11 ++++++ 3 files changed, 71 insertions(+) diff --git a/www-misc/gitea2rss/Manifest b/www-misc/gitea2rss/Manifest new file mode 100644 index 000000000..f924f06f9 --- /dev/null +++ b/www-misc/gitea2rss/Manifest @@ -0,0 +1 @@ +DIST gitea2rss-0.7.0.tar.gz 25135 BLAKE2B f39e59aaa1381155ba1ec9c7bf831120a3c1504458515854d66e38cdc5d76bd436aeb055c85136c7010b22a65e87482d604f3542a6cf9f00cf9b6a906afa8cfc SHA512 1041897d3e1cbe60f75330403abf27b990923f2f47ea5c9d513dcf50a4e92a457ab2989067e4d29b8bbe16b4be39fdb74e87b337f49825607831c5e4090a0a80 diff --git a/www-misc/gitea2rss/gitea2rss-0.7.0.ebuild b/www-misc/gitea2rss/gitea2rss-0.7.0.ebuild new file mode 100644 index 000000000..a50a8f05d --- /dev/null +++ b/www-misc/gitea2rss/gitea2rss-0.7.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +if [[ "${PV}" == "9999" ]]; then + inherit git-r3 +fi + +DESCRIPTION="Generates RSS feeds from Gitea releases, tags and commits" +HOMEPAGE="https://schlomp.space/tastytea/gitea2rss" +if [[ "${PV}" == "9999" ]]; then + EGIT_REPO_URI="https://schlomp.space/tastytea/gitea2rss.git" +else + SRC_URI="https://schlomp.space/tastytea/gitea2rss/archive/${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}" +fi + +LICENSE="GPL-3" +SLOT="0" +if [[ "${PV}" != "9999" ]]; then + KEYWORDS="~amd64 ~arm ~x86" +fi +IUSE="test" + +RDEPEND=" + net-misc/curl[ssl] + dev-libs/jsoncpp +" +DEPEND=" + ${RDEPEND} + test? ( dev-cpp/catch ) +" +BDEPEND=" + virtual/pkgconfig + app-text/asciidoc +" + +RESTRICT="!test? ( test )" + +DOCS=("README.adoc" "doc/nginx-example.conf") + +src_configure() { + local mycmakeargs=( + -DWITH_TESTS="$(usex test)" + ) + if use test; then + # Don't run tests that need a network connection. + mycmakeargs+=(-DEXTRA_TEST_ARGS="~[http]") + fi + + cmake_src_configure +} + +src_test() { + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test +} diff --git a/www-misc/gitea2rss/metadata.xml b/www-misc/gitea2rss/metadata.xml new file mode 100644 index 000000000..3b365639d --- /dev/null +++ b/www-misc/gitea2rss/metadata.xml @@ -0,0 +1,11 @@ + + + + + gentoo@tastytea.de + Ronny (tastytea) Gutbrod + + + https://schlomp.space/tastytea/gitea2rss/issues + +