public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: www-misc/gitea2rss/
@ 2021-05-17 22:08 Ronny Gutbrod
  0 siblings, 0 replies; 2+ messages in thread
From: Ronny Gutbrod @ 2021-05-17 22:08 UTC (permalink / raw
  To: gentoo-commits

commit:     366bc628682ac4b2c34d3ae43686a0baca5112ca
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Mon May 17 21:54:17 2021 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> 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 <gentoo <AT> 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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>gentoo@tastytea.de</email>
+    <name>Ronny (tastytea) Gutbrod</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://schlomp.space/tastytea/gitea2rss/issues</bugs-to>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: www-misc/gitea2rss/
@ 2023-03-14 12:22 Ronny Gutbrod
  0 siblings, 0 replies; 2+ messages in thread
From: Ronny Gutbrod @ 2023-03-14 12:22 UTC (permalink / raw
  To: gentoo-commits

commit:     9d7115dabe08ccd803f67b7a913e6059dd5a130d
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Tue Mar 14 12:21:40 2023 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Tue Mar 14 12:21:57 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d7115da

www-misc/gitea2rss: update Manifest

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 www-misc/gitea2rss/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-misc/gitea2rss/Manifest b/www-misc/gitea2rss/Manifest
index f924f06f9..87796b827 100644
--- a/www-misc/gitea2rss/Manifest
+++ b/www-misc/gitea2rss/Manifest
@@ -1 +1 @@
-DIST gitea2rss-0.7.0.tar.gz 25135 BLAKE2B f39e59aaa1381155ba1ec9c7bf831120a3c1504458515854d66e38cdc5d76bd436aeb055c85136c7010b22a65e87482d604f3542a6cf9f00cf9b6a906afa8cfc SHA512 1041897d3e1cbe60f75330403abf27b990923f2f47ea5c9d513dcf50a4e92a457ab2989067e4d29b8bbe16b4be39fdb74e87b337f49825607831c5e4090a0a80
+DIST gitea2rss-0.7.0.tar.gz 25234 BLAKE2B 74a0e97c9bca2f3a1d49f02cbacaa52fd8a5d9bac2d6d8242d70c8fc3c3c86b98783695122adf5190231aaad422f87b49664ece85c6313c7a2b2211b38e36d38 SHA512 94a55a676bfe441d6f5aac2137b34e571a7394324a9adc5f3438fa30ff4a1fa7070a46c6506f9c69f172c52b315fba2a54c64deee0ffcdf92d4a99dd3f5de7af


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-14 12:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-14 12:22 [gentoo-commits] repo/proj/guru:dev commit in: www-misc/gitea2rss/ Ronny Gutbrod
  -- strict thread matches above, loose matches on Subject: below --
2021-05-17 22:08 Ronny Gutbrod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox