aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuel Bernardo <samuelbernardo.mail@gmail.com>2019-01-28 12:33:11 +0000
committerSamuel Bernardo <samuelbernardo.mail@gmail.com>2019-01-28 12:33:11 +0000
commitafb3cf5ada3ae69d6de51aa3abaef9cb4b967ab3 (patch)
tree83a1fb86869bda465ce8367b0adee812de3f211c /eclass
parentupdate eclipse and apachedirectorystudio (diff)
downloadssnb-afb3cf5ada3ae69d6de51aa3abaef9cb4b967ab3.tar.gz
ssnb-afb3cf5ada3ae69d6de51aa3abaef9cb4b967ab3.tar.bz2
ssnb-afb3cf5ada3ae69d6de51aa3abaef9cb4b967ab3.zip
update rpm tools
Signed-off-by: Samuel Bernardo <samuelbernardo.mail@gmail.com>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/centos-git.eclass19
-rw-r--r--eclass/fedora-fedorahosted.eclass17
-rw-r--r--eclass/fedora-github.eclass20
-rw-r--r--eclass/fedora-pagure-r2.eclass19
-rw-r--r--eclass/fedora-pagure.eclass14
5 files changed, 89 insertions, 0 deletions
diff --git a/eclass/centos-git.eclass b/eclass/centos-git.eclass
new file mode 100644
index 0000000..e273cc3
--- /dev/null
+++ b/eclass/centos-git.eclass
@@ -0,0 +1,19 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.47 2014/07/28 14:13:50 mgorny Exp $
+
+# @ECLASS: centos.eclass
+# @MAINTAINER:
+# Pavel šimerda <pavlix@pavlix.net>
+# @BLURB: Eclass for fetching and unpacking github repositories.
+# @DESCRIPTION:
+# An extension of the git-r3 eclass that makes it easier to fetch
+# sources from github.
+
+inherit git-r3
+
+CENTOS_PROJECT="${CENTOS_PROJECT:-"${PN}"}"
+CENTOS_URI="https://git.centos.org/summary/${CENTOS_PROJECT}"
+
+EGIT_REPO_URI="https://git.centos.org/git/${CENTOS_PROJECT}.git"
+HOMEPAGE="${CENTOS_URI}"
diff --git a/eclass/fedora-fedorahosted.eclass b/eclass/fedora-fedorahosted.eclass
new file mode 100644
index 0000000..b988565
--- /dev/null
+++ b/eclass/fedora-fedorahosted.eclass
@@ -0,0 +1,17 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.47 2014/07/28 14:13:50 mgorny Exp $
+
+# @ECLASS: ixit-fedorahosted.eclass
+# @MAINTAINER:
+# Pavel šimerda <pavlix@pavlix.net>
+# @BLURB: Eclass for fetching and unpacking fedorahosted repositories.
+# @DESCRIPTION:
+# A standalone eclass to be used with git-r3 or other VCS eclasses to work with fedorahosted
+# repositories.
+
+FEDORAHOSTED_PROJECT="${PN}"
+HOMEPAGE="https://fedorahosted.org/${FEDORAHOSTED_PROJECT}"
+EGIT_REPO_URI="https://git.fedorahosted.org/git/${PN}"
+EBZR_REPO_URI="bzr://bzr.fedorahosted.org/bzr/${PN}/devel"
+[ ${PV} = 9999 ] || SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.bz2"
diff --git a/eclass/fedora-github.eclass b/eclass/fedora-github.eclass
new file mode 100644
index 0000000..30f8ec6
--- /dev/null
+++ b/eclass/fedora-github.eclass
@@ -0,0 +1,20 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-r3.eclass,v 1.47 2014/07/28 14:13:50 mgorny Exp $
+
+# @ECLASS: fedora-github.eclass
+# @MAINTAINER:
+# Pavel šimerda <pavlix@pavlix.net>
+# @BLURB: Eclass for fetching and unpacking github repositories.
+# @DESCRIPTION:
+# An extension of the git-r3 eclass that makes it easier to fetch
+# sources from github.
+
+inherit git-r3
+
+GITHUB_PROJECT="${GITHUB_PROJECT:-"${PN}"}"
+GITHUB_USER="${GITHUB_USER:-"${GITHUB_PROJECT}"}"
+GITHUB_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}"
+
+EGIT_REPO_URI="${EGIT_REPO_URI:-"${GITHUB_URI}.git"}"
+HOMEPAGE="${GITHUB_URI}"
diff --git a/eclass/fedora-pagure-r2.eclass b/eclass/fedora-pagure-r2.eclass
new file mode 100644
index 0000000..0da562c
--- /dev/null
+++ b/eclass/fedora-pagure-r2.eclass
@@ -0,0 +1,19 @@
+# Copyright 1999-2019 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: fedora-pagure-r2.eclass
+# @MAINTAINER:
+# Samuel Bernardo <samuelbernardo.mail@gmail.com>
+# @BLURB: Eclass for fetching and unpacking pagure repositories.
+# @DESCRIPTION:
+# An extension of the git-r3 eclass that makes it easier to fetch
+# sources from pagure.
+
+inherit git-r3
+
+PAGURE_PROJECT="${PAGURE_PROJECT:-"${PN}"}"
+PAGURE_USER="${PAGURE_USER:-"${PAGURE_PROJECT}"}"
+PAGURE_URI="https://pagure.io/${PAGURE_USER}/${PAGURE_PROJECT}"
+
+EGIT_REPO_URI="${EGIT_REPO_URI:-"${PAGURE_URI}.git"}"
+HOMEPAGE="${PAGURE_URI}"
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}/"