aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/fedora-pagure.eclass')
-rw-r--r--eclass/fedora-pagure.eclass14
1 files changed, 14 insertions, 0 deletions
diff --git a/eclass/fedora-pagure.eclass b/eclass/fedora-pagure.eclass
new file mode 100644
index 0000000..02369b6
--- /dev/null
+++ b/eclass/fedora-pagure.eclass
@@ -0,0 +1,14 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+#
+# Original Author: pavlix
+# Purpose: Fetch projects from Fedora Pagure.
+#
+
+inherit git-r3
+
+PAGURE_PROJECT="${PN}"
+EGIT_REPO_URI="${EGIT_REPO_URI:-"https://pagure.io/${PAGURE_PROJECT}.git"}"
+HOMEPAGE="https://pagure.io/${PAGURE_PROJECT}/"